A P P E N D I X B |
ALOM CMT Compatibility Shell |
ILOM supports some of the features of the ALOM CMT command-line interface (CLI) by means of a compatiblity shell. There are significant differences between ILOM and ALOM CMT. This appendix describes those differences. This appendix includes the following topics:
The backward compatibility shell supports some, but not all features of ALOM CMT. Some of the more significant differences between ILOM and ALOM CMT are described in this section.
In the original ALOM CMT environment, when changing the values of some ALOM CMT variables (such as network and serial port configuration variables), it was necessary to reset the service processor (called the system controller in ALOM CMT) before the changes took effect. By comparison, in ILOM it is not necessary to reset the service processor to change the network configuration. However, if you want your changes to be retained after the next reset of the service processor, you must commit the changed values.
Caution - In ILOM, if you change the value of the property and reset the SP without committing the change, the new property setting will notbe retained. |
1. Change the value of the target network configuration property.
2. Use either the ALOM CMT command setsc netsc_commit true or the ILOM command set /SP/network commitpending=true to commit the change.
For example, set a static IP address using the ALOM CMT compatibility shell:
Set the same property using the ILOM CLI:
-> set /SP/network pendingipaddress=xxx.xxx.xxx.xxx Set ’pendingipaddress’ to ’xxx.xxx.xxx.xxx’ -> set /SP/network commitpending=true Set ’commitpending’ to ’true’ |
1. Change the value of the target serial port configuration property.
2. Use either the ALOM CMT command setsc ser_commit true or the ILOM command set /SP/serial/external commitpending=true to commit the change.
Refer to TABLE B-1 for a list of variables and corresponding properties.
/SP/network commitpending |
|
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.
To Create an ALOM CMT Compatibility Shell |
1. Log on to the service processor as root.
When powered on for the first time, the SP boots to the ILOM login prompt. If you are logging on for the first time, refer to the Sun Blade T6340 Server Module Installation and Administration Guide for instructions.
2. Create a user named admin, then set the admin account role to Administrator and the CLI mode to alom.
If a user admin with the Administrator role has not yet been created, 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 |
Note - The asterisks in the example will not appear when you enter your password. |
If the user admin with the Administrator role already exists, you need only to change the CLI mode to alom:
3. Log out of the root account after you have finished creating the admin account:
You are returned to the ILOM login prompt.
4. Log in to the ALOM CLI shell from the ILOM login prompt:
The sc> prompt indicates you are in the ALOM CMT compatibility shell.
To Switch Between the ALOM CMT Shell and the Host Console |
To Return to the ILOM |
1. Log out of the ALOM CMT compatibility shell:
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.
In 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 ILOM - ALOM CMT Command Comparison. Refer also to the Sun Blade T6320 Server Module Service Manual for information about service-related ALOM CMT compatibility shell commands.
TABLE B-2 compares the command sets of ALOM CMT and the default ILOM CLI. Only the supported ALOM CMT command options are listed. In some case, where ALOM CMT command-line arguments have no corresponding ILOM properties, those ALOM CMT arguments have been omitted. The command set of the ALOM CMT compatibility shell provides a close approximation of the equivalent commands and arguments (where supported) in ALOM CMT. Refer also to the Sun Blade T6320 Server Module Service Manual for information about service-related ALOM CMT compatibility shell commands.
TABLE B-3 displays ALOM CMT variables and the ILOM properties to which they can be compared. The comparison does not imply a one-to-one mapping. To understand the ILOM properties, it is necessary to view them in their own context, ILOM.
Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.