Reference Guide

UserName
Password
ShareName //10.94.161.112/xxxx/dtk_3.3_73_Linux.iso
serveraction
Description Enables you to perform power management operations on the host system.
To use this subcommand, you must have the Execute Server Control Commands permission.
Synopsis
racadm serveraction <action>
Input
-m <
module
> -
server-n, where
n
=1–4
-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 cleanly shutdown, 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 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 resetting the iDRAC on a server.
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 Off on that server
racadm serveraction -m server-3 powerdown
Server is already powered OFF.
Turn off the server from iDRAC when Power is already 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
81