Java Solaris Communities Partners My Sun Sun Store United States Worldwide

BigAdmin
BigAdmin System Administration Portal
Community-Submitted Tech Tip

This content is submitted by a BigAdmin user. It has not been reviewed for technical accuracy by Sun Microsystems, though it may have been lightly edited to improve readability. If you find an error or would like to comment on the article, please contact the submitter or use the comment field at the bottom of the article. Community submissions may not follow Sun trademark guidelines. For information on Sun trademarks, please see http://www.sun.com/suntrademarks/.
 
 

Setup Procedure for the ALOM Network Management Interface

Bernhard Hallerbach, July 2006


About the Advanced Lights Out Manager (ALOM)

ALOM is a system controller providing a command-line interface that can be used to remotely monitor and control Sun Fire V series servers.

ALOM enables the administrator to run diagnostics (such as POST) remotely and can be configured to send email alerts of hardware failures/warnings or other server-related events. Components that ALOM can monitor include, for example, system temperature and voltages, CPUs, disk drives, fans, and power supplies.

ALOM runs independently of the server, using the server's standby power. Therefore, its firmware continues to function when the server operating system goes offline or when the server is powered off.


Setup Procedure for the ALOM Network Management Interface

Note: I've tested the instructions with ALOM versions 1.3, 1.5.1 and 1.5.4. Some configurable options of version 1.5.x are missing in earlier versions, but this does not affect the given instructions.

1. Collect the required setup data for the network management interface as shown here.

Table 1
Description
Value
ALOM Net Management Interface IP Address
ALOM Net Management Interface Netmask
Network Gateway IP Address
Mail Host IP Address
Recipient Email Address
Some Customer Data (up to 40 characters, optional)
SC CLI Prompt (up to 16 characters, optional)
 

2. Establish a serial connection to the port named Serial Mgt (settings: 9600 8N1). On a system running the Solaris OS, enter the following:

prompt% tip /dev/term/a -9600
connected

Enter the escape sequence [#.] to get the serial console prompt.

3. First set a login password for the default user admin :

sc> password
password: Changing password for admin

Enter new password: ********

Re-enter new password: ********

sc>

4. Set up the network management interface:

sc> setupsc
Entering Interactive setup mode. To exit and discard changes to that 
point, use Ctrl-C or to exit and save changes to that point, use Ctrl-Z.
Do you wish to configure the enabled interfaces [y]? y

Should the SC network interface be enabled [y]? y

Should the SC email alerts be enabled [y]? n

Do you wish to configure the network interface [y]? y

Should the SC use DHCP to obtain its network configuration [n]? n

Enter the SC IP address [100.100.100.100]? <sc-ip-address>

Enter the SC IP netmask [255.255.255.0]? <sc-ip-netmask>

Enter the SC IP gateway address [100.100.100.100]? <sc-gateway-ip>

Should the TPE link test be enabled [y]? y

Do you wish to configure the managed system interface [y]? y

What level of SC events should be reported to the managed system where 
valid settings are 0 (none), 1 (critical), 2 (critical and major) and 3 
(critical, major and minor) [2]? 2

What action should the SC invoke if the OS is hung. The available 
options are 'none', 'xir' or 'reset' where an xir will attempt to 
collect diagnosis data before invoking a reset [xir]? xir

How many seconds should be allowed for an XIR to complete (maximum 
timeout of 10800s) [900]? 900

Do you wish to configure the network management interfaces [y]? y

Enter the number of mail servers to configure [0]? 1

Enter the IP address for mail server 1 [100.100.100.100]? <mailhost-ip>

Enter the number of email recipients to configure [0]? 1

Enter the email address for recipient 1 (maximum of 30 characters) []? 
 <email@address>

Enter the level of events to send to recipient 1 where valid settings 
are 1 (critical), 2 (critical and major) and 3 (critical, major and 
minor) [2]? 2

Do you wish to configure the SC parameters [y]? y

Enter any customer data for this platform (maximum of 40 characters) []?
<some-customer-data>

Enter the console session escape sequence (2 characters). The first 
character can be any printable characters or control-A through 
control-Y except for control-C, control-D, control-H, control-J, or control-M. 
The second character must be a ".". [#.]? #.

Enter level of events to be displayed over the CLI where valid settings 
are 0 (none), 1 (critical), 2 (critical and major) and 3 (critical, 
major and minor) [2]? 2

Should poweron sequencing be enabled [y]? y

Enter the SC cli prompt (maximum of 16 characters) [sc]? <sc-cli-prompt>

Enter the SC CLI timeout in seconds (maximum of 10000s) [0]? 0

Should password entry echo '*'s [y]? y

Your ALOM configuration profile has been successfully completed. To 
activate your network configuration, please reset the SC.

sc>
5. Verify your configuration settings:
sc> showsc
Advanced Lights Out Manager v1.5.1

parameter                value
---------                -----
if_network               true
if_modem                 false
if_emailalerts           false
sys_autorestart          xir
sys_bootrestart          none
sys_bootfailrecovery     none
sys_maxbootfail          3
sys_xirtimeout           900
sys_boottimeout          120
sys_wdttimeout           60
netsc_tpelinktest        true
netsc_dhcp               false
netsc_ipaddr             <sc-ip-address>
netsc_ipnetmask          <sc-ip-netmask>
netsc_ipgateway          <sc-gateway-ip>
mgt_mailhost             <mailhost-ip>
mgt_mailalert            <email@address>
sc_customerinfo          <some-customer-data>
sc_escapechars           #.
sc_powerondelay          true
sc_powerstatememory      false
sc_clipasswdecho         true
sc_cliprompt             <sc-cli-prompt>
sc_clitimeout            0
sc_clieventlevel         2
sc_backupuserdata        true
sys_eventlevel           2
ser_baudrate             9600
ser_parity               none
ser_stopbits             1
ser_data                 8
netsc_enetaddr           00:12:34:56:78:9a
sys_hostname             myhostname
sys_enetaddr             00:12:34:56:78:9b
sc>

To change a single parameter, use the command setsc [param] [value].

6. Activate the configuration:
sc> resetsc -y
User Requested SC Shutdown

[...]

Please login: 
7. Test the ALOM network connection:

  • Disconnect the serial connection to the Serial Mgt port.
  • Connect the NET MGT port with the local area network via a switch. Note: The network management port is a 10-Mbit port!
  • Log in to ALOM from either the host that you just configured or from another machine on the LAN, as shown here.
prompt% telnet <sc-ip-address>

Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.

Sun(tm) Advanced Lights Out Manager 1.5.1 (myhostname)

Please login: admin
Please Enter password: ********

sc>

8. Here is the ALOM command list:

sc> help
Available commands
------------------
poweron {FRU}
poweroff [-y] [-f]
removefru [-y] {FRU}
reset [-y] [-x]
break [-y]
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]
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>

9. Here is the example output from the showenvironment command:

sc> showenvironment

=============== Environmental Status ===============


-----------------------------------------------------------------------------
System Temperatures (Temperatures in Celsius):
-----------------------------------------------------------------------------
Sensor         Status Temp LowHard LowSoft LowWarn HighWarn HighSoft HighHard
-----------------------------------------------------------------------------
MB.P0.T_CORE    OK      49     --      --      --      88       93      100
MB.T_ENC        OK      21     -6      -3       5      40       48       51

--------------------------------------
Front Status Panel:
--------------------------------------
Keyswitch position: NORMAL

--------------------------------------------------------
System Indicator Status:
--------------------------------------------------------
MB.LOCATE            MB.SERVICE           MB.ACT
--------------------------------------------------------
OFF                  OFF                  OFF

--------------------------------------------
System Disks:
--------------------------------------------
Disk   Status            Service  OK2RM
--------------------------------------------
HDD0   OK                OFF      OFF
HDD1   NOT PRESENT       OFF      OFF

----------------------------------------------------------
Fans (Speeds Revolution Per Minute):
----------------------------------------------------------
Sensor           Status           Speed   Warn    Low
----------------------------------------------------------
F0.RS            OK               11440     --   1000
F1.RS            OK               10546     --   1000
F2.RS            OK               11250     --   1000
F3.RS            OK               11250     --   1000
MB.P0.F0.RS      OK               15697   2000   2000
MB.P0.F1.RS      OK               16875   2000   2000

-----------------------------------------------------------------------------
Voltage sensors (in Volts):
-----------------------------------------------------------------------------
Sensor         Status       Voltage LowSoft LowWarn HighWarn HighSoft
-----------------------------------------------------------------------------
MB.P0.V_CORE   OK             1.46      --    1.26    1.54       --
MB.P1.V_CORE   OK             1.41      --    1.26    1.54       --
MB.V_VTT       OK             1.24      --    1.17    1.43       --
MB.V_GBE_+2V5  OK             2.51      --    2.25    2.75       --
MB.V_GBE_CORE  OK             1.20      --    1.08    1.32       --
MB.V_VCCTM     OK             2.54      --    2.25    2.75       --
MB.V_+2V5      OK             2.50      --    2.34    2.86       --
MB.V_+1V5      OK             1.49      --    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

-----------------------------------------------------------------------------
Power Supplies:
-----------------------------------------------------------------------------
Supply  Status        Underspeed  Overtemp  Overvolt  Undervolt  Overcurrent
-----------------------------------------------------------------------------
PS0     OK            OFF         OFF       OFF       OFF        OFF

----------------------
Current sensors:
----------------------
Sensor          Status
----------------------
MB.FF_SCSI       OK
sc>

For a short description of the available commands, use the command help [command].

10. The scadm command provides functionality equivalent to that of the ALOM commands on the operating system level. This command must be executed by the user as root:

# /usr/platform/`uname -i`/sbin/scadm help

USAGE: scadm <command> [options]
  For a list of commands, type "scadm help"

scadm - COMMANDS SUPPORTED

  help, date, set, show, resetrsc, download, send_event, modem_setup,
  useradd, userdel, usershow, userpassword, userperm, shownetwork,
  loghistory, version

scadm - COMMAND DETAILS
  scadm help => this message
  scadm date [-s] | [[mmdd]HHMM | mmddHHMM[cc]yy][.SS] => print or set date
  scadm set <variable> <value> => set variable to value
  scadm show [variable] => show variable(s)
  scadm resetrsc [-s] => reset SC (-s soft reset)
  scadm download [boot] <file> => program firmware or [boot] monitor
  scadm send_event [-c] "message" => send message as event (-c CRITICAL)
  scadm modem_setup => connect to modem port
  scadm useradd <username> => add SC user account
  scadm userdel <username> => delete SC user account
  scadm usershow [username] => show user details
  scadm userpassword <username> => set user password
  scadm userperm <username> [cuar] => set user permissions
  scadm shownetwork => show network configuration
  scadm loghistory => show SC event log
  scadm version [-v] => show SC version (-v verbose)

#

For More Information

 


The information and links on this page have been provided by a BigAdmin user. The submitter is solely responsible for such information and links. Sun is not responsible for the availability of external sites or resources, and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. Sun will not be responsible or liable, directly or indirectly, for any actual or alleged damage or loss caused by or in connection with use of or reliance on the information posted here, or goods or services available on or through any external site or resource.

Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License.


Rate and Review
Tell us what you think of the content of this page.
Excellent   Good   Fair   Poor  
Comments:
If you would like a reply to your comment, please submit your email address:
Note: We may not respond to all submitted comments.
  
 
 
 
 
 
BigAdmin News
Information & Resources
delivered to you.
Subscribe today!
Help us make this site better for system admins
Would you recommend this Sun site to a friend or colleague?
Contact About Sun News & Events Employment Site Map Privacy Terms of Use Trademarks Copyright 1994-2006 Sun Microsystems, Inc.