Solved

Controlled start up

Posted on 2009-05-15
4
579 Views
Last Modified: 2013-12-11
I'm sure there is an answer to this, I just can't find it!!!
I current have a small network of 10 servers one of which, the PDC, is plugged into my APC UPS via a USB lead. when the PDC detects that it has been on battery power for two minutes it runs a script to cleanly shut down all the other servers, before shutting its self down.

However, once the UPS detects that mains power is available all the servers come up together, is there a way I can control the order in which the servers are brought back up. ideally I'd like PDC and BDC to come up first before anything else as this seems to make my life easier when it does.
0
Comment
Question by:Wizard_of_Heath_Mount
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 18

Expert Comment

by:Andrej Pirman
ID: 24393252
Yes, you can do it with Wake-on-Lan feature, if motherboards of your servers support it (they should).
Just download free wolcmd proggy, put it somewhere on your PDC, and create some batch file, which will run at PDC startup.
Ok, it will also run each time you restart PDC, but if other machines are already up and running, there is no damage.

Take a look here for free WOLCMD download and script examples:
http://www.depicus.com/wake-on-lan/wake-on-lan-cmd.aspx
0
 

Author Comment

by:Wizard_of_Heath_Mount
ID: 24393379
Thanks for the heads up on the Wolcmd. However, I have already tired it and yes it does bring the remaining servers up. I was just wondering if there was a way of stopping the servers firing up when they detect mains power so I could use my wolcmd script.
0
 
LVL 84

Accepted Solution

by:
oBdA earned 500 total points
ID: 24393466
Easy way with some added functionality: install the Recovery Console (run i386\winnt32.exe /cmdcons) on all servers, then change the "Show OS List" setting in Start and Recovery (Properties of "My Computer" > Advanced > Start and Recovery).
Set it to 10 seconds on the PDCe, then stagger the other servers as required by their dependencies.
If you don't want to install the recovery console, uncheck the Read Only attribute in C:\boot.ini ("Show hidden files" must be enabled), open it in notepad, and simply duplicate the existing "multi()..." line in [operating systems] (no other changes). Save and set Read Only again. Configure the "Show OS List" timeout as described above.
0
 
LVL 18

Expert Comment

by:Andrej Pirman
ID: 24394191
To prevent servers to automatically power up when mains power is on, you simply change BIOS settings, where you can select the power-on state after power recovery:
- previous state
- off (this is your choice)
- on

Then you can use wake-on-lan script to launch other servers manually after PDC is up.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question