要使用osa smbridge 管理实用程序启用并配置服务器的sol,您必须更新及配置bios代码;更新及配置bmc控制器firmware;更新及配置以太网控制器firmware;以及启用操作系统的sol连接。
bios 更新和配置
要更新和配置bios 代码来启用sol,请完成以下步骤:
1. 更新bios代码:
1)从http://www.ibm.com/support/cn/ 下载bios代码的最新版本。
2)按照所下载的更新文件随附的说明更新bios代码。
2. 更新bmc firmware:
1)从http://www.ibm.com/support/cn/ 下载bmc firmware的最新版本。
2)按照所下载的更新文件随附的说明更新bmc firmware。
3. 配置bios设置:
1)重新启动服务器,当提示启动configuration/setup utility 程序时按f1键。
2)选择devices and i/o ports;然后确保按如下所示设置值:
① serial port a:
② serial port b:auto-configure
3)选择remote console redirection ;然后确保按如下所示设置值:
① remote console com port:com 2
② remote console baud rate:19200 or higher
③ remote console connection type:vt100
④ remote console connect:direct
⑤ remote console flow control:hardware
⑥ remote console active after boot:enabled
4)按esc键两次退出configuration/setup utility程序的remote console redirection 和devices and i/o ports部分。
5)选择advanced setup;然后选择baseboard management controller(bmc)settings。
6)将bmc serial port access mode 设置为dedicated。
7)按esc 键两次退出configuration/setup utility 程序的baseboard management controller (bmc) settings 和advanced setup 部分。
8)选择save settings;然后按enter键。
9)按enter键确认。
10)选择exit setup;然后按enter键。
11)确保选中yes, exit the setup utility;然后按enter键。
linux 配置
为了在服务器上进行sol 操作,必须将linux 操作系统配置为显示linux 初始化(引导)过程。这使用户能够通过sol 会话登录到linux 控制台,并使linux 输出到串行控制台。有关信息和说明,请参阅特定linux 操作系统类型的文档。
使用以下某种过程启用linux 操作系统的sol 会话。必须以root 用户身份登录来执行这些过程。
red hat enterprise linux es 2.1 配置:
本过程基于red hat enterprise linux es 2.1 的缺省安装。对于其他版本的red hat linux,文件名、结构和命令可能有所不同。
使用red hat enterprise linux es 2.1 操作系统时,要为sol 操作配置一般linux 参数,请完成以下步骤。
硬件流量控制可在通过串行连接的通信过程中防止字符丢失。使用linux 操作系统时,您必须启用该功能。
1. 将下行添加到/etc/inittab 文件# run gettys in standard runlevels 段的结尾处。
这将启用硬件流量控制,并使用户能够通过sol 控制台登录。
7:2345:respawn:/sbin/agetty -h ttys0 19200 vt102
2. 在/etc/securetty 文件的底部添加下行,使用户能够通过sol 控制台以root 用户身份登录:
ttys0
lilo 配置: 如果使用lilo,请完成以下步骤:
1. 请完成以下步骤以修改/etc/lilo.conf 文件:
1) 将以下文本添加到第一个default=linux 行的结尾-monitor
2)注释掉map=/boot/map 行,方法是在行首添加一个#。
3)注释掉message=/boot/message 行,方法是在行首添加一个#。
4)在第一个image= 行之前添加下行:
# this will allow you to only monitor the os boot via sol
5)将以下文本添加到第一个default=linux 行的结尾:-monitor
6)将下行添加到第一个image= 段。这将启用sol。
append="console=ttys0,19200n8 console=tty1"
7)在两个image= 段之间添加以下几行:
# this will allow you to interact with the os boot via sol
image=/boot/vmlinuz-2.4.9-e.12smp
label=linux-interact
initrd=/boot/initrd-2.4.9-e.12smp.img
read-only
root=/dev/hda6
append="console=tty1 console=ttys0,19200n8"
以下示例显示了/etc/lilo.conf 文件的初始内容和修改后该文件的内容。

2. 运行lilo命令存储和激活lilo配置。
当linux操作系统启动时,将显示lilo boot: 提示而不是图形用户界面。出现该提示时,按tab键以便安装列出的所有引导选项。要以交互方式装入操作系统,输入linux-interact然后按enter键。
grub配置: 如果您使用grub,请完成以下步骤以修改/boot/grub/grub.conf文件:
1. 注释掉splashimage= 行,方法是在行首添加一个#。
2. 在第一个title=行之前添加下行:# this will allow you to only monitor the os boot via sol
3. 将以下文本添加到第一个title= 行:sol monitor
4. 将以下文本添加到第一个title= 段的kernel/ 行:console=ttys0,19200 console=tty1
5. 在两个title= 段之间添加以下五行:
# this will allow you to interact with the os boot via sol
title red hat linux (2.4.9-e.12smp) sol interactive
root (hd0,0)
kernel /vmlinuz-2.4.9-e.12smp ro root=/dev/hda6 console=tty1
console=ttys0,19200
initrd /initrd-2.4.9-e.12smp.img
以kernel /vmlinuz 开头的条目显示在console=tty1 后,并带有换行符。在您的文件中,整个条目必须都在一行中。
以下示例显示了/boot/grub/grub.conf 文件的初始内容和修改后该文件的内容。

完成这些步骤后,必须重新启动linux操作系统以使更改生效并启用sol。
suse sles 8.0配置:
本过程基于suse linux enterprise server (sles) 8.0的缺省安装。对于其他版本的suse linux,文件名、结构和命令可能有所不同。
使用sles 8.0操作系统时,要为sol操作配置一般linux参数,请完成以下步骤。
硬件流量控制可在通过串行连接的通信过程中防止字符丢失。使用linux 操作系统时,您必须启用该功能。
1. 将下行添加到/etc/inittab文件# getty-programs for the normal runlevels 段的结尾处。这将启用硬件流量控制,并使用户能够通过sol 控制台登录。
7:2345:respawn:/sbin/agetty -h ttys0 19200 vt102
2. 在/etc/securetty文件底部的tty6 行后面添加下行,使用户能够通过sol控制台以root用户身份登录:
ttys0
3. 完成以下步骤以修改/boot/grub/menu.lst文件:
1)注释掉gfxmenu行,方法是在单词gfxmenu前添加#。
2)在第一个title 行之前添加下行:
this will allow you to only monitor the os boot via sol
3)将以下文本添加到第一个title行:
sol monitor
4)将以下文本添加到第一个title 段的kernel行:
console=ttys0,19200 console=tty1
5)在头两个title 段之间添加以下四行:
# this will allow you to interact with the os boot via sol
title linux sol interactive
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 acpi=oldboot vga=791
console=tty1 console=ttys0,19200
initrd (hd0,1)/boot/initrd
以下示例显示了/boot/grub/menu.lst 文件的初始内容和修改后该文件的内容。

完成这些步骤后,必须重新启动linux 操作系统以使更改生效并启用sol。
microsoft windows 2003 standard edition 配置
本过程基于microsoft windows 2003 操作系统的缺省安装。
要为sol操作配置windows 2003操作系统,请完成以下步骤。必须以具有管理员访问权的用户身份登录来执行本过程。
1. 请完成以下步骤以确定要修改的引导条目标识:
1)在windows命令提示符下输入bootcfg;然后按enter键显示服务器的当前引导选项。
2)在boot entries段中,找到该段的具有os友好名称windows server 2003,standard的引导条目标识。记下引导条目标识以便在下一步中使用。
standard的引导条目标识。记下引导条目标识以便在下一步中使用。
2. 要启用microsoft windows emergency management system(ems),请在windows命令提示符下输入:
bootcfg /ems on /port com1 /baud 19200 /id boot_id
其中boot_id是来自步骤1b的引导条目标识;然后按enter键。
3. 请完成以下步骤以验证ems 控制台是否已重定向到com2串口:
1)在windows 命令提示符下输入bootcfg;然后按enter 键显示服务器的当前引导选项。
2)验证对bootcfg 设置的以下更改:
① 在boot loader settings部分,确保redirect 设置为com2,且redirectbaudrate 设置为19200。
② 在boot entries 段中,确保/redirect 已添加到os load options: 行的结尾。
以下示例显示初始的bootcfg 程序输出以及修改后的输出。

完成该过程后,必须重新启动windows 2003 操作系统以使更改生效并启用sol。