Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1010487.1
Update Date:2010-05-12
Keywords:

Solution Type  Technical Instruction Sure

Solution  1010487.1 :   Sun Fire[TM] V210/215/240/245/440/445 servers: How to set up systems to power up automatically?  


Related Items
  • Sun Fire V240 Server
  •  
  • Sun Fire V245 Server
  •  
  • Sun Fire V440 Server
  •  
  • Sun Fire V215 Server
  •  
  • Sun Fire V445 Server
  •  
  • Sun Fire V210 Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>Entry-Level Servers
  •  

PreviouslyPublishedAs
214402


Description
Sun Fire[TM] V210/215/240/245/440/445 servers have 3 configuration settings which control
the behavior of the system after a power outage. These settings are :

ALOM variable sc_powerstatememory
ALOM variable sc_powerondelay
OBP variable auto-boot?

NOTE: V215/245 must have ALOM version 1.6.5 or higher for this to function
This document describes these variables and their function.



Steps to Follow
The ALOM sc_powerstatememory variable controls the action of the system when power is applied. Valid settings for this variable are :
  • true - Returns the system to the state it was in when the power was removed
  • false - Keeps the system powered off

If sc_powerstatememory is set to true, the ALOM sc_powerondelay variable controls how quickly the system will be powered on after power is applied. Valid settings are :

  • true - Power-on will be delayed for a random time period between 1 and 5 seconds
  • false - The system will power-on immediately.

Setting sc_powerondelay to true, thus delaying the server power-on, helps minimize current surges on the main power source. This is important when multiple servers in a rack, power on after a power outage.

The Online Boot PROM(OBP) auto-boot? variable, controls whether the
system will automatically boot the Solaris[TM] Operating System once it passes it's Power On Self Test (POST). Valid settings are :

  • true - Automatically boot Solaris
  • false - Remain at the OK prompt

The two ALOM variables can be set via ALOM commands or, while in Solaris OS, by using the scadm command. The OBP variable can be set from the OK prompt, or, while in Solaris OS, by using the eeprom command.

Examples

1. To set variables through ALOM:

       sc> setsc sc_powerstatememory true
sc> setsc sc_powerondelay true

2. To set the variables with scadm while in Solaris OS:
(from directory /usr/platform/SUNW,Sun-Fire-VXX0/sbin - MUST be run as root)

       # scadm set sc_powerstatememory true
# scadm set sc_powerondelay true

3. To set variable from OBP:

       ok setenv auto-boot? true

4. To set OBP variables from Solaris OS:

       # eeprom 'auto-boot?=true'


Product
Sun Fire V440 Server
Sun Fire V240 Server
Sun Fire V210 Server
Entry Level Servers
Sun Fire V445 Server
Sun Fire V245 Server
Sun Fire V215 Server

Internal Comments
For Sun Internal Use Only

Default settings as of ALOM 1.4 are :

sc_powerondelay false

sc_powerstatememory false


v210, v240, 215, 245, 445, alom, boot, power, v440, auto-boot, sc_powerondelay, sc_powerstatememory
Previously Published As
74713

Change History
Date: 2010-05-12
User name: Dencho Kojucharov
Action: Updated
Comments: Currency check by Entry-Level SPARC Content Lead
Date: 2007-09-02
User Name: 71396
Action: Approved
Comment: Performed final review of article.
No changes required.
Publishing.
Version: 7
Date: 2007-09-02
User Name: 71396
Action: Accept
Comment:
Version: 0

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback