Dell iDRAC Reboot Guest OS and Restart DRAC commands Link to heading

Send the following commands via SSH: Link to heading

ssh ‘racadm getsysinfo’

You can even redirect it to a file on your local system:

ssh ‘racadm getsysinfo’ | tee -a /path/to/file.txt

Reboot Guest OS (the OS installed on the hardware) Link to heading

(from: https://www.devops.zone/tricks/connecting-ssh-drac-reboot-server/)

Connect to the Dell Remote Access Controller (Drac) IP address via SSH. Then execute:

racadm serveraction

whereas you replace with one of the following:

  • powerdown — Powers down the managed system.
  • powerup — Powers up 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.
  • powerstatus — Displays the current power status of the server (“ON”, or “OFF”)
  • hardreset — Performs a reset (reboot) operation on the managed system.

So, to power off and back on your server, you just type racadm serveraction powercycle.

If your Drac crashes for any reason, you may want to reset it: (more info)

racadm racreset soft

If you want to have information about your current server, type:

racadm getsysinfo

(from: https://frednotes.wordpress.com/2012/11/13/reset-dell-idrac-using-ssh/)

How to reboot an DELL idrac when web page refuse access: Link to heading

Connect to idrac IP using ssh with the password refused by web page

$ ssh [email protected] [email protected]’s password:

The magic DELL tool is here : radadm

/admin1-> racadm Link to heading

RACADM version 1.80 (Build 17) Copyright (c) 2003-2010 Dell, Inc. All Rights Reserved Link to heading

RACADM usage syntax: racadm Examples: racadm getsysinfo racadm getsysinfo -d racadm getniccfg racadm setniccfg -d racadm setniccfg -s 192.168.0.120 255.255.255.0 192.168.0.1 racadm getconfig -g cfgLanNetworking Display a list of available subcommands for the RAC: racadm help Display more detailed help for a specific subcommand: racadm help Link to heading

So to reboot :

/admin1-> racadm racreset soft RAC reset operation initiated successfully. It may take up to a minute for the RAC to come back online again. /admin1-> Connection to 192.168.0.120 closed by remote host. Connection to 192.168.0.120 closed.