Reference Guide
serveraction
Description Enables you to perform power management operations on the host system.
To use this subcommand, you must have Execute Server Control Commands permission.
Synopsis
racadm serveraction <action>
Input
• -m <
module
> -
server-nx where
n
=1-8 ;
x
= a,b,c,d
• -a - Performs action on all servers. Not allowed with the powerstatus action.
• -f - Force the action. Required for the reseat 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 shutdown cleanly, then this operation will not be 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 power down and then
power up the system.
— powerdown — Powers down the managed system.
— powerup — Powers up the managed system.
— powerstatus — Displays the current power status of the server (ON or OFF).
— reseat — Performs virtual reseat of the server. This operation simulates reseating the
blade by resetting the iDRAC on that blade.
NOTE: The action powerstatus is not allowed with -a option.
Output Displays an error message if the requested operation fails, or a success message if the operation is
completed.
Example
• Power Down Blade 16 from the CMC
racadm serveraction -m server-16 powerdown
Server power operation successful
• Power Down Blade from iDRAC
racadm serveraction powerdown
Server power operation successful
• Power Down Blade 16 from CMC when Power is already Off on that blade
racadm serveraction -m server-16 powerdown
Server is already powered OFF.
• Power Down Blade from iDRAC when Power is already off on that blade.
racadm serveraction powerdown
Server is already powered OFF
• Get Power Status of blade 16 on CMC
racadm serveraction -m server-16 powerstatus
ON
• Get Power Status on iDRAC
racadm serveraction powerstatus
Server Power Status: ON
• Reseat blade 2 on CMC
$ racadm serveraction -m server-2 reseat -f
116