ALOM Shell Commands


The following table lists the ALOM shell commands and briefly describes what these commands do. For more information about each command, click on the command name.

Command Description
help Displays a list of all ALOM commands with their syntax and a brief description of how each command works.
resetsc [-y] Reboots ALOM. The -y option allows you to skip the confirmation question.
reset [-y] [-x] Generates a hardware reset on the host server. The -x option generates the equivalent of an XIR (externally initiated reset) on the server. The -y option allows you to skip the confirmation question.
poweroff [-y] [-f] Removes the main power from the host server. The -y option allows you to skip the confirmation question. The -f option forces an immediate shutdown.
poweron Applies the main power to the host server or FRU.
flashupdate
Updates the ALOM firmware. This command downloads main and bootmon firmware images to ALOM.
removefru [-y] [FRU] Prepares a FRU (for example, a power supply) for removal, and illuminates the host server's OK-to-Remove LED. The -y option allows you to skip the confirmation question.
setsc Sets the specified ALOM parameter to the assigned value.
setupsc Runs the interactive configuration script. This script configures the ALOM configuration variables.
setdate Sets the date and time, when the managed operating system is not running.
setdefaults [-y]
[-a]
Resets all ALOM configuration parameters to their default values. The -y option allows you to skip the confirmation question. The -a option resets the user information to the factory default (one admin account only).
setlocator [on/off] Turns the Locator LED on the server on or off. This function is available only on host servers that have a Locator LED.
showlocator Displays the current state of the Locator LED as either on or off. This function is available only on host servers that have a Locator LED.
showplatform [-v] Displays information about the host server's hardware configuration, and whether the hardware is providing service.
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, and keyswitch position.
showfru Displays information about the FRUs (field-replaceable units) in a host server.
showusers [-g]lines Displays a list of users currently logged in to ALOM. 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.
shownetwork [-v] Displays the current network configuration information. The -v option shows additional information about your network, including information about your DHCP server.
showsc [-v] Displays the current NVRAM configuration parameters. The -v option is needed for full version information.

showlogs [-v]

Displays the history of all events logged in the ALOM event buffer.
showdate Displays the ALOM set date. The Solaris operating environment and ALOM time are synchronized, but ALOM time is expressed in UTC (Coordinated Universal Time) rather than local time.
usershow Displays a list of all user accounts, permission levels, and whether passwords are assigned.
useradd Adds a user account to ALOM.
userdel [-y] Deletes a user account from ALOM. The -y option allows you to skip the confirmation question.
userpassword Sets or changes a user password.
userperm Sets the permission level for a user account.
password Changes the login password of the current user.
console [-f] Connects to the host system console. The -f option forces the console write lock from one user to another.
break [-y] Drops the host server from running the Solaris operating environment into OpenBoot PROM or kadb. The -y option allows you to skip the confirmation question.
bootmode [skipdiag | diag | reset_nvram | normal | bootscript="string"] Controls the host server OpenBoot PROM firmware method of booting.
logout Logs out from an ALOM shell session.

consolehistory [-v] [boot | run]

Displays the host system console output buffers. The -v option displays the entire contents of the specified log.

 


About ALOM configuration variables

About the scadm utility

Types of ALOM commands