Users Guide
[Data]
EMSPort
EMSBaudrate
其中:
EMSPort = 用于串行通信的端口。 例如,COM1 或 COM2。
EMSBaudrate = 为通信配置波特率。 所支持 Dell™PowerEdge™系统的最小支持波特率为 19200。
使用 SOL 代理进行串行控制台重定向
在引导期间配置 Linux 进行串行重定向
“SysRq key”是允许将基本命令直接传递给内核进行调试的键序列。 在有些情况下,还可以用来重新引导远程管理系统。 串行控制台使用 RS-232 中断函数,比如 SysRq 键。 “中
断”是在串行线上不进行传输的一段时间。 要在运行 Linux 的系统中配置 “Sysrq”键,应遵守以下指令:
如下编辑文件 /etc/grub.conf。 请参阅后面的示例文件,其中显示了本步骤中所述的更改。
1. 将以下两行新内容添加到文件的
常规设置
部分:
serial --unit=0 --speed=19200
terminal --timeout=10 serial
2. 将两个选项附加到内核行:
kernel ............. console=ttyS0,19200
3. 如果 /etc/grub.conf 包含 splashimage 指令,必须将其注释掉。
这个使用波特率 19200 的示例文件是一个例子。以下是 BMC 串行通信和 SOL 允许的最大波特率:
l 对于 PowerEdge 1425SC 和 其他 PowerEdge x8xx 系统为 19200。
l 对于不带 Dell Remote Access Controller (DRAC 5) 的 PowerEdge x9xx 系统为 57600。
l 对于带 DRAC 5 的 PowerEdge x9xx 系统为 115200。
表 D-1. 示例文件:/etc/grub.con
有关编辑 grub.conf 的其它信息:
1. 可能需要禁用 GRUB 的图形界面并转而使用基于文本的界面;否则,GRUB 屏幕将不会在 BMU 控制台重定向中显示。 要做到这一点,注释掉以 splashimage 开头的行。
注:以下指令特定于 Linux GRand Unified Bootloader (GRUB)。 使用其他启动装载程序时,也有必要进行类似更改。
注:在配置客户端 VT100 仿真窗口时,必须将显示重定向控制台的窗口或应用程序设置为 25 行 x 80 列以确保正确的文本显示;否则,有些文本屏幕会显示混乱。
#grub.confgeneratedbyanaconda
#
Note that you do not have to rerun grub after making changes to this file
#NOTICE:Youdonothavea/bootpartition.Thismeansthat
#allkernelandinitrdpathsarerelativeto/,e.g.
#root(hd0,0)
#kernel/boot/vmlinuz-version ro root=/dev/sdal
#initrd/boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
#splashimage=(hd0,2)/grub/splash.xpm.gz
serial --unit=0 --speed=19200
terminal --timeout=10 serial
title Red Hat Linux Advanced Server (2.4.9-e.3smp)
root(hd0,0)
kernel/boot/vmlinuz-2.4.9-e.3smp ro root=/dev/sda1 hda=ide-scsi console=tty0 console=ttyS0,19200
initrd/boot/initrd-2.4.9-e.3smp.img
title Red Hat Linux Advanced Server-up (2.4.9-e.3
root(hd0,00)
kernel/boot/vmlinuz-2.4.9-e.3 ro root=/dev/sda1 s
initrd/boot/initrd-2.4.9-e.3.im