Reference Guide

serveraction
Description Enables you to perform power management operations on the blade system.
To run this subcommand, you must have the Execute Server Control Commands
permission.
Synopsis
racadm serveraction -a <action>
racadm serveraction -m <module> <action>
Input
-m <module> — Must be one of the following values:
server–<n>: where n=1–16
server–<nx>: where n=1–8; x=a–d (enter lower case letter only)
-a — Performs power action on all servers. Not allowed with the powerstatus
action.
<action> — Specifies the power management operation to perform. The options are:
hardreset — Performs a force reset (reboot) operation on the managed system.
powercycle — Performs a power-cycle operation on the managed system. This
action is similar to pressing the power button on the system’s front panel to turn off
and then turn on the system.
NOTE: The -m and -a options are applicable only to CMC platforms.
NOTE: If the server is in turned off state, the powercycle option power up the
server.
powerdown — Powers down the managed system.
powerup — Powers up the managed system.
powerstatus — Displays the current power status of the server (ON or OFF).
graceshutdown — Performs a graceful shutdown of the server. If the operating
system on the server cannot shut down completely, then this operation is not
performed.
-f — Force the server power management operation.
reseat — Performs virtual reseat of the server. This operation simulates reseating
the blade by resetting the iDRAC on that blade. -f is required for this operation.
NOTE: The actionpowerstatus is not allowed with -a option.
Output Displays an error message if the requested operation is not completed, or a success
message if the operation is completed.
Example
Power down the operating system on the server by using the following command:
racadm serveraction powerdown
Powers down the managed system
Reseat blade 2 on CMC by using the following command:
racadm serveraction -m server-2 reseat -f
Server power operation successful
Turn off the server 16 from CMC by using the following command:
racadm serveraction -m server-16 powerdown
Server power operation successful
75