 |
» |
|
|
|
Once you have configured UPS devices on the system, they will automatically be monitored by the UPS Monitor/iX software. This software causes the UPS devices to emulate the traditional battery backup method of system powerfail handling and recovery. UPS Monitor/iX runs continually while the system is up to monitor all of the UPS devices for power failure and any other hardware status conditions. It reports these conditions to the system operator via console messages and records them in the system log file.
 |  |  |  |  | NOTE:
UPS monitoring is event number 148 in the system log files. The default is ON (i.e. UPS hardware conditions are recorded in the files) regardless of whether the system has UPS power fail protection or not. In the latter case, when no UPS devices have been configured, the system log files will receive and record two UPS-related messages each time the system starts: one indicating that the UPS Monitor/iX process has been launched and a second message which says that no UPS devices are found in the I/O configuration.
|  |  |  |  |
System behavior when AC power fails |  |
Whenever input AC power to any UPS device fails, the UPS hardware switches to internal battery operation to continue to deliver output AC power to the computer equipment. No actual power failure occurs at the computer equipment itself and, as a result, the SPU continues to operate. However, the actual behavior of the system will vary depending on how much of the system equipment is provided with UPS power.
In the "minimal" case, where only the SPU and any Remote Busses receive UPS power (and assuming
that disks are external to the SPU), the system is most likely to appear to be dormant (like a traditional battery backup method system) because the system can not make progress once the disks lose power and spin down. The system will simply enter its "idle loop", waiting for disk
I/O operations to complete, and that won't happen until AC power returns and the disks spin up again.
But in expanded UPS coverage systems, where some or all of the disks receive UPS power, the system may continue to run to some extent. Again, it depends on what resources the system needs to perform its workload. Batch jobs that only need CPU, memory, and disk I/O can continue to run undisturbed. Processing that requires tape or printer or terminal I/O will be blocked if those peripherals do not have UPS power.
UPS Monitor/iX issues a warning message to the system console to notify the operator that the particular UPS (identified by its LDEV number) has reported to the system that its input AC power has failed. In the following example, UPS Monitor/iX reports and power failure and a recovery shortly thereafter:
Figure B-1 Example B-1. Sample Console Messages from UPS Monitor/iX
:showtime
FRI, AUG 13, 1993, 11:27 AM
:
:11:27/50/UPS LDEV 102 reports loss of AC input power. (UPSERR 0033)
**RECOVERY FROM POWER FAIL**
11:27/50/UPS LDEV 102 reports AC input power restored. (UPSWRN 0036)
:
|
UPS Monitor/iX also writes a system log file entry that denotes the input power loss to the UPS device. Read ''To enable logging of UPS activity'' and ''To review UPS activity recorded in the system log file'', later in this chapter for more information.
System Behavior When AC Power Returns |  |
The behavior of the system when AC input power returns to the UPS is very similar to that of the battery backup method systems. One of two things will happen: a recovery from power failure (if AC power returns before the UPS battery that backs up the SPU becomes exhausted) or a system crash.
If AC power returns before the UPS battery becomes exhausted (up to fifteen minutes when starting with fully charged UPS batteries; less if the batteries were already partially discharged), then the system recovers from the AC power failure and resumes normal operation. In this case, UPS Monitor/iX displays a message on the system console, posts an entry in the system log files, and broadcasts the following message to all active user terminals:
** RECOVERY FROM POWERFAIL **
|
If the UPS battery that powers the SPU becomes exhausted before AC input power returns, then the system really does lose AC power and crashes. In this case, when AC power does return and the UPS turns on again, the system reboots just as if it used battery backup.
To enable logging of UPS activity |  |
The UPS Monitor/iX program posts UPS status and alarm messages to the system log files. If system logging for the UPS Monitor/iX (which is event number 148) is turned on, you can review the messages to troubleshoot your system configuration and evaluate system performance.
As the default, event 148 is ON. To verify that it is or, if necessary, to turn it on, do the following:
At the MPE prompt, start SYSGEN by entering: At the sysgen> prompt, start the LOG configurator by entering: To display which system logging events are enabled or disabled, enter:
You will see a list of information similar to the example shown on the next page.
To turn UPS Monitor/iX logging on (if it is currently listed as OFF), enter: To exit the LOG configurator and SYSGEN, enter the EXIT command twice. You will see the MPE prompt displayed on your screen.
Figure B-2 Example B-2. Sample System Log Configuration
log>SHOW SLOG
system log events event # status
----------------- ------- ------
System logging enabled 100 OFF
System up record 101 ON
Job initiation record 102 OFF
Job termination record 103 OFF
Process termination record 104 OFF
NM file close record 105 OFF
System shutdown record 106 ON
Power failure record 107 ON
Spooling log record 108 OFF
I/O error record 111 ON
Physical mount/dismount 112 OFF
Logical mount/dismount 113 OFF
Tape labels record 114 OFF
Console log record 115 ON
Program file event 116 ON
NCS spooling log record 120 ON
Architected interface record 130 0N
Password changes 134 ON
System logging configuration 135 ON
Restore logging 136 ON
Printer access failure 137 ON
ACD changes 138 ON
Stream initiation 139 ON
User logging 140 ON
Process creation 141 ON
Chgroup record 143 ON
|
Figure B-3 Example B-2. Sample System Log Configuration
File open record 144 ON
Maintenance request log 146 OFF
UPS Monitor Event Logging 148 OFF
Diagnostic Information 150 ON
High Priority Machine Check 151 ON
Low Priority Machine Check 152 ON
Directory Open/Close Logging 155 OFF
CM File Close 160 OFF
Chdir 161 OFF
Process Adoption 162 OFF
File Owner Change 163 OFF
log>
|
To review UPS activity recorded in the system log file |  |
UPS Monitor/iX status and alarm messages are recorded in the system log files as event number 148. You can use the LOGTOOL utility to review entries in the system log file about the performance and condition of UPS devices on your system. To do so, follow these steps:
List the names of the log files currently on your system. At the MPE prompt, enter:
Note the number of the last log file in the list (other than LOGDCC). You will use it in step 5.
Start the system diagnostic utility. At the MPE prompt, enter: Run the LOGTOOL utility. Enter: To review the current log file, use the SWITCHLOG command to close it and open a new one. List the UPS-related messages (which are recorded as system log event number 148) in the log file that you want to review. For example, if the last log file displayed with the LISTFILE command was LOG00017, enter:
DUI >LIST LOG=17;TYPE=148
|
Or, if the last log file was LOG00017 and you then issued the SWITCHLOG command, to see the most recent log file you would enter:
DUI >LIST LOG=18;TYPE=148
|
In a moment, you will see the contents of the system log files for event 148, which stores UPS-related messages. If event 148 was disabled, you are informed that no messages are found.
|