Hardware Canucks

Hardware Canucks (http://www.hardwarecanucks.com/forum/)
-   Networking (http://www.hardwarecanucks.com/forum/networking/)
-   -   Shutting down two computers with one APC UPS (http://www.hardwarecanucks.com/forum/networking/14957-shutting-down-two-computers-one-apc-ups.html)

Varroa February 16, 2009 11:28 AM

Shutting down two computers with one APC UPS
Hi Everybody, I have two computers hooked up to my APC UPS BN 700G-CN and would like to shut down BOTH computers during a blackout. One computer (Windows media center or WMC) is both powered and connected using the provided USB cable with the Powershut software running while the second computer (Windows home server or WHS) is just powered by it. Is there a way of making the WMC computer sending a shutdown message to the WHS when the WMC is told to shut down by the Powershut software? Thanks.

BrainEater February 16, 2009 11:39 AM

I'm actually looking into this myself.....I'm pretty sure its possible but how to implement it , I'm not sure yet.....

I'll get back to yah.

PS......I'm trying to get it to shut off 2 windows rigs and a FreeBSD one ...... :haha:

grinder February 16, 2009 05:00 PM

excellent question.

Idealy you would have two APC's (one for each machine) and that would solve your problem. In server rooms this is usually the case.

Now, i haven't used Powershute in a long time but i'm willing to bet (IIRC) that you can set it to perform a command or script before shutting down the "host" machine. If so... you can script it to issue a shut-down command to the other computer...

shutdown /s /f /m \\othercomputername

The above will work if the shut-down command is generated from a Windows Server and the "othercomputername" machine is a joined desktop (joined in active directory). Now i have doubts that Windows Home Server will be able to pull this off, but it's worth investigating.

grinder February 16, 2009 05:05 PM

okay.. i did some digging on this because the above suggestion did not seem to practical given your setup (no active directory).

this utility here should be what you need http://users.telenet.be/jbosman/poweroff/poweroff.htm

It's a utility that will run as a service in the remote computer and can be triggered to shut down the remote computer from the PC you have powershute running on. Same concept as my first post however you will be using the above utility instead.

Varroa February 16, 2009 05:41 PM

Thanks Grinder, I will give that a try.

All times are GMT -7. The time now is 06:58 PM.