使用OSA SMBridge 管理实用程序启用和配置SOL
要使用osa smbridge 管理实用程序为服务器启用和配置sol,您必须更新和配置bios 代码并使操作系统支持sol 连接。

    更新和配置bios

    要更新和配置bios 代码以启用sol,请完成以下步骤。

    1. 更新bios 代码:

    a. 从http://www.ibm.com/servers/eserver/support/xseries/index.html 下载最新版本的bios代码。

    b. 按照所下载更新文件附带的说明更新bios 代码。

    2. 配置bios 设置:

    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 active:enabled

    2) remote console com port:com 2

    3) remote console baud rate:19200

    4) remote console data bits:8

    5) remote console parity:none

    6) remote console stop bits:1

    7) remote console text emulation:ansi

    8) remote console keyboard emulation:ansi

    9) remote console active after boot:enabled

    10) remote console flow control:hardware

    d. 按esc 两次以退出configuration/setup utility 程序的remote console redirection 和devices and i/o ports 部分。

    请勿将planar ethernet 1 用于pxe/dhcp 引导或安装。

    e. 选择start options;然后将planar ethernet pxe/dhcp 设置为以下某个设置:

    1) disabled

    2) planar ethernet 2。如果将planar ethernet pxe/dhcp 设置为planar ethernet 2,还必须将run pxe only on selected planar nic 设置为enabled。

    f. 按esc 键以退出configuration/setup utility 程序的start options 部分。

    g. 选择save settings;然后按enter 键。

    h. 按enter 键确认。

    i. 选择exit setup,然后按enter 键。

    j. 确保选择了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 ttys1 19200 vt102

    2. 将下面一行内容添加到/etc/securetty 文件的末尾,使用户能以root 用户身份通过sol 控制台进行登录:

    ttys1

    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=ttys1,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

    root=/dev/hda6

    append="console=tty1 console=ttys1,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=ttys1,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=ttys1,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 ttys1 19200 vt102

    2. 将下面一行内容添加到/etc/securetty 文件底部的tty6 行之后,使用户能以root 用户身份通过sol 控制台进行登录:

    ttys1

    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=ttys1,19200 console=tty1

    e. 将以下四行内容添加到前两个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=ttys1,19200

    initrd (hd0,1)/boot/initrd

    以下示例显示了/boot/grub/menu.lst 文件的原始内容和修改后的内容。

   

   

   

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

    配置microsoft windows 操作系统

    请完成以下步骤,为sol 操作配置windows 操作系统。您必须以具有管理员访问权的用户身份登录才能执行此过程。

    1. 确定要修改的引导项标识:

    a. 在windows 命令提示符中输入bootcfg;然后按enter 键以显示服务器的当前引导选项。

    b. 在boot entries 部分,找到操作系统友好名称为“windows 操作系统”的部分引导项标识。记下此引导项标识以便在下一步中使用。

    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。
IBM System x3850 相关内容:报价 | 参数 | 图片 | 论坛 | 评测