power command

This command turns on and turns off blade servers and I/O modules. For advanced management modules installed in BladeCenter HT units, it also turns on and turns off the alarm panel module and network clock module.

Table 1. power command
Function What it does Command Valid targets
Power on Turns on the specified command target. power -on
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade administration (for blade server)
  • I/O module administration (for I/O module)
See Commands and user authority for additional information.
                           -T system:blade[x]
                        
                           -T system:switch[x]
                        

-T system:tap (BladeCenter HT units only)

-T system:ncc[x] (BladeCenter HT units only)

where x is the blade server, I/O-module bay, or network clock module number.

Power on to command console Opens a command console with an SOL session when the specified blade server is turned on. power -on -c
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade administration and blade remote presence
See Commands and user authority for additional information.
                           -T system:blade[x]
                        

where x is the blade server bay number.

Power off Turns off the specified command target. power -off
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade administration (for blade server)
  • I/O module administration (for I/O module)
See Commands and user authority for additional information.
                           -T system:blade[x]
                        
                           -T system:switch[x]
                        

-T system:tap (BladeCenter HT units only)

-T system:ncc[x] (BladeCenter HT units only)

where x is the blade server, I/O-module bay, or network clock module number.

Shutdown and power off blade server Shuts down the operating system and turns off the specified blade server. power -softoff
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade administration
See Commands and user authority for additional information.
                           -T system:blade[x]
                        

where x is the blade server number.

Power cycle Cycles power for the specified blade server or I/O module. If the blade server or I/O module is off, it will turn on. If the blade server or I/O module is on, it will turn off and then turn on. power -cycle
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade administration (for blade server)
  • I/O module administration (for I/O module)
See Commands and user authority for additional information.
                           -T system:blade[x]
                        
                           -T system:switch[x]
                        

where x is the blade server or I/O-module bay number.

Power cycle to command console Cycles power for the specified blade server. If the blade server is off, it opens a command console with an SOL session when it is turned on. If the blade server is on, it will turn off and then turn on. power -cycle -c
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade administration and blade remote presence
See Commands and user authority for additional information.
                           -T system:blade[x]
                        

where x is the blade server bay number.

Display power state Displays the current power state for the specified blade server or I/O module. Possible return values are off, on, standby, or hibernate. power -state
                           -T system:blade[x]
                        
                           -T system:switch[x]
                        

where x is the blade server or I/O-module bay number.

Enable / disable Wake on LAN globally Enables or disables Wake on LAN globally for all blade servers. power -wol state

where state is enabled or disabled.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system
                        
Enable / disable Wake on LAN for blade server Enables or disables Wake on LAN for the specified blade server. power -wol state

where state is enabled or disabled.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade configuration
See Commands and user authority for additional information.
                           -T system:blade[x]
                        

where x is the blade server bay number.

Enable / disable local power control globally Enables or disables local power control globally for all blade servers. power -local state

where state is enabled or disabled.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system
                        
Enable / disable local power control for blade server Enables local power control for the specified blade server. power -local state

where state is enabled or disabled.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade configuration
See Commands and user authority for additional information.
                           -T system:blade[x]
                        

where x is the blade server bay number.

Set automatic power-on policy for BladeCenter unit Sets the automatic power-on policy for the BladeCenter unit.

Changes to the power-on policy setting take effect after the next cold start of the BladeCenter unit.

power -ap policy
where policy is:
  • restore: all blade servers that were previously on will be powered on
  • auto: when power is applied to the BladeCenter unit, all blade servers will be powered on
  • manual: all blade servers will remain off until manually powered on
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system
                        
Display fast POST setting for I/O module Displays the current fast POST setting for specified I/O module.
Note: This target works only for some I/O modules.
power
                           -T system:switch[x]
                        

where x is the I/O-module bay number.

Enable / disable fast POST for I/O module Enables or disables fast POST globally for the specified I/O module.
Note: This option works only for some I/O modules.
power -fp state

where state is enabled or disabled.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • I/O module administration
See Commands and user authority for additional information.
                           -T system:switch[x]
                        

where x is the I/O-module bay number.

Display POST status for I/O module Displays the POST status for the specified I/O module. If the command is run while POST is in progress, it returns the level of POST that is currently in process. If the command is run after POST is complete, it displays one of the following return values:
  • The POST results could not be read. message displays if there was an internal error during POST.
  • The POST results not complete: hex_code message displays if POST results are not available after POST completes.
  • If POST returns valid results, one of the following messages displays:
    • hex_code: Base internal function failure detected.
    • hex_code: Internal interface failure detected.
    • hex_code: External interface failure detected.
    • hex_code: Module completed POST successfully.
    • hex_code: Cannot decode POST result code.
  • The Invalid POST results. message displays if none of the above conditions is true.

Where hex_code is a hexadecimal code. See the documentation that comes with your I/O module for information.

Note: This command option is not supported for serial concentrator I/O modules.
power -state -post
                           -T system:switch[x]
                        

where x is the I/O-module bay number.

Example:

To display the power state for the blade server in blade bay 5, while this blade server is set as the persistent command environment, at the system:blade[5]> prompt, type
                  power -state
               
To turn on the blade server in blade bay 5, while this blade server is set as the persistent command environment, at the system:blade[5]> prompt, type
                  power -on
               
To display the power state for the blade server in blade bay 5 again, while this blade server is set as the persistent command environment, at the system:blade[5]> prompt, type
                  power -state
               

The following example shows the information that is returned from these three commands:

               system:blade[5]> power -state
Off
system:blade[5]> power -on
OK
system:blade[5]> power -state
On
system:blade[5]>