User's Manual UPS control system
Table Of Contents
- Apcupsd User's Manual
- Release Notes
- How To Use This Manual
- Basic User's Guide
- Planning Your Installation
- Building and Installing apcupsd
- After Installation
- Configuration Examples
- Testing Apcupsd
- Troubleshooting Your Installation
- Monitoring and Tuning your UPS
- Maintaining Your UPS
- Frequently-Asked Questions
- Apcupsd Bugs
- Advanced topics
- Customizing Event Handling
- Master/Slave Configurations
- Controlling Multiple UPSes on one Machine
- Support for SNMP UPSes
- Alternate Ways To Run The Network Information Server
- apcupsd System Logging
- Installation: Windows
- Windows Version of apcupsd
- Installation: Serial-Line UPSes
- Overview of Serial-Interface UPSes
- Connecting a Serial-Line UPS to a USB Port
- Connecting a APC USB UPS to either a PC USB or Serial Port
- Cables
- Smart-Custom Cable for SmartUPSes
- Smart Signalling Cable for BackUPS CS Models
- Voltage-Signalling Cable for "dumb" UPSes
- Other APC Cables that apcupsd Supports
- Voltage Signalling Features Supported by Apcupsd for Various Cables
- Voltage Signalling
- Back-UPS Office 500 signals
- Analyses of APC Cables
- Win32 Implementation Restrictions for Simple UPSes
- Internal Apcupsd Actions for Simple Cables
- RS232 Wiring and Signal Conventions
- Pin Assignment for the Serial Port (RS-232C), 25-pin and 9-pin, Female End
- Ioctl to RS232 Correspondence
- Testing Serial-Line UPSes
- Troubleshooting Serial Line communications
- Recalibrating the UPS Runtime
- DATA Logging
- Technical Reference
- Configuration Directive Reference
- apcupsd Status Logging
- Shutown Sequence and its Discontents
- APC smart protocol
- Apcupsd --- RPM Packaging FAQ
- Credits
- Kernel Config
Configuration section of this manual for more information. See the EEP-
ROM (see Configuring Your EEPROM) of this manual for further details
on how to change these EPROM values.
Shutdown Problems
Obviously if your halt script is not properly modified, apcupsd will not be
able to shut off the power to the UPS, and if the power returns before the
batteries are exhausted your system will not automatically reboot. In any
case, your machine should have been cleanly shut down.
Master/Slave Shutdown
In master/slave configurations, however, the master cannot be 100 percent
sure that the slaves have all shutdown before it performs the power off. As a
consequence, it is possible that the master will shut off the power before the
slave has finished shutdown. If this is the case, the best procedure is to put
an appropriate sleep command in the /etc/apcupsd/apccontrol file on the
master. For example to give the slaves 30 additional seconds to shutdown,
one would add:
sleep 30
just after the line that reads
doshutdown)
in the apccontrol file (approximately line 79 – depending on your system
version).
Also, on a slave machine, you do not want to use the modified halt script
since it will recall apcupsd, which will detect that it is a slave (i.e. no
connection to the UPS) and will complain that it cannot do the killpower.
This situation is not harmful just annoying and possibly confusing.
One possible problem during shutdown can be caused by remnants of
old versions. Please be sure to delete or rename all prior versions
(/usr/local/sbin/apcupsd or /sbin/powersc).
185










