Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

iDRAC 8/7 v2.70.70.70 RACADM CLI Guide

PDF

serveraction

Table 1. Details of serveraction attributeThe following table provides the details of serveraction attribute:
Description Enables you to perform power management operations on the blade system.

To run this subcommand, you must have the Execute Server Control Commands permission.

Synopsis
racadm serveraction <action> -f 
  • 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> — 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
  • Get Power Status of blade 16 on CMC by using the following command:
    racadm serveraction -m server-16 powerstatus
     ON
  • Turn off the server 16 from CMC, when the power is already turned off on that server by using the following command:
    racadm serveraction -m server-16 powerdown
    Server is already powered OFF.
  • Power action on all servers by using the following command:
    racadm serveraction -a powerup

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\