Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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)
share|improve this question
add comment

4 Answers

up vote 2 down vote accepted

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.

share|improve this answer
    
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. –  SeanKilleen Feb 7 '13 at 20:32
add comment

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|improve this answer
    
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. –  SeanKilleen Feb 7 '13 at 16:51
add comment

Yes you can. It may be simple as setting a cronjob from another Linux box. Use the remote IPMI features of modern servers (iDRAC is complaint in that) and send the power on command:

ipmipower --on -h hostname/oripaddressofidrac -u root -p password

share|improve this answer
    
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 :) –  Martino Dino Feb 7 '13 at 16:10
add comment

Some thoughts-

  1. You don't need to WOL an iDRAC - it's up as long as you have a working power cord and network cable. It doesn't need to be turned on - it's always on.

  2. I don't know of any scheduling for power, so it would have to be done via script job from another machine

  3. How is that machine (the one running the script) going to be turned on, if you lost power? Chicken and egg, I'm thinking

  4. Actual solution 1 : when power is resumed, connect remotely to your network, SSH or browse to the DRAC, and manually power up the server. The DRAC will be awake if your power and LAN are working, remember.

  5. Actual solution 2a and 2b : assuming you do have a working machine on the inside to run scheduled scripts, you could either run an SSH script against the DRAC to power up the server, or to send a WOL packet to the server itself, assuming it is configured to respond to these.

share|improve this answer
    
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! –  SeanKilleen Feb 7 '13 at 16:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.