Does a printf ‘‘UPS battery runtime limit exceeded. Doing shutdown.\n’’ wall then exits. After completing this event, apcupsd will immediately initiate a doshutdown event.

startselftest This event is generated when apcupsd detects a self test by the UPS. Normally due to the 6 second onbattery delay default time, self test events are not detected.

This is called when apcupsd detects that the UPS is doing a self test. No action is taken.

endselftest This event is generated when the end of a self test is detected.

This is called when apcupsd determines that a self test has been com- pleted. No action is taken.

mastertimeout This event is generated when a slave detects that a master has not contacted it in a reasonable time, or when a slave polls a master and gets no response in 30 seconds. This event applies only to the old master/slave networking code and not to the NIS server/slave mode.

No action is taken.

masterconnect This event is generated when the slave and the master reconnect. This event applies only to the old master/slave networking code and not to the NIS server/slave mode.

No action is taken.

To write your own routine for the powerout action, you create shell script named powerout and put it in the lib directory (normally /etc/apcupsd). When the powerout action is invoked by apcupsd, apccontrol will first give control to your script. If you want apccontrol to continue with the default action, simply exit your script with an exit status of zero. If you do not want apccontrol to continue with the default action, your script should exit with the special exit code of 99. However, in this case, please be aware that you must ensure proper shutdown of your machine if necessary.

Some sample scripts (onbattery and mainsback) that email power failure messages can be found in the examples directory of the source code.

Master/Slave Configurations

If you have two or more computers that are powered by the same UPS and they are connected by a network, you can configure apcupsd so that the computer that controls the UPS (connected by the serial port or USB

105

Page 106
Image 106
APC UPS control system manual Master/Slave Configurations

UPS control system specifications

APC UPS (Uninterruptible Power Supply) control systems are vital components for ensuring uninterrupted power supply and protecting critical equipment from power interruptions, surges, or fluctuations. Designed by Schneider Electric, APC UPS systems are renowned for their high quality and reliability. They utilize advanced technologies and features to suit diverse applications, from home offices to large industrial settings.

One of the main features of APC UPS systems is the ability to provide backup power during outages. This is achieved through a battery system that activates immediately when the mains power fails. This seamless transition minimizes downtime and ensures that electronic devices continue to operate, protecting data integrity and equipment lifespan.

Another significant characteristic of APC UPS systems is their intelligent management capabilities. Most models come with PowerChute software, which provides users with real-time monitoring of power conditions and the status of the UPS. This software allows for graceful shutdowns of connected devices during extended outages, thereby preventing data loss and damage to devices.

APC UPS systems also incorporate advanced technologies such as Automatic Voltage Regulation (AVR). AVR technology ensures that the output voltage remains stable by correcting minor fluctuations without switching to battery mode. This not only prolongs the battery life but also provides a consistent power supply to the connected equipment.

Thermal management is another critical aspect of APC UPS control systems. The design often includes efficient cooling systems that prevent overheating, ensuring optimal performance and longevity of the unit. Some models feature EcoMode, which reduces energy consumption and lowers operational costs by working at high efficiency only when battery backup is not required.

APC UPS systems are designed with scalability in mind. Users can easily add more batteries or connect additional UPS units to accommodate growing power needs. Features such as hot-swappable batteries and modular design facilitate easy upgrades and servicing without interrupting power supply.

In terms of connectivity, APC UPS products often feature multiple options including USB, RS-232, and network management capabilities. This enables users to connect remote management tools and integrate the UPS with existing IT infrastructure.

In summary, APC UPS control systems deliver reliability, efficiency, and advanced technology features that cater to a wide array of power protection needs, making them a trusted choice for individuals and businesses alike.