Sun Microsystems, Inc.  Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1019396.1
Update Date:2012-07-30
Keywords:

Solution Type  Technical Instruction Sure

Solution  1019396.1 :   Sun Fire[TM] X2100 M2 / X2200 M2 Server: How to configure OS Console Redirection  


Related Items
  • Sun Fire X2200 M2 Server
  •  
  • Sun Fire X2100 M2 Server
  •  
Related Categories
  • PLA-Support>Sun Systems>x64>Server>SN-x64: SERVER 64bit
  •  
  • .Old GCS Categories>Sun Microsystems>Servers>x64 Servers
  •  

PreviouslyPublishedAs
239187


Applies to:

Sun Fire X2200 M2 Server
Sun Fire X2100 M2 Server
All Platforms

Goal

The Sun Fire[TM] X2100 M2 / X2200 M2 Servers require additional configuration changes to be made to correctly set output to the serial port COM2.

This document highlights BIOS, Solaris[TM], Red Hat[TM] and SuSE[TM] configuration changes needed to complete this configuration.

Solution

BIOS and Operating System Configuration Changes for Console Redirection

For detailed setup requirements, please review document Embedded Lights Out Manager Administration Guide

Configuration changes to be made in BIOS:

Select the following in order:

1. Select "Advanced"
2. Select "IPMI 2.0 Configuration"
3. Set "External COM Port" to "BMC"

Select the following in order:

1. Select "Advanced"
2. Select "Remote Access Configuration"
3. Set "Remote Access" to "Serial"
4. Set "Serial port number" to "COM2"
5. Set "Serial Port Mode" to "09600 8,n,1"
6. Set "Flow Control" to "Hardware"
7. Set "Post-Boot support" to "Always"
8. Set "Terminal Type" to "vt100"
9. Set "VT-UTF8 Combo Key Support" to "Enabled" Make sure that all settings for COM1 and COM2 are the same.

Make sure you are connected to the interface COM2, otherwise will not see BIOS and GRUB output.

 

Configuration changes to be made in Solaris:

As the user root, edit "/boot/grub/menu.lst" with your favourite text editor.

Append the following "console=ttyb" to the kernel boot parameter lines for both Solaris and Solaris failsafe entries. The line should look similar to the following under the section "Solaris xx/xx":

   kernel /platform/i86pc/multiboot -B console=ttyb

The line should look similar to the following under the section "Solaris failsafe":

   kernel /boot/multiboot -B console=ttyb kernel/unix -s

As the user root, edit "/kernel/drv/asy.conf" with your favourite text editor.

Add the following entry to the bottom of the file if they do not exist already:

   name="asy" parent="isa" reg=1,0x2f8,8 interrupts=3;

As the user root, edit "/boot/solaris/bootenv.rc" with your favourite text editor.

Add the following entry to the bottom of the file if they do not exist already:

   setprop console 'ttyb'
setprop ttyb-mode 9600,8,n,1,-

Configuration changes to be made in Red Hat Enterprise Linux:

As the user root, edit "/boot/grub/menu.lst" with your favourite text editor.

Append the following "console=tty1 console=ttyS1, 115200" to the kernel boot parameter line.
The line should look similar to:

   kernel /vmlinuz-2.x.x ro root=LABEL/1 rhgb quiet console=tty1 console=ttyS1, 115200

Edit /etc/securetty
Append the following to the bottom of the file:

   ttyS1

Edit /etc/inittab
Append the line "id:5:initdefault:" to "id:3:initdefault:" instead.

Under the section "Run gettys in standard runlevels" add the following as the first line:
co:2345:respawn:/sbin/agetty ttyS1 115200 vt100

Reboot the platform:
reboot -- -r

Configuration changes to be made in SuSE Enterprise Linux:

As the user root, edit "/boot/grub/menu.lst" with your favorite text editor.

Append the following "console=ttyS1, 115200" to the kernel boot parameter line.
The line should look similar to:

   kernel /boot/vmlinuz root=/dev/sda2 resume=/dev/sda1 splash:silent showops console=tty1 console:ttyS1, 115200

Edit /etc/securetty
Append the following to the bottom of the file:

   ttyS1

Edit /etc/inittab
Append the line "id:5:initdefault:" to "id:3:initdefault:" instead.

Under the section "getty-programs for normal runlevels" modify the following line (Note the ttyS1 and 115200 are changed):

   S0:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100

Reboot the platform.
reboot -- -r


Attachments
This solution has no attachment
  Copyright © 2012 Sun Microsystems, Inc.  All rights reserved.
 Feedback