Can I schedule machine boot via Dell iDRAC?

12,198

Solution 1

As far as I know, iDRAC has no WOL, there is however a WOL on other network interfaces, but I wouldn't enable it if your machine is connected to the internet. I also doubt that iDRAC supports scheduled reboot. You idea to use an SSH script is seemingly the best way to go.

Solution 2

I know you mentioned WOL Magic Packets, but you also mentioned you have SSH at your disposal. Here's a way to power on a Dell with iDRAC using SSH:

http://www.bartsp34ks.nl/networking/how-turn-on-your-dell-server-with-a-script-using-idrac-and-putty/

Establish an SSH session (the example had the command in a script file):

putty.exe -ssh [email protected] -m C:\putty\PowerOn.sh

Once the SSH session is established, run this command:

racadm serveraction powerup

Solution 3

I have setup WOL on the R410 / IDRAC6 servers for similar reasons. The WOL is activated via a powershell script which wakes the servers in a very specific order as we have clusters and servers which depend on other systems being available first. While unable to schedule a power up on individual servers I accomplish this by having a Locally connected workstation with this ability which in turn can then run the WOL powershell script to manage the power up and monitor progess of service / node startup. WOL was configured on one the system NICs on each server and the MAC address recorded in a hosts file with the server ID. This was done through the BIOS NIC menus. The powershell script also logs progress and emails updates. While in ideal conditions all runs well I have come across enough issues which have led me to insisting on being on site, some of these issues included elcectricians not completing work on time (late or partial power up) and system faults which only became visible following system power down and power up. The automated power up is still very valuable though as it reduces to risk of failure from human error - a possible issue at 3AM! Hope this helps.

Solution 4

If power is cut hard in your environment, the UPS and your systems should return to their last power state... E.g. your servers should come up when power is restored... Unless you're talking about powering them off manually ahead of the power cut... but at that point (and if you know that timing), you should be able to schedule the power up again.

As for out-of-band management like the DRAC or HP's ILO, they are active on AC. There's no need for wake-on-LAN.

Share:
12,198

Related videos on Youtube

Ashok Kumawat
Author by

Ashok Kumawat

A mind at work. Microsoft MVP - Developer Technologies Lead of NUnit docs https://docs.nunit.org Trainer, Speaker, Blogger Interested in working together? https://seankilleen.com/hire/

Updated on September 18, 2022

Comments

  • Ashok Kumawat
    Ashok Kumawat over 1 year

    I have a Dell PowerEdge R410 with iDRAC 6 configured and accessible.

    I know we'll be losing power at some point this weekend and I have a time that I would like to power on the machine again.

    From the iDRAC GUI, can I schedule a boot up time, or would I have to use an combination of ssh script + the racadm commands from another machine to pull that off?

    I've been looking around but I can't seem to find anything for it in the iDRAC GUI, which makes me think it may not be possible there.

    Another possibility: does the iDRAC MAC respond well to WOL requests? If so, I could maybe have a powershell script run the Start-Computer command to send the WOL magic packets to the iDRAC? Not sure if this is a workable/best method.

    Clarifications

    • In short, my goal is to bring this server up at a specified date/time.
    • The tools that I have at my disposal are:
      • Maybe a linux box in a failover building that could SSH in (not sure I'll have access to it)
      • My Win7 desktop (which may not be up)
      • I am familiar with PowerShell Scripting
      • I am minimally familiar with ssh (I understand it enough for basic tasks but have never had to automate it)
      • The iDRAC controller on the machine, which will presumably be up as soon as power returns.
      • anything available via the R410 BIOS (not sure if there is something like this)
    • I know the DRAC doesn't power management -- I'm looking for a way to possibly use it to start up the machine (having a scheduled boot option in an iDRAC seems like it would naturally be a good fit, but I guess not)
  • Martino Dino
    Martino Dino about 11 years
    It's not possible to create schedules directly from the iDRAC GUI, but the iDRAC is a mini linux system, I think some hacking might get you something that could work, but that some advanced stuff :)
  • Ashok Kumawat
    Ashok Kumawat about 11 years
    thanks for the response. 1) I'm referring to turning the machine on via an idrac which will come up automatically when the machine regains power. 2) thanks, i'll probably have to script it 3) we have many buildings/datacenters; only one is going down 4) I know how to do it manually, I'm looking to script it so I don't have to get up at 3am :) 4) that's the direction I'm going I think. Thanks!
  • Ashok Kumawat
    Ashok Kumawat about 11 years
    I should clarify: Not worried about OOB on the DRAC -- looking to use the DRAC connection to power up the box itself in a scheduled manner. We are powering them off ahead of time and I do know when I want them to come up, but I won't be there, hence trying to schedule them to come up in the easiest way possible.
  • Ashok Kumawat
    Ashok Kumawat about 11 years
    This does appear to be the case. I found an internal cloud datacenter to throw a management VM on and am using an SSH script on this to remote into the idrac and use racadm to send a powerup command to the server. It's working perfectly manually; working on the scheduled task aspect of it now. Thanks for the straightforward answer! This did end up being the way to go.