C H A P T E R  3

Navigation Procedures

This chapter explains step-by-step procedures and provides illustrations for connecting to the system and navigating between the LOM shell and the console. It also explains how to terminate an SC session.

This chapter includes the following topics:


Establishing a LOM Console Connection

There are two ways to access the LOM console connection.



caution icon Caution - Starting with 5.17.0 firmware, network connections are disabled by default. Unless you enable network connections using the setupnetworkcommand, you must use a serial (direct) connection to access the LOM console.


Under normal operation (when Solaris is running or the system is in the OpenBoot PROM) connecting to the LOM console will automatically select a connection to the Solaris console, otherwise a connection to the LOM prompt is made.

The LOM prompt is:


lom>

Accessing the LOM Console Using the Serial Port

With the serial port, you can connect to one of three devices:

See the Sun Fire E2900 System Installation Guide or Sun Fire V1280/Netra 1280 Systems Installation Guide for details of how to make the physical connections. The procedure is different for each type of device.


procedure icon  To Connect to an ASCII Terminal

If the LOM password has been set (and the previous connection was logged out) you are prompted for a password.

1. Enter the correct password as previously set up using the password command.


Enter Password:

If the password is accepted the SC indicates that a connection has been made.

If the system is in Standby mode, the lom prompt is automatically displayed.


Connected.
 
lom>

2. If not, press Return and the Solaris console prompt is displayed.


Connected.
 
#

3. If a connection to the LOM console is already established over the network port, then you are offered the opportunity to forcefully connect by logging out the other connection:


Enter Password:
 
The console is already in use.
 
Host:		somehost.acme.com
Connected: May 24 10:27
Idle time: 00:23:17
 
Force logout of other user? (y/n) y
 
Connected.
 
lom>

Otherwise press Return and the Solaris console prompt is displayed.


Connected.
 
#


procedure icon  To Connect to a Network Terminal Server

You will be provided with a menu of various servers to which you can connect. Select the required server.

If the LOM password has been set (and the previous connection was logged out) you will be prompted for a password.

1. Enter the correct password as previously set up using the password command.


Enter Password:

If the password is accepted the SC indicates that a connection has been made.

If the system is in Standby mode, the lom prompt is automatically displayed.


Connected.
 
lom>

2. If not, press Return and the Solaris console prompt is displayed.


Connected.
 
#

3. If a connection to the LOM console is already established over the network port then you are offered the opportunity to forcefully connect by logging out the other connection:


Enter Password:
 
The console is already in use.
 
Host:		somehost.acme.com
Connected: May 24 10:27
Idle time: 00:23:17
 
Force logout of other user? (y/n) y
 
Connected.
 
lom>

4. If not, press Return and the Solaris console prompt is displayed.


Connected.
 
#


procedure icon  To Connect to Serial Port B of a Workstation

1. At the Solaris shell prompt type:


# tip hardwire

See the tip man page for a complete description of the tip command.

If the LOM password has been set (and the previous connection was logged out) you will be prompted for a password.

2. Enter the correct password as previously set up using the password command.


Enter Password:

If the password is accepted the SC indicates that a connection has been made.

If the system is in standby mode the lom prompt is automatically displayed.


Connected.
 
lom>

If not, press Return and the Solaris console prompt is displayed.


Connected.
 
#

3. If a connection to the LOM console is already established over the network port then you are offered the opportunity to forcefully connect by logging out the other connection:


Enter Password:
 
The console is already in use.
 
Host:		somehost.acme.com
Connected: May 24 10:27
Idle time: 00:23:17
 
Force logout of other user? (y/n) y
 
Connected.
 
lom>


procedure icon  To Access the LOM Console Using a Remote Connection

In order to be able to access the LOM console through a remote connection (for example: an SSH connection) to the 10/100 Ethernet port you must first set up the interface.

Refer to To Configure Network Parameters.

1. Type the ssh command at the Solaris prompt to connect to the SC.


% ssh hostname

2. If the LOM password has been set up you are prompted for a password.


# Enter password:

3. Enter the correct password as previously set up using the password command.

If the password is accepted the SC indicates that a connection has been made.

If the system is in Standby mode the lom prompt is automatically displayed.


Connected.
 
lom>

4. If not, press Return and the Solaris console prompt will be displayed.


Connected.
 
#

5. If a connection to the LOM console is already established over the serial port then you will be offered the opportunity to forcefully connect by logging out the other connection:


# ssh hostname
 
The console is already in use.
 
Host:		somehost.acme.com
Connected: May 24 10:27
Idle time: 00:23:17
 
Force logout of other user? (y/n) y
 
Connected.
 
lom>

In this case you should first use the LOM logout command on the serial connection to make the connection available. Refer to the Sun Fire Entry-Level Midrange System Controller Command Reference Manual for further details.


procedure icon  To Disconnect From the LOM Console

When you have finished using the LOM console you can disconnect your connection by using the logout command.

On the serial port the response is:


lom>logout
Connection closed.

When connected over the network the response is:


lom>logout
Connection closed.
Connection to hostname closed by remote host.
Connection to hostname closed.Connection closed.
$


Switching Between the Different Consoles

The SC console connection provides access to the SC LOM command line interface, the Solaris OS, and the OpenBoot PROM.

This section describes the procedures to navigate between the following:

These procedures are summarized in FIGURE 3-1


Diagram showing how to move between the different consoles.[ D ]

FIGURE 3-1 Navigation Procedures Between Consoles


procedure icon  To Break to the LOM Prompt

single-step bullet  When connected to the Solaris console, typing the escape sequence will take the console into the LOM prompt.

By default the escape sequence is set to ‘#.’. That is, a # sign followed by a period.

For instance, if the escape sequence is the default of #. you will see:


lom>

When you type the first character of the escape sequence, there is a one second delay before the character appears on the screen. This is because the system waits to see if the next character in the escape sequence is about to be typed. The second character must be typed within this one-second window. If all the characters in the escape sequence are typed then the lom> prompt appears. If the next character to be typed is not the next character in the escape sequence, then the characters belonging to the escape sequence that were typed are output to the screen.

Choose an escape sequence that does not start with a sequence of characters that is frequently typed at the console, otherwise the delay between your striking the keys and the character appearing on the screen may be confusing.


procedure icon  To Connect to the Solaris Console From the LOM Prompt

single-step bullet  Use the console command from the LOM prompt, then type a carriage return.

If Solaris software is running, the system responds with the Solaris prompt:


lom>console
#

If the system was in the OpenBoot PROM, then the system responds with the OpenBoot PROM prompt:


lom>console
{2} ok

If the system is in Standby mode, the following message is generated:


lom>console
Solaris is not active


procedure icon  To Break to the LOM Prompt From the OpenBoot PROM

single-step bullet  The process of moving from the OpenBoot PROM to the LOM prompt is the same as moving from Solaris OS to the LOM prompt.

Type the sequence of escape characters (default #.).


{2} ok
lom>


procedure icon  To Break to the OpenBoot Prompt When Solaris Is Running

single-step bullet  When the Solaris Operating System is running the usual effect of sending a break signal to the console is to force entry to the OpenBoot PROM or kernel debugger.

Do this by using the break command from the LOM prompt:


lom>break
This will suspend Solaris.
Do you want to continue? [no] y
Type ‘go’ to resume
debugger entered.
 
{1} ok


procedure icon  To Terminate a Session if You Are Connected to the System Controller Through the Serial Port


procedure icon  To Terminate a Session If You Are Connected to the System Controller with a Network Connection

single-step bullet  If you are at the Solaris prompt or the OpenBoot PROM, go to the LOM prompt by typing the escape sequence and terminate the LOM prompt session by using the logout command.

The remote session (SSH or Telnet, depending upon the setting chosen using the setupnetwork command) terminates automatically:


lom>logout
Connection closed by foreign host.
%