McDATA 8832 Summary of Linux changes for SOL, 72345respawn/sbin/agetty -h ttyS1 19200 vt102

Page 36

IBM BladeCenter Deployment Guide

There are several well written white papers available that describe the steps required to configure Serial Over LAN for the BladeCenter. The firmware sections of these documents can be skipped as long as you have followed the firmware recommendations in this document. For Linux, you must make the changes to both /etc/inittab and your boot loader configuration file (either lilo.conf or grub.conf) in order to get the full functionality under Linux.

4.8.2 Summary of Linux changes for SOL

1.Add the following line to the end of the # Run gettys in standard runlevels section of the /etc/inittab file. This enables hardware flow control and enables users to log in through the SOL console.

7:2345:respawn:/sbin/agetty -h ttyS1 19200 vt102

2.Add the following line at the bottom of the /etc/securetty file to enable a user to log in as the root user through the SOL console:

ttyS1

3.LILO configuration

In order to enable SOL in Linux, we need to add 2 parms to the kernel line in the bootloader configuration file:

console=ttyS1,19200n8

console=tty1

The order of these two parms affects where a portion of the Linux boot (and shutdown messages) are displayed, and consequently how the Linux boot can be managed. Basically, your two options are having the messages go to the main console (the one you see via Remote Control) or the serial console (SOL). The existing documentation refers to these options as being able to monitor the boot via SOL, or being able to interact with the boot via SOL.

If you are using LILO, complete the following steps:

1. Complete the following steps to modify the /etc/lilo.conf file:

a.Add the following text to the end of the first default=linux line

-Monitor

b.Comment out the message=/boot/message line by adding a # at the beginning of this line. This disables the graphical LILO boot screen since it will not display correctly in the SOL session. The next time the blade is booted, the text LILO: prompt appears in place of the graphical boot screen.

c.Increase the timeout value to give the operator a better chance to choose which way the blade boots.

d.Add the following line before the first image=... line:

#This will allow you to only Monitor the OS boot via SOL

e.Add the following text to the end of the first label=linux line

-Monitor

f.Add the following line to the first image=... section. This enables SOL. append="console=ttyS1,19200n8 console=tty1"

g.Add the following lines between the two image=... sections:

#This will allow you to Interact with the OS boot via SOL image=/boot/vmlinuz-2.4.21-37.ELsmp label=linux-Interact initrd=/boot/initrd-2.4.21-37.ELsmp.img read-only root=/dev/hda6 append="console=tty1 console=ttyS1,19200n8"

2.Run the lilo command to store and activate the LILO configuration: /sbin/lilo -v .

When the Linux operating system starts, a LILO boot: prompt is displayed instead of the graphical user interface. Pressing Tab while at this prompt will install all of the boot options that are listed. To load the operating system in interactive mode, type linux-Interact and then press Enter.

To see the choices of kernels for boot from, simply hit the tab key.To re-enable the graphical boot screen, replace or uncomment the above line in the lilo.conf file and rerunning LILO.

36

http://w3-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP100564

© 2006 IBM Version 3.0, 3/10/2006

The BladeCenter Deployment Guide is intended as a personal productivity tool. It is not intended to be comprehensive and is provided for

guidance only, on an 'as is basis' without warranty of any kind. Please be aware that its contents have not been certified by IBM.

Image 36
Contents IBM BladeCenter Deployment Guide Part 3 Blades IBM Version 3.0, 3/10/2006 Table of Contents Table of Tables Table of FiguresLinux nofb Introduction Overview BladeCenter SubsystemsContributors BladeCenter Chassis Rear ViewNetwork Configuration Preparatory StepsRemote Control Hints and Tips BladeCenter Management ModuleDisable key repeats Remote Control Window Embedded Fibre Channel Switches SAN ConfigurationDisabling ports on the QLogic switch Storage Connection DiagramUsing SANSurfer GUI Port Properties Configuring the Blades for Remote Boot Check the Boot OrderDisabling IDE devices Device Startup OrderHS20 Boot Sequence Configuring the Qlogic HBA Acquiring HBA WWPNs World Wide Port NamesConfiguring the path to the boot LUN Configuring the QLogic HBAEnable Selectable Boot Illustration Testing the path to the boot LUN Save your changesEthernet Port Numbering Verify Disk MediaBrowse MAC Address Table Top Switch Browse MAC Address Table Bottom Switch LearnedMAC Address Port Learned MAC Address PortChange Media Tray Owner Loading the Remote Diskette Linux nofb Multipath Red Hat Installation Kickstart InformationBoot Failure for RH Red Hat Linux AS Broadcom driver installation Fdisk OutputIssues related to Red Hat AS 2.1/3.0 and blades RPM Install of Broadcom Device DriversRev IBM Version 3.0, 3/10/2006 IBM BladeCenter Deployment Guide Changing the Boot Loader Configuration Other Linux Distributions and BladesRdac Installation and Configuration Serial Over LAN SOL for BladesOverview Summary of Linux changes for SOL 72345respawn/sbin/agetty -h ttyS1 19200 vt102Alt-sysrq Alt-sysrq from Linux clientNetdump Alt-sysrq from PuTTYIBM BladeCenter Deployment Guide IBM Version 3.0, 3/10/2006 Broadcom Advanced Control Suite installation List of limitationsRemote Update of the Firmware on an HS20 or HS40 Bios and IsmpBMC Update for the HS20 8843 and LS20 IBM BladeCenter Deployment Guide Flash the QLogic HBA Bios QLogic HBA FlashRed Hat Boot Diskette Modification Process # mount -o loop drvnet.img mnt/drvIBM Version 3.0, 3/10/2006 # cd # umount mnt/initrd Modify or Create the Post-install Driver Diskette Image Driverdisk --source=nfshost/path/to/26k4970.imgIBM BladeCenter Deployment Guide Management Module Bios Information Appendix A. Firmware VersionsHS20 Model 8832 Firmware Information HS40 Bios HS40 Bios and Ismp InformationLS20 Bios and BMC Information QLogic Firmware InformationBladeCenter Information BladeCenter ComponentsIndex