gracefull shutdown -several servers 1 ups

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gordon Moore
    Moderator Emeritus
    • Feb 2002
    • 3188

    gracefull shutdown -several servers 1 ups

    So I came up with this the other day as an inexpensive way of gracefully shutting down 3 servers plugged into our 1 ups. Thought I'd share.

    The ups is an APC smartups1000. The com cable is plugged into only 1 server, naturally, only that server knows anything about what's going on power-wise. The servers are NT but this would work for win2k as well.

    Then you head over to system internals http://www.systeminternals.com and download the powertools for nt/2k. In the is an executable called psshutdown.exe

    Place this file in one of the folders that's in the PATH of the OS.

    then you write an little cmd file that calls the exe

    START psshutdown -r (reboot) \\computername

    Then you set the APC utility to run the cmd file when there's no power and x number of minutes left on battery.

    voila, servers shutdown nicely everyone is happy

    No big expensive programs to buy. APC gives you software free to manage 5 ups nodes.

    This would work with other UPS's and the default NT/2K ups management because it let's you run a command file after x minutes on battery as well.

    L8r




    "A RONSTER!"
    Sell crazy someplace else, we're all stocked up here.
Working...
Searching...Please wait.
An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

Please push the back button and reload the previous window.'
An unexpected error was returned: 'Your submission could not be processed because the token has expired.

Please push the back button and reload the previous window.'
An internal error has occurred and the module cannot be displayed.
There are no results that meet this criteria.
Search Result for "|||"