Question

  Asked: Apr 4 2008   2:12 PM GMT
  Asked by: Clwaid


Power Management for iSeries


Power management, iSeries

How do I check on the power management program. With recent power loss. The Iseries did not automatically shut down. Powerware UPS is installed. Do I need to set up power management to take care of a automatic shut down in the event of power failure?

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0




Hi,

In the past I've written programs to monitor for power loss. You need to setup the system value QUPSMSGQ to another message queue. You write a small CL program to monitor the message queue using the RCVMSG command. When a message is received on this queue, then you take appropriate action, for example PWRDWNSYS.

I believe the message queue will only receive messages if your UPS is connected to the UPS connector on your iSeries.

Hope this helps,

Martin Gilbert.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on DataCenter and AS/400.

Looking for relevant DataCenter Whitepapers? Visit the SearchDataCenter.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

Wpoulin  |   May 6 2008  7:21PM GMT

By default there are 2 system values that are set. QUPSMSGQ is shipped with the value QSYS/QSYSOPR. When utility power fails CPF1816 is sent to the identified message queue. The other system value is QUPSDLYTIM, this value specifies the amount of time that elapses before the system automatically shuts down following a power failure. The shipped value is *CALC if you have a 9402 or 9404 with a battery power unit. I currently have this value set at 900 seconds or 15 minutes.

If you want to institute a power handling program you would set the QUPSMSGQ to another message queue as Martin suggests and set the QUPSDLYTIM to *NOMAX.

Hope this helps,
Bill