要通过使用osa smbridge管理实用程序启用和配置用于sol的服务器,您必须更新和配置bios代码;更新和配置基板管理控制器(bmc)firmware;更新和配置以太网控制器firmware;以及启用用于sol 连接的操作系统。
bios 更新和配置
请完成以下步骤以更新和配置bios 代码来启用sol:
1. 更新bios代码:
a. 从http://www.ibm.com/support/cn/ 下载最新版本的bios代码。
b. 按照您下载的更新文件随附的说明更新bios 代码。
2. 更新bmc firmware:
a. 从http://www.ibm.com/support/cn/ 下载最新版本的bmc firmware。
b. 按照下载的更新文件随附的说明更新bmc firmware。
3. 配置bios设置:
a. 当提示启动configuration/setup utility 程序时,重新启动服务器并按f1键。
b. 选择devices and i/o ports;然后确保值设置如下:
1) serial port a:auto-configure
2)serial port b:auto-configure
3)选择remote console redirection;然后确保值设置如下:
a. 当提示启动configuration/setup utility 程序时,重新启动服务器并按f1键。
b. 选择devices and i/o ports;然后确保值设置如下:
1) serial port a:auto-configure
2) serial port b:auto-configure
c. 选择remote console redirection;然后确保值设置如下:
1) remote console com port:com 2
2) remote console baud rate: 19200 or higher
3) remote console connection type: vt100
4) remote console connect: direct
5) remote console flow control:hardware
6) remote console active after boot:enabled
d. 按esc两次以退出configuration/setup utility 程序的remote console redirection 和devices and i/o ports部分。
e. 选择advanced setup;然后选择baseboard management controller (bmc)settings。
f. 将bmc serial port access mode 设置为dedicated。
g. 请按esc键两次,退出configuration/setup utility 程序的baseboard management controller (bmc) settings 和advanced setup部分。
h. 选择save settings;然后按enter键。
i. 按enter 键以确认。
j. 选择exit setup,然后按enter 键。
k. 确保选择了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 文件的末尾,使用户能以root 用户身份通过sol 控制台进行登录:
ttys0
lilo 配置: 如果您使用lilo,请完成以下步骤:
1. 请完成以下步骤以修改/etc/lilo.conf 文件:
a. 将以下文本添加到首个default=linux 行的末尾:-monitor
b. 通过在该行行首添加# 将map=/boot/map 行注释掉。
c. 通过在该行行首添加# 将message=/boot/message 行注释掉。
d. 将以下一行内容添加到第一个image= 行之前:
# this will allow you to only monitor the os boot via sol
e. 将以下文本添加到第一个label=linux 行的末尾:-monitor
f. 将以下一行内容添加到第一个image- 部分之前。这将启用sol。
append="console=ttys0,19200n8 console=tty1"
g. 将以下几行内容添加到两个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
以下示例显示了/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 行之后,使用户能以root用户身份通过sol控制台进行登录:
ttys0
3. 完成以下步骤以修改/boot/grub/menu.lst 文件:
a. 通过在单词gfxmenu 之前添加一个# 以注释掉gfxmenu一行。
b. 将以下一行内容添加到第一个title行之前:
# this will allow you to only monitor the os boot via sol
c. 将以下文本追加到第一个title行:
sol monitor
d. 将以下文本追加到第一个title 部分的kernel行:
console=ttys0,19200 console=tty1
e. 将以下四行内容添加到前两个title部分之间:
# this will allow you to interact with the os boot via sol
title linux sol interactive
kernel (hdθ,1)/boot/vmlinuz root=/dev/hda2 acpi=oldboot vga=791
console=tty1 console=ttys0,19200
initrd (hdθ,1)/boot/initrd
以下示例显示了/boot/grub/menu.lst 文件的原始内容和此文件修改后的内容。

完成这些过程后,您必须重新启动linux 操作系统以使更改生效并启用sol。
microsoft windows 2003 standard edition 配置
此过程基于microsoft windows 2003 操作系统的缺省安装。
完成以下步骤为sol 操作配置windows 2003 操作系统。您必须以具有管理员访问权的用户身份登录以执行此过程。
1. 请完成以下步骤以确定修改哪个引导条目标识:
a. 在windows命令提示符下,输入bootcfg;然后,按enter 键以显示服务器的当前引导选项。
b. 在boot entries部分中,找到操作系统友好名称为“windows server 2003,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 串口:
a. 在windows 命令提示符下,输入bootcfg;然后,按enter 键以显示服务器的当前引导选项。
b. 验证对bootcfg 设置的以下更改:
1) 在boot loader settings 部分中,确保redirect 已设置为com2 并且redirectbaudrate 已设置为19200。
2) 在boot entries 部分中,确保已将/redirect 追加到os load options: 行的末端。
以下示例显示了bootcfg 程序的原始输出和修改后的输出。

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