Console login from LOM, ALOM, ILOM, ELOM, RSC or XSCF [updated]

Over the years Sun Microsystems has manufactured many hardware models. For every hardware family the method to access console differs slightly. In this post, we will see the commands for accessing the serial console of different kinds of Sun servers based on ALOM, ILOM, ELOM and other IPMI based Service Processors.

LOM

To connect to a LOM

sc/lom>console   --- to go to the system console from LOM
#. --- to go to LOM from the system console

ALOM

Accessing Serial console of ALOM systems (like Sun Fire V125, V210, V240, V245, V250, V440, V445, Netra 210, 240, 440).

In order to login to the ALOM console :

Please login: admin 
Please Enter password: ********
sc> console

In case if there is a user already logged in you would get a message as shown below :

SC > console
Console session already in use. [view mode]
Enter #. to return to ALOM.

In that case you can use the -f switch to login forcefully. The other user will get disconnected if you do so.

SC > console -f
Warning: User currently has write permission to this console and forcibly removing them will terminate any current write actions and all work will be lost. Would you like to continue? [y/n]y
Enter #. to return to ALOM.

ILOM

Accessing Serial console of ILOM systems (like Sun Fire X4100, X4100 M2, X4140, X4150, X4170, X4200, X4200 M2, X4250, X4270, X4600, X4600 M2, etc).

To login into stand-alone server SP console:

-> start /SP/console
Are you sure you want to start /SP/console (y/n) ? y
Serial console started. To stop, type #.

To login into a Blade server we first need to start the cli mode for the blade ( In this case Blade 2 )

-> cd /CH/BL2/SP/cli
/CH/BL2/SP/cli
-> start
Are you sure you want to start /CH/BL2/SP/cli (y/n)? y
Password:

Start the SP console

-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y
Serial console started. To stop, type #.

ELOM

Accessing Serial console of ELOM systems (specific ones like Sun Fire X2100, X2100 M2, X2200, X2200 M2). The connection method to SP console in ELOM is pretty much the same as ILOM ( The only difference you may find is the escape character ).

To login into stand-alone server SP console

-> start /SP/console
Are you sure you want to start /SP/console (y/n) ? y
Serial console started. To stop, type #.

To login into a Blade server we first need to start the cli mode for the blade ( In this case Blade 2 )

-> cd /CH/BL2/SP/cli
/CH/BL2/SP/cli
-> start
Are you sure you want to start /CH/BL2/SP/cli (y/n)? y
Password:

Start the SP console

-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y
Serial console started. To stop, type #.

RSC

To login into the console from RSC :

rsc> console
Console session already in use.

If the console is busy, run either of the following commands to reset the console and clear any open sessions: From the rsc prompt:

rsc> resetrsc

From the OS:

# /usr/platform/`uname -i`/sbin/rscadm resetrsc

Execute the following command from the OS level:

~.

This will return the console to the rsc> prompt If the Escape character ~. doesn’t work, we can check the escape character set.

# /usr/platform/`uname -i`/sbin/rscadm show escape_char
escape_char="#."

We can also set the escape character as we want.

XSCF

In order to login into console from XSCF you must know in which domain you want to login into. To show all the domains on a server :

XSCF> showdomainstatus -a
DID Domain Status
00 Running
01 Running
02 Running
03 -

To login into domain 1 :

XSCF> console -d 01

To return from a domain login :

#.