> cool solutions home   > cool tools home
PowerOff your Server
Server poweroff after down.
Reader Rating    from ratings rate this article
View a Printer Friendly Version of this Page Send this page to a friend
Posted: 20 Mar 2003
File Size: 5KB
License: Free
Download 1:  poweroff.zip
Home Page: http://www.gknw.de/atxoff.html
Publisher: Guenter Knauf
E-mail: gk@gknw.de
Please read the note from our friends in legal before using this file.

Sometimes it might be necesary for whatever reason to shutdown your server at a given time. While it is possible to down the server with a NCF from cron, the shutdown doesn't proceeed if there are files open. There are some NLM tools which can do a forced shutdown, but even then the server remains powered on. So I wrote ATXOFF.NLM, a small NLM which is able to switch off the server after a (forced) shutdown with modern hardware. The server hardware must support APM 1.2, which is true with mainboards that use ATX-based power supplies.

ATXOFF.NLM is tested with NetWare 3.x to 6.x; it's been available for two years with more than 1100 downloads, and no one has ever replied that it doesn't work or that it abends.

Sometimes other options are needed: reset, restart, or on 3.x/4.x - exit, for this I have written XDOWN.NLM which provides these functions in addition to atxoff. The restart function does not work with NetWare 3.x.

The tools can be downloaded from this location:http://www.gknw.de/atxoff.html

If your NIC supports WakeOnLan then it's also possible to power on the server via a network with a 'magic packet'. If you want to do it from another server with cron then take a look at my tool WOL:http://www.gknw.de/wol.html

This tool contains two utilities: ATXOFF.NLM and XDOWN.NLM.