ALOM Commands
ALOM Commands
The ALOM (advanced light-outs manager) command shell enables you to administer,
diagnose, or control the host server. Below are some of the most commonly used ALOM
commands.
To check all the available commands :
sc> help
Available commands
-----------------poweron [-c] {FRU}
poweroff [-y] [-f]
removefru [-y] {FRU}
reset [-y] [-x] [-c]
break [-y] [-c]
bootmode [normal|reset_nvram|diag|skip_diag|bootscript="string"]
console [-f]
consolehistory [-b lines|-e lines] [-g lines] [-v] [boot|run]
showlogs [-b lines|-e lines] [-g lines] [-v]
setlocator [on|off]
showlocator
showenvironment
showfru
showplatform [-v]
showsc [-v] [param]
shownetwork [-v]
setsc [param] [value]
setupsc
showdate
setdate [[mmdd]HHMM | mmddHHMM[cc]yy][.SS]
resetsc [-y]
[c][u][a][r]
password
showusers [-g lines]
logout
help [command]
Connecting console
To login into the console from ALOM
SC> console
To take the console forcefully if already someone else has logged into console.
SC> console -f
To come out of the console use the escape character set. For example :
#.
SC> showenvironment
Network commands
There are 2 ways to set the ALOM IP address. Using the setupsc to set all the network
configuration variables or using the setsc command to set the network configuration
variables separately.
To setup the ALOM IP address manually using setsc
sc> setsc set if_network true
sc> setsc netsc_dhcp false
sc> setsc netsc_ipaddr 192.168.1.10
sc> setsc netsc_ipnetmask 255.255.255.0
sc> setsc netsc_ipgateway 192.168.1.1
sc> resetsc
Are you sure you want to reset the SC [y/n]?
User administration
Below are the commands used for adminstrating user accounts on system controller
(SC).
SC> usershow user_name
SC> password
SC> showusers
Poweron/poweroff/break Commands
To poweron the system
SC> poweron
Locator commands
To Display the locator indicator current state and to set it on/off
SC> showlocator
SC> setlocator [on|off]
# scadm set
# scadm show [variable]
# scadm useradd user_name
# scadm userdel user_name
# scadm usershow user_name
# scadm userpassword user_name
# scadm userperm user_name
# scadm shownetwork
# scadm consolehistory -a
# scadm loghistory -a
# scadm version -v
LOM commands
LOM commands (V1280/E2900)
The hardware models V1280/E2900 etc uses the Lights-out management to manage
the hardware. LOM is a set of software tools on the Sun Fire V1280/E2900 servers.
LOM is used to perform user maintenance and administrative activities.
lom> showboards
Poweron/poweroff
To poweron the system and boot solaris OS
lom> poweron
To view SC logs
schostname:SC> showlogs -v
To reset a domain
schostname:A> reset
ILOM commands
Integrated Lights-out Manager (ILOM) helps to manage and troubleshoot the complete
hardware of a server. With the help of ILOM we can remotely manage a server. We can
power on and power off it remotely. Let us see some of the most commonly used
commands in the ILOM shell.
Login related commands
-> start /SP/console
(start system)
(stop system)
(reset host)
Locator commands
To set the locator on or off
User administration
-> show /SP/users
(create
new user)
-> delete /SP/users/username
(Delete a user)
(List all
hardware info
-> show -level all -output table /SYS type==DIMM
(show DIMMS)
(show CPUs)
(show disks)
XSCF commands
The eXtended System Control Facility Unit (XSCFU) is a service processor that
operates and administrates both midrange servers. The XSCFU diagnoses and starts
the entire server, configures domains, offers dynamic reconfiguration, as well as detects
and notifies various failures. The XSCFU enables standard control and monitoring
function through network. Using this function enables starts, settings, and operation
managements of the server from remote locations.
Connecting a domain
Check for the available domains on the servers :
XSCF> showdomainstatus -a
DID Domain
Status
00
Running
01
Running
02
Running
03
Power/reboot/reset/panic commands
Poweron all domains
XSCF> poweron -a
XSCF> poweroff -a
Poweroff domain 0
XSCF> poweroff -d 0
Reboot XSCF
XSCF> rebootxscf
User Administration
Creating a New user
XSCF> adduser -u 345 admin
Delete a user
XSCF> deleteuser admin
Disable a user
XSCF> disableuser admin
Enable a user
XSCF> enableuser admin
-a
We must apply the network settings and reboot the XSCF in order to the network
settings to take effect :
XSCF> applynetwork
XSCF> rebootxscf
UUID
Nov 30 20:44:55.1283
9f773e33-e46f-466c-be86-fd3fcc449935
100%
MSG-ID
FMD-8000-0W
defect.sunos.fmd.nosub
.....
Logs
show the logs
XSCF> showlogs -v
XSCF> showlogs error
XSCF> showlogs power
Snapshots
From the OS prompt configure the newly added DVD device and restart the volmgmt
service:
# cfgadm -c configure # c0
# /etc/init.d/volmgt start
To set hostname and DNS domain name for XSCF doamin respectively
XSCF> sethostname xscf#0 hostname01
XSCF> sethostname -d example.com
RSC commands
Connecting console and logging out
RSC> console
RSC> logout
Use ~. to come out of the OS login, back to RSC. In case the escape character ~.
doesnt work check for the escape character from OS :
# /usr/platform/`uname -i`/sbin/rscadm show escape_char
escape_char=#.
If the console is busy fire either of the command from RSC and OS respectively :
RSC> resetrsc
# /usr/platform/`uname -i`/sbin/rscadm resetrsc
User Administration
RSC> usershow
user_name
RSC> password
Poweron/Poweroff/Break/Reset Commands
RSC> poweron
RSC> poweroff
RSC> break
RSC>resetrsc
RSC>reset
RSC> loghistory
RSC> show
RSC> showsc
Other Commands
RSC> showlocator
RSC> setlocator
RSC> shownetwork
RSC> date
RSC> showdate
RSC> version
date
set
show
shownetwork
loghistory
resetrsc
useradd
userdel
usershow
userpassword
userperm
version
status
OBP commands
ok> rsc-hard-reset
ok> rsc-soft-reset
ok> .rsc