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:
There are two ways to access the LOM console connection.
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.
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.
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.
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.
2. If not, press Return and the Solaris console prompt is displayed.
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.
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.
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.
2. If not, press Return and the Solaris console prompt is displayed.
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.
To Connect to Serial Port B of a Workstation |
1. At the Solaris shell prompt type:
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.
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.
If not, press Return and the Solaris console prompt is displayed.
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> |
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.
2. If the LOM password has been set up you are prompted for a 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.
4. If not, press Return and the Solaris console prompt will be displayed.
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.
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:
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. $ |
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
To Break to the LOM Prompt |
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:
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.
To Connect to the Solaris Console From the LOM Prompt |
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:
If the system was in the OpenBoot PROM, then the system responds with the OpenBoot PROM prompt:
If the system is in Standby mode, the following message is generated:
To Break to the LOM Prompt From the OpenBoot PROM |
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 #.).
To Break to the OpenBoot Prompt When Solaris Is Running |
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 |
To Terminate a Session if You Are Connected to the System Controller Through the Serial Port |
To Terminate a Session If You Are Connected to the System Controller with a Network Connection |
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:
Copyright © 2004, Sun Microsystems, Inc. All Rights Reserved.