Beruflich Dokumente
Kultur Dokumente
Remote Serial
Console using the
RSA II Slimline
Dave Pierson
davepierson@us.ibm.com
IBM Network Transformation Center
Ed Klodnicki
klodnick@us.ibm.com
IBM Systems & Technology Group
Revision History
1.0 – May 7, 2009 Initial DRAFT Version
1.1 – May 7, 2009 Added models supported; added actual use section after setup
1.2 – June 8, 2009 Added trademarks and copyright
Notices:
This paper is intended to provide information regarding IBM System x Remote Serial Console using the RSA II Slimline. It discusses
findings based on configurations that were created and tested under laboratory conditions. These findings may not be realized in all
customer environments, and implementation in such environments may require additional steps, configurations, and performance
analysis. The information herein is provided “AS IS” with no warranties, express or implied. This information does not constitute a
specification or form part of the warranty for any IBM or non-IBM products.
Information in this document was developed in conjunction with the use of the equipment specified, and is limited in application to
those specific hardware and software products and levels.
The information contained in this document has not been submitted to any formal IBM test and is distributed as is. The use of this
information or the implementation of these techniques is a customer responsibility and depends on the customer’s ability to evaluate
and integrate them into the customer’s operational environment. While each item may have been reviewed by IBM for accuracy in a
specific situation, there is no guarantee that the same or similar results will be obtained elsewhere. Customers attempting to adapt
these techniques to their own environments do so at their own risk.
IBM may not officially support techniques mentioned in this document. For questions regarding officially supported techniques,
please refer to the product documentation, announcement letters, or contact the IBM Support Line at 1-800-IBM-SERV.
This document makes references to vendor-acquired applications or utilities. It is the customer responsibility to obtain licenses of
these utilities prior to their usage.
© Copyright International Business Machines Corporation 2009. All rights reserved. U.S. Government Users Restricted Rights
– Use, duplication, or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Page 2 of 11
IBM System x Remote Serial Console using the RSA II Slimline
Table of Contents
Table of Contents.......................................................................................................................................... 3
Overview.................................................................................................................................................... 4
Hardware Models Supported..................................................................................................................... 4
Hardware Used In Example ...................................................................................................................... 4
Firmware Pre-requisites ............................................................................................................................ 4
Configure Server BIOS.............................................................................................................................. 5
Configure the RSA..................................................................................................................................... 7
Operating System Info/Modifications......................................................................................................... 8
Configuring the Client and Connecting ................................................................................................... 10
Page 3 of 11
IBM System x Remote Serial Console using the RSA II Slimline
Overview
One feature of the RSA II adapter is the ability to redirect a System x server serial console
via the RSA and view it from within the RSA telnet or ssh client. This feature is very useful
to many customers that want to perform server management actions via scripts which is
generally easier to do in a text based environment. This paper will not go into great deal
regarding serial console redirection, but is more intended as a recipe for how to simply
make it work and some of the common issues encountered.
Firmware Pre-requisites
Before you get too far into setting up the RSA to provide console serial redirection make sure that
you have relatively current firmware installed on the BIOS, BMC, and RSA. It is not necessary to
have the versions listed above but make sure it is greater to or equal to the version listed above.
Page 4 of 11
IBM System x Remote Serial Console using the RSA II Slimline
3. Select Serial Port B or whatever the second port is called and set it to “Auto configure” as shown
in Figure 2
Page 5 of 11
IBM System x Remote Serial Console using the RSA II Slimline
4. Select “Remote Console Redirection” from the screen shown in figure 2. Set the settings as
shown in figure 3 below.
Note: Setting the baud rate to 19200 is necessary…faster is not better in this case!
Page 6 of 11
IBM System x Remote Serial Console using the RSA II Slimline
5. Save the settings and exit from the BIOS configuration. The server will now reboot.
2. At the RSA prompt execute the command shown in figure 4 below to configure the RSA serial
port for console redirection.
“portcfg com2 –serred enabled –b 19200 –p none –s 1”
Page 7 of 11
IBM System x Remote Serial Console using the RSA II Slimline
1. Display the serial port information on the host system: dmesg | grep tty
2. Modify /etc/inittab to support serial logins. Create a backup of this file before modifying so that you
can revert if need be. See potential changes in bold below:
id:3:initdefault:
# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
Page 8 of 11
IBM System x Remote Serial Console using the RSA II Slimline
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
console
ttyS1
vc/1
vc/2
vc/3
…
4. Modify /etc/grub.conf to set the serial port as the default system console. If you want to see the
startup or shutdown messages at the serial console you will want to make this change. See
modifications in bold below.
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-92.el5PAE)
root (hd0,0)
kernel /vmlinuz-2.6.18-92.el5PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet
console=ttyS1,19200
Page 9 of 11
IBM System x Remote Serial Console using the RSA II Slimline
initrd /initrd-2.6.18-92.el5PAE.img
5. Install the RSA II daemon on the host system. This daemon will allow additional communication
between the host OS and the RSA adapter. This will enable graceful shutdowns from the RSA CLI
using the “power cycle –s” command for example. The RSA daemon can be found here: http://www-
947.ibm.com/systems/support/supportsite.wss/docdisplay?brandind=5000008&lndocid=MIGR-
5071676
1. The RSA accepts client connections via telnet and ssh. Telnet is the only connection method that is
enabled by default. You must enable ssh connections in the RSA prior to connecting via ssh. See
the connection syntax below:
Note: I used the GNOME Terminal as the terminal to launch telnet or ssh from. The windows
command prompt or Putty would be some other client options. I did find that the GNOME Terminal is
setup by default to launch a help dialog window when F1 is pressed. This posed problems for
entering the BIOS setup from the serial console. The fix was to modify GNOME Terminal to disable
the F1 keyboard shortcut. This is modified from within the GNOME Terminal application under Edit -
> Keyboard Shortcuts as shown in figure 5.
Note: The default username on the RSA is USERID and the default password is PASSW0RD with a
zero.
Page 10 of 11
IBM System x Remote Serial Console using the RSA II Slimline
2. Once logged into the telnet/ssh session you will be at a prompt similar to the one shown on page 8 in
figure 4. At this point to launch the serial console type console 2 and press enter.
3. When you are finished with the serial console session and wish re-enter the RSA command line
interface, you should type the 'Enter CLI' key sequence as defined in the RSA web or CLI interface.
This sequence is user definable, but the default sequence is defined to be to Esc (.
Page 11 of 11