Cool Solutions

PowerOff your Server


March 20, 2003 10:05 am






Download poweroff

Sometimes it might be necessary 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 proceed 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 main boards 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.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Categories: Uncategorized

Disclaimer: This content is not supported by Micro Focus. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.