× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Wayne,

You should not monitor for the UPS "Low Battery" message. If the UPS is "On
Battery", and the low battery message is issued, the OS performs an instant
shutdown. (not a pwrdwnsys *immed, more like the plug is pulled)

The better approach is to select a "max on battery" time, and code your UPS
monitor program to perform a controlled shutdown if you are on battery that
long.

I have yet to see an iSeries UPS interface that wasn't just a relay contact
style plug. This type only reports "UPS Connected" "UPS On Battery" and
"UPS Battery Low". Many of this type omit the UPS Connected pair.

I offer a UPS Monitor CL program kit on my website, www.atticdesignlab.com .
It is my modest attempt to provide a functional, customizable UPS monitor
for folks who haven't the time to research their own.

This program's immediate ancestor managed an AS/400 through a blackout,
without any data loss whatsoever. The system was up for 10 minutes, (my
selected "on battery" time), and then powered down the sysyem. The program
includes messaging to the users about the system's power state, and warning
them to sign off when necessary.

Regards,
Armand Borick
"Wayne McAlpine" <wayne.mcalpine@xxxxxxxxxxxxxxxxx> wrote in message
news:mailman.24002.1198008748.4459.midrange-l@xxxxxxxxxxxxxxx
Brad, if you have the right interface cable between the iSeries and the
UPS, you can write a CL program to take appropriate action based on the
data reported to the iSeries by the UPS. For example, you might wish to
take no action initially when power fails and the UPS takes over. While
operating on battery power, you need to monitor for a low battery message
and then do a shutdown, probably immediate with a restart *NO.

Here's a link to the Info Center on using a program to control shutdown.

http://tinyurl.com/28sk7b



Bradley V. Stone wrote:
Yep, that's my question. Should I do an immediate or controlled
shutdown?

:)



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.