• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 585
  • Last Modified:

Controlled start up

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
Wizard_of_Heath_Mount
Asked:
Wizard_of_Heath_Mount
  • 2
1 Solution
 
Andrej PirmanCommented:
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
 
Wizard_of_Heath_MountAuthor Commented:
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
 
oBdACommented:
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
 
Andrej PirmanCommented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now