+ Post New Thread
Results 1 to 3 of 3
Windows Server 2008 R2 Thread, One UPS, several servers - shutdown script? in Technical; We have some APC UPS's running 24◊7 which power a bunch of servers running Server 2008 R2. Each UPS only ...
  1. #1
    theeldergeek's Avatar
    Join Date
    Jul 2010
    Location
    Eastbourne, East Sussex
    Posts
    161
    Thank Post
    30
    Thanked 22 Times in 6 Posts
    Rep Power
    29

    Post One UPS, several servers - shutdown script?

    We have some APC UPS's running 24◊7 which power a bunch of servers running Server 2008 R2.

    Each UPS only has the option for one USB cable to be connected to a device, but there is more than one device being powered on each UPS. This means, as far as I can tell, only one device can be shut down by the UPS in the event of a power failure.

    We could purchase additional expansion cards and go down the network management route, however we didnít really want to pay hundreds of pounds just for this privilege. We'd need 11 of these things, at an approx cost of £170 each...

    I've Googled this problem, and see it has real potential to be done, but I'm afraid I'm not into scripting by any means, so much of it is over my head. The aim is obviously to get the UPS to shut down the directly connected machine in the event of a power failure, but for the machine shutting down to also send out a command (batch file?) to other servers instructing them to shut down as well.

    Can anyone point me to a working model of this sort of set up, or help in putting something together?

    Thanks in advance.

  2. #2

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    2,698
    Thank Post
    143
    Thanked 542 Times in 486 Posts
    Rep Power
    148
    Apparently APC have software for this (for free I think!) but I use apcupsd to manage this. The other servers talk to the USB connected one over the network, and receive the UPS status from them. The settings file is created, then just copied across to each server when installing. Works well.

  3. Thanks to 3s-gtech from:

    theeldergeek (14th February 2012)

  4. #3

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,786
    Thank Post
    272
    Thanked 1,130 Times in 1,026 Posts
    Rep Power
    348
    You install the software on one device and then set a batch script - on power fail run a script (switches need to be on ups)

    Shutdown -f -r -t 01 -m \\machinename

  5. Thanks to glennda from:

    theeldergeek (14th February 2012)

SHARE:
+ Post New Thread

Similar Threads

  1. APC UPS Shutdown Script
    By talksr in forum Hardware
    Replies: 1
    Last Post: 30th November 2011, 02:30 PM
  2. Start up and shutdown scripts
    By Cooper_Trooper in forum How do you do....it?
    Replies: 11
    Last Post: 22nd June 2011, 02:08 PM
  3. Shut down 4 servers using one UPS on power fail
    By edie209 in forum How do you do....it?
    Replies: 13
    Last Post: 10th August 2007, 01:44 PM
  4. Replies: 18
    Last Post: 14th October 2005, 09:28 AM
  5. One PC refuses to run script! Help!!!
    By woody in forum Scripts
    Replies: 6
    Last Post: 5th October 2005, 11:37 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •