ALOM commands:
==============
connecting console
sc>console
sc>console -f
sc>#. ---> to exit console use(OS prompt)
sc>setsc_escapchars #. ---> to set escape character to #. to exit console
sc>logout ---> to exit from console
System info:-
------------
sc>showplatform ----> check HW maodel and domain status
sc>showenvironment ----> Check sensor values
sc>showfru ----> FRUID/FRU prom
sc>showsc ---->Display details of sc software config
Network commands:-
-----------------
Setup ALOM IP address:
sc>setsc set if_network true
sc>setsc netsc_dhcp false
sc>setsc netsc_ipaddr 192.168.1.132
sc>setsc netsc_ipnetmask 255.255.255.0
sc>setsc netsc_ipgateway 192.168.1.1
sc>resetsc
sc>shownetwork -v ----> Display current netwoek config
sc>showuses --> list available users
sc>userpassword username --->set/reset userpasswd
sc>password ---> change own password
sc>usershow username ----> to details about user
power management:
sc>poweron
sc>poweroff
sc>reset
sc>break ----> send break signal to OS
logs:
sc>showlogs -v
sc>consolehistory
Server Locator:
sc>showlocator
sc>setlocator on/off
sc>dumpconfig -s ipaddr -f pathname ---->save your current ALOM configuration to a remote file server using FTP
Firmware upgrade:-
-----------------
sc>flashupdate -s ipaddr -f pathname/alomfw ---> to update single ALOM firmware image
sc>flashupdate -s ipaddr -f pathname/alommainfw --->For the main firmware image
sc>flashupdate -s ipaddr -f pathname/alombootfw ---> For the boot monitor image
sc>resetsc
eg:
sc> flashupdate -s xxx.xxx.xxx.xxx -f
/usr/platform/SUNW,Netrax40/lib/images/alommainfw
Username: joeuser
Password: ********
..........................
Update complete. To use the new image the device will need to be reset using 'resetsc'.
sc>
OS commands for ALOM :-
# cd /usr/platform/`uname -i`/sbin/scadm (path of scadm command)
# scadm resetrsc [-s] [ -s for soft reset ]
# scadm set [variable] [value]
# 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
c> 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|-v] [-g lines] [-p|boot|run]
dumpconfig [-t] -s <IPaddr> -f <pathname>
showlogs [-b lines|-e lines] [-g lines] [-v] [-p logtype[r|p]]
setlocator [on|off]
showlocator
showenvironment
setfru -c <Customer data>
showfru [-g lines] [-s|-d] [FRU]
showplatform [-v]
setkeyswitch [-y] [normal|stby|diag|locked]
showkeyswitch
showsc [-v] [param]
shownetwork [-v]
setsc [-r [y]] [param] [value]
ssh-keygen [-t rsa|dsa] [-r] [-l]
restartssh [-y |-n]
setupsc
showdate
setdate [[mmdd] HHMM | mmddHHMM[cc]yy] [.SS]
resetsc [-y]
restoreconfig [-t] [-x] [-y] -s <IPaddr> -f <pathname>
flashupdate -s <IPaddr> -f <pathname> [-v]
setdefaults [-y] [-a]
useradd <username>
userdel [-y] <username>
usershow [username]
userpassword <username>
userperm <username> [c] [u] [a] [r]
password
showusers [-g lines]
logout
help [command]
sc>
==============
connecting console
sc>console
sc>console -f
sc>#. ---> to exit console use(OS prompt)
sc>setsc_escapchars #. ---> to set escape character to #. to exit console
sc>logout ---> to exit from console
System info:-
------------
sc>showplatform ----> check HW maodel and domain status
sc>showenvironment ----> Check sensor values
sc>showfru ----> FRUID/FRU prom
sc>showsc ---->Display details of sc software config
Network commands:-
-----------------
Setup ALOM IP address:
sc>setsc set if_network true
sc>setsc netsc_dhcp false
sc>setsc netsc_ipaddr 192.168.1.132
sc>setsc netsc_ipnetmask 255.255.255.0
sc>setsc netsc_ipgateway 192.168.1.1
sc>resetsc
sc>shownetwork -v ----> Display current netwoek config
sc>showuses --> list available users
sc>userpassword username --->set/reset userpasswd
sc>password ---> change own password
sc>usershow username ----> to details about user
power management:
sc>poweron
sc>poweroff
sc>reset
sc>break ----> send break signal to OS
logs:
sc>showlogs -v
sc>consolehistory
Server Locator:
sc>showlocator
sc>setlocator on/off
sc>dumpconfig -s ipaddr -f pathname ---->save your current ALOM configuration to a remote file server using FTP
Firmware upgrade:-
-----------------
sc>flashupdate -s ipaddr -f pathname/alomfw ---> to update single ALOM firmware image
sc>flashupdate -s ipaddr -f pathname/alommainfw --->For the main firmware image
sc>flashupdate -s ipaddr -f pathname/alombootfw ---> For the boot monitor image
sc>resetsc
eg:
sc> flashupdate -s xxx.xxx.xxx.xxx -f
/usr/platform/SUNW,Netrax40/lib/images/alommainfw
Username: joeuser
Password: ********
..........................
Update complete. To use the new image the device will need to be reset using 'resetsc'.
sc>
OS commands for ALOM :-
# cd /usr/platform/`uname -i`/sbin/scadm (path of scadm command)
# scadm resetrsc [-s] [ -s for soft reset ]
# scadm set [variable] [value]
# 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
c> 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|-v] [-g lines] [-p|boot|run]
dumpconfig [-t] -s <IPaddr> -f <pathname>
showlogs [-b lines|-e lines] [-g lines] [-v] [-p logtype[r|p]]
setlocator [on|off]
showlocator
showenvironment
setfru -c <Customer data>
showfru [-g lines] [-s|-d] [FRU]
showplatform [-v]
setkeyswitch [-y] [normal|stby|diag|locked]
showkeyswitch
showsc [-v] [param]
shownetwork [-v]
setsc [-r [y]] [param] [value]
ssh-keygen [-t rsa|dsa] [-r] [-l]
restartssh [-y |-n]
setupsc
showdate
setdate [[mmdd] HHMM | mmddHHMM[cc]yy] [.SS]
resetsc [-y]
restoreconfig [-t] [-x] [-y] -s <IPaddr> -f <pathname>
flashupdate -s <IPaddr> -f <pathname> [-v]
setdefaults [-y] [-a]
useradd <username>
userdel [-y] <username>
usershow [username]
userpassword <username>
userperm <username> [c] [u] [a] [r]
password
showusers [-g lines]
logout
help [command]
sc>