power command

This command turns on and turns off blade servers and I/O modules.

Table 1. power command
Function What it does Command Valid targets
Power on Turns on the specified command target. power -on

Command use restricted (see Commands and user authority).

                           -T system:blade[x]
                        
                           -T system:switch[x]
                        

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

Power on to command console Opens a command console with an SOL session when the specified blade server is turned on. power -on -c

Command use restricted (see Commands and user authority).

                           -T system:blade[x]
                        

where x is the blade server bay number.

Power off Turns off the specified command target. power -off

Command use restricted (see Commands and user authority).

                           -T system:blade[x]
                        
                           -T system:switch[x]
                        

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

Command use restricted (see Commands and user authority).

                           -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

Command use restricted (see Commands and user authority).

                           -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

Command use restricted (see Commands and user authority).

                           -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.

Command use restricted (see Commands and user authority).

                           -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.

Command use restricted (see Commands and user authority).

                           -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.

Command use restricted (see Commands and user authority).

                           -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.

Command use restricted (see Commands and user authority).

                           -T system:blade[x]
                        

where x is the blade server bay number.

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.

Command use restricted (see Commands and user authority).

                           -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]>