ILOM and ALOM CMT Command Comparison
The following table provides a command-by-command comparison between the command sets of ALOM
CMT and the default ILOM CLI command set. Only the supported ALOM CMT
command options are listed in the tables below. Where there are ALOM CMT
command-line arguments that have no corresponding ILOM properties, those ALOM CMT arguments have
been omitted. The command set of the ALOM compatibility shell provides a close
approximation of the equivalent commands and arguments (where supported) in ALOM CMT.
Note - By default, when displaying information ALOM CMT commands limit their output to a
terse format, offering more verbose output if a –v flag is supplied with
the command. ILOM’s show commands do not have a terse output format. These commands
always provide verbose output.
Table 23 ALOM CMT Shell Configuration Commands
|
|
|
password |
Changes the login password
of the current user. |
set /SP/users/username password |
restartssh |
Restarts the SSH server so that new host keys generated
by the ssh-keygen command are reloaded. |
set /SP/services/ssh restart_sshd_action=true |
setdate [[mmdd]HHMM |mmddHHMM[cc]yy][.SS] |
Sets ALOM CMT date and
time. |
set /SP/clock datetime=value |
setdefaults |
Resets all ALOM CMT configuration parameters and the ILOM SP user database
to default values. |
set /SP reset_to_defaults=[none|factory|all] |
setkeyswitch [normal|stby|diag| locked] |
Sets the status of the virtual keyswitch. Setting the virtual keyswitch
to standby (stby) powers off the server. Before powering off the host server,
ALOM CMT asks for a confirmation. |
set /SYS keyswitch_state=value |
setsc [param] [value] |
Sets the specified ALOM CMT parameter to the
assigned value. |
set target property=value |
setupsc |
Runs the interactive configuration script. This script configures the ALOM CMT
configuration variables. |
|
|
Displays information about the host system’s hardware configuration,
and whether the hardware is providing service. The –v option displays verbose information
about the displayed components. |
|
showfru |
Displays information about the field-replaceable units (FRUs) in a host server.
|
Use the ILOM show [FRU] command to display static FRU information. (For dynamic
FRU information, use the ALOM CMT showfru command.) |
showusersshowusers –g lines |
Displays a list of users
currently logged in to ALOM CMT. The display for this command has a
similar format to that of the UNIX command who. The –g option pauses the
display after the number of lines you specify for lines. |
show –level all –o table /SP/sessionsNo equivalent
in ILOM for –g option |
|
Displays version information for host-side components. The version
option displays the same information as the showhost command with no option. |
|
showkeyswitch |
Displays status
of virtual keyswitch. |
show /SYS keyswitch_state |
showsc [param] |
Displays the current nonvolatile random access memory (NVRAM) configuration parameters.
|
|
showdate |
Displays the ALOM CMT date. ALOM CMT time is expressed in Coordinated
Universal Time (UTC) rather than local time. The Solaris OS and ALOM CMT
time are not synchronized. |
|
ssh-keygen –l ssh-keygen –r ssh-keygen –t {rsa|dsa} |
Generates Secure Shell (SSH) host
keys and displays the host key fingerprint on the SC. |
show /SP/services/ssh/keys rsa|dsaset /SP/services/ssh generate_new_key_action=true set /SP/services/ssh generate_new_key_type=[rsa|dsa] |
usershow [username] |
Displays a list
of all user accounts, permission levels, and whether passwords are assigned. |
|
useradd username |
Adds
a user account to ALOM CMT. |
create /SP/users/username |
userdel –y username |
Deletes a user account from
ALOM CMT. The –y option enables you to skip the confirmation question. |
delete [–script] /SP/users/username |
userpassword [username] |
Sets or
changes a user password. |
set /SP/users/username password |
userperm [username] [c] [u] [a] [r] [o] [s] |
Sets the permission
level for a user account. |
set /SP/users/username role=permissions [a|u|c|r|o] |
|
Table 24 ALOM CMT Shell Log Commands
|
|
|
showlogs -p [r|p] [–b lines|–e lines|–v] [–g
lines] |
Displays the history of all events logged in the event log, or
major and critical events in the event log. The –p option selects whether
to display entries only major and critical events from the event log ( r) or
to display all of the events from the event log ( p). –g lines
specifies the number of lines to display before pausing. –e lines displays n lines
from the end of the buffer. –b lines displays n lines from the beginning
of the buffer. –v displays the entire buffer. |
show /SP/logs/event/listNo equivalent in ILOM |
consolehistory [–b lines|–e lines|–v] [–g
lines] |
Displays the host server console output buffers. –g lines specifies the number of lines
to display before pausing. –e lines displays n lines from the end of the
buffer. –b lines displays n lines from the beginning of the buffer. –v displays
the entire buffer. |
set /SP/console/history property=valueset /SP/console/history property=value]set /SP/console/history property=value] show /SP/console/history where property can be: line_count=[lines] default value is ""
(none), meaning there is no limit to the total number of lines retrieved
from the buffer. pause_count=[count] default value is "" (none), meaning there is no limit
to the count of lines displayed per pause. start_from=[end|beginning] default value is end. |
|
Table 25 ALOM CMT Shell Status and Control Commands
|
|
|
showenvironment |
Displays the environmental status of the host server. This information includes system
temperatures, power supply status, front panel LED status, hard disk drive status, fan
status, voltage, and current sensor status. |
show –o table –level all /SYS |
showpower [–v] |
Displays power metrics for the host server. |
show /SP/powermgmt |
|
Displays
the current network configuration information. The –v option shows additional information about your network, including
information about your DHCP server. |
|
|
Connects to the host system console. The –f
option forces the console write lock from one user to another. In ILOM,
the –force option terminates the console, permitting you to start a new console. |
start [–force] /SP/console |
|
Drops the host server from running the Solaris OS software into OpenBoot PROM
or kmdb depending upon the mode in which the Solaris software was booted.
|
set /HOST send_break_action=[break|dumpcore][start /SP/console] |
bootmode [normal] [reset_nvram] [config=configname][bootscript =string] |
Controls the host server OpenBoot PROM firmware method of booting. |
set /HOST/bootmode property=value(where property is
state, config, or script) |
flashupdate –s IPaddr –f pathname [–v] [–y] [–c] |
Downloads and updates system
firmware (both host firmware and ALOM CMT firmware). For ILOM, ipaddr must be a
TFTP server. If you use DHCP, you can replace ipaddr with the name
of the TFTP host. The –y option enables you to skip the confirmation question. The
–c option enables you to update system firmware on your server without preserving
configuration information. After configuration information has been deleted (by having used the –c
option or the set /SP reset_to_defaults=factory command), you must use the –c option when
replacing system firmware that includes ILOM 3.0 with firmware that includes ILOM 2.0.
If you omit the –c option, the flashupdate command attempts to restore preserved configuration
information, halting the firmware downgrade because that configuration information is absent. |
load –source tftp://ipaddr/pathname |
reset [–y] [–c] [–d] [–f] [–n] |
Generates a hardware
reset on the host server or control domain. By default the system is
gracefully reset. The –d option specifies a reset for the control domain.The –n option specifies
domains should stop at the ok prompt after reset (applies to -d only).The
–y option enables you to skip the confirmation question.The –f option forces an immediate
reset.The –c option automaticclay connects to the HOST console after reset. |
reset [-script][–force] /SYS[start /SP/console]
[set /HOST/domain/control auto-boot=disable] reset [–script] [–force] /HOST/domain/control [start /SP/console]
|
powercycle [–y] [–f] |
poweroff
followed by poweron. The –f option forces an immediate poweroff, otherwise the command attempts a
graceful shutdown. |
stop [–script] [–force] /SYSstart [–script] [–force] /SYS |
|
Removes the main power from the host server. The –y
option enables you to skip the confirmation question. ALOM CMT attempts to shut
the server down gracefully. The –f option forces an immediate shutdown. |
stop [–script][–force] /SYS |
poweron |
Applies the main power
to the host server or FRU. |
|
setlocator [on/off] |
Turns the Locator LED on the server
on or off. |
set /SYS/LOCATE value=value |
showfaults [–v] |
Displays current valid system faults. |
|
clearfault UUID |
Manually repairs system faults. Use
the ILOM show faulty command to identify faulted components. |
set /SYS/component clear_fault_action=true |
showlocator |
Displays the current state of the
Locator LED as either on or off. |
|
|
Table 26 ALOM CMT Shell FRU Commands
|
|
|
setfru –c data |
The
–c option enables you to store information (such as inventory codes) on all FRUs
in a system. |
set /SYS customer_frudata=data |
showfru –g lines [–s|–d] [FRU] |
Displays information about the FRUs in a host server. |
|
removefru [–y]
[FRU] |
Prepares a FRU (for example, a power supply) for removal. The –y
option enables you to skip the confirmation question. |
set /SYS/PS0 prepare_to_remove_action=true |
|
Table 27 ALOM CMT Shell Automatic System Recovery (ASR) Commands
|
|
|
enablecomponent component |
Re-enables a
component that has been disabled using the disablecomponent command. |
set /SYS/component component_state=enabled |
disablecomponent component |
Disables a component. |
set /SYS/component component_state=disabled |
showcomponent component |
Displays system
components and their test status. |
show /SYS/component component_state |
clearasrdb |
Removes all entries from the the list of disabled components. |
|
|
Table 28 ALOM CMT Shell Miscellaneous Commands
|
|
|
help [command] |
Displays a list of all
ALOM CMT commands with their syntax and a brief description of how each
command works. Specifying a command name as an option enables you to view
the help for that command. |
help |
|
Reboots ALOM CMT. The –y option enables you to
skip the confirmation question. |
|
userclimode username shelltype |
Sets the type of shell to shelltype, where shelltype
is default or alom. |
set /SP/users/username cli_mode=shelltype |
logout |
Logs out from an ALOM CMT shell session.
|
exit |
setsc sys_ioreconfigure value |
Sets the ioreconfiguration parameter to value, where value is true,false, or next-boot |
set /HOST ioreconfigure=value |
|