You are on page 1of 3

18/07/13 ALOM (on SPARC system)

www.googlux.com/alom.html 1/3
Backtothemainpage
SunAdvancedLightsOutManagersystemcontroller(ALOMSC)onlyforSPARCsystem
ALOM System Controller enables you to remotely manage and administer a server.
It comes preinstalled on the machine, so as soon you plug in power cable, it works.
Yes, it uses server's standby power, which enables you to remotely power off and on server (very useful when someone schedule power outage in remote office and you want gracefully to bring server down and after outage power it on).
ALOM monitors hardware in the server, like CPU, RAM, Power supply, etc, and much more like Voltage and status of alarms.
Of course, all this exercise assumes you configured ALOM's network parameters. Try to have dedicated management subnet for this.
If you access ALOM and stay idle for 1 minute, it will switch to serial console.
Or you can type console and reach serial console of remote system from your cube or home living room.
sc> console
To go back to ALOM type #. (pound and dot)
This can be changed (if you really want) from ALOM with
sc> setsc sc_escapechars ## (for example)
hostname console login:
#. ---> switch from console to ALOM
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Sun(tm) Advanced Lights Out Manager 1.5.4 (hostname)
Please login: admin
Please Enter password: **********
Cannot login to the ALOM?
Try default password which is the last 8 digits of the chassis serial number. Username is admin.
Okay, I don.t want to write much about this, since commands are intuitive and easy to understand (note: they may vary from different ALOM versions)
So find about them by yourself and see what help offers you.
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]
18/07/13 ALOM (on SPARC system)
www.googlux.com/alom.html 2/3
resetsc [-y]
flashupdate [-s IPaddr -f pathname] [-v]
setdefaults [-y] [-a]
useradd
userdel [-y]
usershow [username]
userpassword
userperm [c][u][a][r]
password
showusers [-g lines]
logout
help [command]
I guess one of most used commands will be:
sc> setsc set if_network true
sc> setsc netsc_dhcp false
sc> setsc netsc_ipaddr 192.168.etc.etc
sc> setsc netsc_ipnetmask 255.255.255.etc
sc> setsc netsc_ipgateway 192.168.etc.etc
sc> resetsc
Are you sure you want to reset the SC [y/n]? y
sc> shownetwork
SC network configuration is:
IP Address: 192.168.etc.etc
Gateway address: 192.168.etc.etc
Netmask: 255.255.255.etc
Ethernet address: 00:14:4f:64:b2:6f
sc> showplatform
SUNW,Sun-Fire-v240
Domain Status
------ ------
hostname OS Running
sc> showenvironment
=============== Environmental Status ===============
--------------------------------------------------------------------------------
System Temperatures (Temperatures in Celsius):
--------------------------------------------------------------------------------
Sensor Status Temp LowHard LowSoft LowWarn HighWarn HighSoft HighHard
--------------------------------------------------------------------------------
MB.P0.T_CORE OK 56 -- -- -- 84 89 96
MB.P1.T_CORE OK 53 -- -- -- 84 89 96
MB.T_ENC OK 23 -6 -3 5 40 48 51
--------------------------------------
Front Status Panel:
--------------------------------------
Keyswitch position: NORMAL
--------------------------------------------------------
System Indicator Status:
--------------------------------------------------------
MB.LOCATE MB.SERVICE MB.ACT
--------------------------------------------------------
OFF OFF ON
--------------------------------------------
System Disks:
--------------------------------------------
Disk Status Service OK2RM
--------------------------------------------
HDD0 OK OFF OFF
HDD1 OK OFF OFF
HDD2 NOT PRESENT OFF OFF
HDD3 NOT PRESENT OFF OFF
----------------------------------------------------------
Fans (Speeds Revolution Per Minute):
----------------------------------------------------------
Sensor Status Speed Warn Low
----------------------------------------------------------
F0.RS OK 6490 -- 1000
F1.RS OK 6750 -- 1000
F2.RS OK 6553 -- 1000
MB.P0.F0.RS OK 16071 2000 2000
MB.P0.F1.RS OK 15697 2000 2000
MB.P1.F0.RS OK 15697 2000 2000
MB.P1.F1.RS OK 13235 2000 2000
--------------------------------------------------------------------------------
Voltage sensors (in Volts):
--------------------------------------------------------------------------------
Sensor Status Voltage LowSoft LowWarn HighWarn HighSoft
--------------------------------------------------------------------------------
18/07/13 ALOM (on SPARC system)
www.googlux.com/alom.html 3/3
MB.P0.V_CORE OK 1.46 -- 1.26 1.54 --
MB.P1.V_CORE OK 1.47 -- 1.26 1.54 --
MB.V_VTT OK 1.24 -- 1.17 1.43 --
MB.V_GBE_+2V5 OK 2.49 -- 2.25 2.75 --
MB.V_GBE_CORE OK 1.19 -- 1.08 1.32 --
MB.V_VCCTM OK 2.53 -- 2.25 2.75 --
MB.V_+2V5 OK 2.49 -- 2.34 2.86 --
MB.V_+1V5 OK 1.51 -- 1.35 1.65 --
MB.BAT.V_BAT OK 2.95 -- 2.70 -- --
--------------------------------------------
Power Supply Indicators:
--------------------------------------------
Supply Active Service OK-to-Remove
--------------------------------------------
PS0 ON OFF OFF
PS1 ON OFF OFF
------------------------------------------------------------------------------
Power Supplies:
------------------------------------------------------------------------------
Supply Status Underspeed Overtemp Overvolt Undervolt Overcurrent
------------------------------------------------------------------------------
PS0 OK OFF OFF OFF OFF OFF
PS1 OK OFF OFF OFF OFF OFF
----------------------
Current sensors:
----------------------
Sensor Status
----------------------
MB.FF_SCSI OK
sc> usershow
Username Permissions Password
admin cuar Assigned
sc> showfru
FRU_PROM at MB.SEEPROM
Manufacturer Record
Timestamp: THU NOV 23 02:06:23 UTC 2006
Description: FRUID,INSTR,M'BD,2X1.5GHZ,CPU,RoHS
Manufacture Location: Shunde,China
Sun Part No: 3753467
Sun Serial No: 1U0J7I
Vendor JEDEC code: 3E5
Initial HW Dash Level: 01
Initial HW Rev Level: 50
Shortname: MOTHERBOARD
Etc .etc .etc
Prefer working from the OS?
For some platforms, like SunFire V240 and V440, ALOM can be configured from OS level using scadm utility.
Unfortunately this is not supported on SunFire T2000.
Examples:
/usr/platform/SUNW,Sun-Fire-V240/sbin/scadm set if_network true
Enable Ethernet link integrity test:
/usr/platform/SUNW,Sun-Fire-V240/sbin/scadm set netsc_tpelinktest true
Enable backup of local user database (username, passwords, permissions) on system configuration card.
/usr/platform/SUNW,Sun-Fire-V240/sbin/scadm set sc_backupuserdata true
/usr/platform/SUNW,Sun-Fire-V240/sbin/scadm set netsc_dhcp false
/usr/platform/SUNW,Sun-Fire-V240/sbin/scadm set netsc_ipaddr 192.168.etc.etc
/usr/platform/SUNW,Sun-Fire-V240/sbin/scadm set netsc_ipnetmask 255.255.255.etc
/usr/platform/SUNW,Sun-Fire-V240/sbin/scadm set netsc_ipgateway 192.168.etc.etc
/usr/platform/SUNW,Sun-Fire-V240/sbin/scadm resetrsc
/usr/platform/SUNW,Sun-Fire-V240/sbin> ./scadm shownetwork
IP Address: 192.168.etc.etc
Gateway address: 192.168.etc.etc
Netmask: 255.255.255.etc
Ethernet address: 00:00:00:00:00:00
Backtothemainpage

You might also like