CLI Guide
Table 88. Details of serveraction (continued)
Synopsis
racadm serveraction -m <module> <action>
racadm serveraction -a <action>
Input • -m<module> —
server-n, where n=1–4
• -a — Performs action on all servers. Not allowed with the powerstatus action.
• <action> — Specifies the action. The options for the <action> string are:
— graceshutdown — Performs a graceful shutdown of the server. If the operating system on
the server cannot be cleanly shut down, this operation is not performed.
— hardreset — Performs a reset (reboot) operation on the managed system.
— powercycle — Issues 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.
— powerdown — Turns off the managed system.
— powerup — Turns on the managed system.
— powerstatus — Displays the current power status of the server (ON or OFF).
— reseat — Performs a virtual reseat of the server. This operation simulates reseating the
server by resettig the iDRAC on a server.
NOTE: The reseat option is not available for individual FM120 servers.
NOTE: The -f option is required to force the ‘reseat’ action.
NOTE: The action powerstatus is not allowed with an -a option.
Output Displays an error message if the requested operation fails, or a success message if the operation is
completed.
Example • Turn off server 3 from the CMC.
racadm serveraction -m server-3 powerdown
Server power operation successful.
• Turn off server 3 from iDRAC.
racadm serveraction powerdown
Server power operation successful
• Turn off server 3 from CMC when power is already turned off on that server.
racadm serveraction -m server-3 powerdown
Server is already powered OFF.
• Turn off the server from CMC when power is already turned off on that server.
racadm serveraction powerdown
Server is already powered OFF
• Get Power Status of server 2 on CMC
racadm serveraction -m server-2 powerstatus
ON
80
RACADM Subcommand Details