Nethence Newdoc Olddoc Lab Your IP BBDock  


Those documents are obsolete, please use the Nethence Documentation instead.

HomeUnixWindowsOracleObsoleteHardwareDIYMechanicsScriptsConfigsPrivate

Setting up SUN ALOM
sc>
tested with Sun(tm) Advanced Lights Out Manager 1.5.4
 
Setup network & time
Connect to the Alom console either with serial or by telnet.
 
Note. no hostname nor dns setup available, just sc_customerinfo (customer data) as hostname if you wish.
Ref. https://docs.oracle.com/cd/E19102-01/n210.srvr/819-2445-11/variables.html#76739
Using ALOM Configuration Variables: https://docs.oracle.com/cd/E19102-01/n210.srvr/819-2445-11/variables.html
 
Eventually initialize and setup the whole thing,
#setdefaults [-y] [-a]
#setupsc
#resetsc [-y]
 
Configure network,
setsc netsc_dhcp false
setsc netsc_ipaddr <IP address>
setsc netsc_ipnetmask <Subnet mask>
setsc netsc_ipgateway <Gateway address>
check,
showsc netsc_dhcp
showsc netsc_ipaddr
showsc netsc_ipnetmask
showsc netsc_ipgateway
shownetwork
eventually reset the ALOM for the settings to take effect:
resetsc -y
Ref. http://sysadmin-tips-and-tricks.blogspot.fr/2012/02/alom-network-configuration.html
 
Set the date (you have to use UTC so it won't interfere with the system!),
setdate mmddHHMMccyy.SS
note. you don't have to provide the full date, just month day hour minute may work
check,
showdate
Ref. https://docs.oracle.com/cd/E19076-01/t1k.srvr/819-3250-11/command_shell.html
 
Setup alerts
Setup the SMTP relay/smarthost,
note. IP address is mandatory, resolve it first!
ping SMTP_SERVER_IP_ADDRESS
setsc mgt_mailhost SMTP_SERVER_IP_ADDRESS
and check,
showsc mgt_mailhost
Refs.
mgt_mailhost: http://unix.business.utah.edu/doc/hardware/sun/Manuals/Advanced_Lights_Out_Manager-v1.0/ALOMHTML/VARIABLES/H_MGT_MAILHOST.HTML
 
Define the mail alert, (3 minor contains 2 major contains 1 critical,),
setsc mgt_mailalert email@example.com 2
note. you can add several emails depending on the level if you need.
check,
showsc mgt_mailalert
note. to temove one email (just without the altert level, thanks to utah.edu link),
setsc mgt_mailalert anotheremail@example.com 
Refs.
To Set Up Email Alerts: https://docs.oracle.com/cd/E19102-01/n210.srvr/819-2445-11/common_tasks.html#44682
mgt_mailalert: http://unix.business.utah.edu/doc/hardware/sun/Manuals/Advanced_Lights_Out_Manager-v1.0/ALOMHTML/VARIABLES/H_MGT_MAILALERT.HTML
 
Note. I didn't find any way to test email alert, so you got two solutions,
- unplug one of the PSUs and you will see if you receive it;-)
- resetsc -y which sends an "CRITICAL: SC System booted." alert.
 
Usage
Run the console,
console
get out of the console,
#.
 
Power on the system,
poweron
 
Force power off,
poweroff -fy
 
Exit the telnet session,
logout
 
References
Configuring ALOM: https://docs.oracle.com/cd/E19102-01/n210.srvr/819-2445-11/configure.html
 

(obsolete, see the new doc)