A P P E N D I X  G

ILOM Reference Information

This appendix shows some ILOM CLI commands and related information. Topics covered include:

If you require additional information, refer to the following documents:


G.1 Creating an ALOM CMT Shell

Your server is configured to operate under an ILOM shell, by default. You can create an ALOM compatibility shell if you prefer to use commands that resemble ALOM CMT commands to administer your server.

G.1.1 Creating an ALOM CMT Compatibility Shell

1. Log onto the service processor with the user name root.

When powered on, the SP boots to the ILOM login prompt. The factory default password is changeme.


SUNSPxxxxxxxxxxxx login: root
Password:
Waiting for daemons to initialize...
Daemons ready
Sun(TM) Integrated Lights Out Manager
Version 2.0.0.0
Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Warning: password is set to factory default.

2. Create a user named admin, then set the admin account role to Administrator and the CLI mode to alom.


-> create /SP/users/admin 
Creating user...
Enter new password: ********
Enter new password again: ********
Created /SP/users/admin
-> set /SP/users/admin role=Administrator
Set 'role' to 'Administrator'
-> set /SP/users/admin cli_mode=alom
Set 'cli_mode' to 'alom'



Note - The asterisks in the example will not appear when you type (enter) your password.


You can combine the create and set commands on a single line:


-> create /SP/users/admin role=Administrator cli_mode=alom
Creating user...
Enter new password: ********
Enter new password again: ********
Created /SP/users/admin

3. Log out of the root account after you have finished creating the admin account:


-> exit

4. Log into the ALOM CLI shell (indicated by the sc> prompt) from the ILOM login prompt:


SUNSPxxxxxxxxxxxx login: admin
Password:
Waiting for daemons to initialize...
Daemons ready
Sun(TM) Integrated Lights Out Manager
Version 2.0.0.0
Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
sc>

Using the ALOM CMT compatibility shell (with few exceptions) you can type commands that resemble the commands of ALOM CMT. It is useful to remember that the ALOM CMT compatibility shell is an ILOM interface. The comparisons between the ILOM CLI and The ALOM CMT compatibility CLI are described in the Sun Integrated Lights Out Manager 2.0 Supplement for Sun Blade T6340 Server Modules, 820-3904.

G.1.2 Connecting to the Host Console With SSH

1. Using SSH, type the IP address of the service processor for your server module.


$ ssh -l root 11.5.100.101
The authenticity of host ’11.5.100.101 can’t be established.
RSA key fingerprint is 32:77:0c:55:21:ce:90:c3:a1:b1:a9:9d:64:c5:7c:c1.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ’10.6.214.130’ (RSA) to the list of known hosts.
Password:
Waiting for daemons to initialize...
Daemons ready
Sun(TM) Integrated Lights Out Manager
Version 2.0.4.6
Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Warning: password is set to factory default.

2. Start the host console.


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

G.1.3 Switching Between the ALOM CMT Shell and the Host Console

G.1.4 Returning to the ILOM CLI

1. Set the CLI mode for root to default, then log out of the ALOM CMT compatibility shell:


sc> userclimode root default
sc> logout

The ILOM login prompt is displayed.

2. Then, log in to the ILOM CLI as usual, using an account other than the admin account (such as root).

The admin account cannot be used for the ILOM CLI as long as its CLI mode is set to the value alom.

Using the ALOM CMT compatibility shell (with few exceptions), you can use commands that resemble the commands of ALOM CMT. Remember that the ALOM CMT compatibility shell is an ILOM interface. The comparisons between the ILOM CLI and the ALOM CMT compatibility CLI are described in the Sun Integrated Lights Out Manager 2.0 Supplement for Sun Blade T6340 Server Modules, 820-3904.


G.2 Switching Between the ILOM CLI and ALOM CMT Compatibility Shell

1. To switch from the ILOM command line interface (CLI) to the ALOM-CMT compatibility shell, type:


->set /SP/users/root cli_mode=alom
Set ’cli_mode’ to ’alom’
 
->exit



Note - A banner displays the ILOM version, however the sc> prompt, indicates that you are now using ALOM CMT.


2. To Switch from the ALOM-CMT compatibility shell to the default ILOM command line interface, type:


sc> userclimode root default
sc> logout
->

3. If you are using an ssh session, type ssh to login to the service processor.


ssh -l root 12.3.456.78
Password:
Waiting for daemons to initialize...
Daemons ready
Sun(TM) Integrated Lights Out Manager
Version 2.0.4.6
Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
->


G.3 Switching Between the System Console and ILOM

1. Type the following commands from the host console:


user1% #.
SUNSP00145: 
->

2. Login to the ILOM shell.


-> login
username: root
password:changeme



Note - If you want to use ssh session, you will have to type the ssh command.



G.4 Connecting to the Server Module Service Processor From the Chassis CMM Service Processor

You can connect to any server module service processor through the chassis CMM and the CMM ILOM firmware. The procedure is described in the Sun Blade T6340 Server Module Installation and Administration Guide, 820-3900.

You might also want to consult the ILOM administration or ILOM user’s guide for the chassis CMM that your server module is installed in; for example, the Integrated Lights Out Manager ILOM Administration Guide, 820-3904.