CLI Guide

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 lowercase letter only).
-a — Performs power action on all servers. Not allowed with the powerstatus action.
<action>Species 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 systems front panel to turn o 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 o 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.
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
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 o the server 16 from CMC by using the following command:
racadm serveraction -m server-16 powerdown
Server power operation successful
Get Power Status of blade 16 on CMC by using the following command:
racadm serveraction -m server-16 powerstatus
ON
Turn o the server 16 from CMC, when the power is already turned o on that server by using the following
command:
racadm serveraction -m server-16 powerdown
Server is already powered OFF.
RACADM Subcommand Details 71