CLI Guide

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 lowercase 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.
nmi — Generates the Non-masking interrupt (NMI) to halt the system operation. The NMI sends a high-level
interrupt to the operating system, which causes the system to halt the operation to allow critical diagnostic or
troubleshooting activities.
NOTE:
The halt system operation does not occur on systems running the Linux operating system.
-f — Force the server power management operation.
This option is applicable only for the PowerEdge-VRTX platform. It is used with powerdown,powercycle, and
hardreset options.
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 action powerstatus 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
Get Power Status on iDRAC
racadm serveraction powerstatus
Server Power Status: ON
racadm serveraction powercycle
Server power operation successful
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
106 RACADM Subcommand Details