Alom, Ilom, & Elom Part II

Managementilomelomimpiloginscreen
Part II of this Post is composed of a list of Alom commands and their Ilom counterparts. This information was taken from a document that was found on Sunsolve. I felt that this section was the most helpfull. Note that the original document has additional commands listed, however I chose to omit those that I felt were less useful.

<!–
@page { size: 5in 11in; margin: 0.79in }
P { margin-bottom: 0.08in }
–>

ALOM

Summary

ILOM

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
[
-a]
Resets all
ALOM CMT configuration parameters to their default values. The

-a
option resets the user
information to the factory default (one
admin
account only).
set
/SP reset_to_defaults=all
 
setkeyswitch
[normal|stby|diag|

locked] 
Set 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.

No equivalent in ILOM
showplatform [-v]
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.

show
/HOST
 
showfru Displays
information about the field-replaceable units (FRUs) in a host
server.

No equivalent in ILOM
showusers
[-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
/SP/sessions
 
showhost
[
version] 
Displays
version information for host-side components

show
/HOST
 
showkeyswitch  Display
status of virtual keyswitch.

show
/SYS keyswitch_state
 
showsc
[param]
Displays the
current non-volatile read-only memory (NVRAM) configuration
parameters.


show
target property 

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.


show
/SP/clock datetime
 


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|dsa
 


set
/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.


show
/SP/users
 

useradd
username
Adds a user
account to ALOM CMT.


create
/SP/users/
username 

userdel username


userdel -y username 

Deletes a
user account from ALOM CMT. The
-y
option enables you to skip the confirmation question.


delete
/SP/users/
username 


delete
-script /SP/users/
username 

userpassword
[username]
Sets or
changes a user password.


set
/SP/users/
username
password
 

userperm
[
username] [c]
[
u]
[
a]
[
r]
Sets the
permission level for a user account.


set
/SP/users/
username
role=
permissions 


(where permissions
are
Administrator
or
Operator) 

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
 
shownetwork
[
-v]
Displays the
current network configuration information. The
-v
option shows additional
information about your network, including information about your
DHCP server.

show
/SP/network
 
console [-f]
Connects to
the host system console. The
-f
option forces the console write lock from one user to another.

start
/SP/console
 


break [-c]


break [-D]

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
 


set /HOST send_break_action=dumpcore

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]
Downloads
and updates system firmware (both host firmware and ALOM CMT
firmware). For ILOM, ipaddr must be a TFTP server. If DHCP
is used, ipaddr can be replace by the name of the TFTP
host.


load
-source tftp://
ipaddr/pathname 


reset [-c]


reset [-y]
[
-c]

Generates a
hardware reset on the host server. The
-y
option enables you to skip the confirmation question.


reset
/SYS
 


reset
-script /SYS
 


powercycle
[-y][-f] 


powercycle
-y


powercycle -f

poweroff
followed by
poweron.
The
-f
option forces an immediate
poweroff,
otherwise the command attempts a graceful shutdown.


stop
/SYS
 


start
/SYS
 


stop
-script /SYS
 


start
-script /SYS
 


stop
-force /SYS
 


start
-force /SYS
 


poweroff


poweroff -y 


poweroff -f 

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
/SYS
 


stop
-script /SYS
 


stop
-force /SYS
 

Poweron Applies the
main power to the host server or FRU.
start
/SYS
 
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.


show
/SP/faultmgmt
 

clearfault
UUID
Manually
repairs system faults.


set
/SYS/
component
clear_fault_action=true
 

showlocator Displays the
current state of the Locator LED as either on or off.


show
/SYS/LOCATE
 

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 

Other
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 


resetsc


resetsc -y 

Reboots ALOM
CMT. The

-y
option enables you to skip
the confirmation question.


reset
/SP
 


reset
-script /SP
 

logout Logs out
from an ALOM CMT shell session.
exit 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s