A P P E N D I X B |
Redirecting the Solaris OS Output to the Serial Port |
The following procedure shows how to redirect Solaris operating system (OS) output from your server to a serial console. Use these instructions to redirect OS output after the software is installed. For information about how to redirect the server output to the console during OS installation, see the instructions in Chapter 2.
This procedure is required only for servers with older BIOS and SP firmware versions:
Systems with newer firmware have the default serial port set to TTYA/COM1 (Solaris OS defaults).
For systems with newer firmware, the baud rate setting in the files listed below should match the setting for the serial port mode in the
BIOS ->Server->Remote Access Configuration screen.
To Redirect Solaris Output to the Serial Port |
1. After the Solaris OS is installed, log in to the server as root (superuser).
2. Make edits to the following files:
a. Edit the following lines in the /boot/solaris/bootenv.rc file to read as follows:
setprop console ’ttyb’
setprop ttyb-mode 115200,8,n,1,-
c. Edit the following line in the /boot/grub/menu.lst file to read as follows:
kernel /platform/i86pc/multiboot -B console=ttyb
e. Add the following line to the end of the /kernel/drv/asy.conf file:
name="asy" parent="isa" reg=1,0x2f8,8 interrupts=3;
g. Edit the following line in the /var/svc/manifest/system/console-login.xml file as follows:
<propval name=’label’ type=’astring’ value=’115200’/>
3. Reboot the system with the following command:
4. Log in to the ELOM or ILOM CLI.
5. Start the console using the start command.
-> start /SP/console (for ILOM)
-> start /SP/AgentInfo/Console (for ELOM)
You should now begin to see console output of the system starting up.
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.