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
At this point, we recommend that you do a simulated power down of your
system. If you are adventuresome or have been through this before, skip
to the next section in this manual and do the real power fail shutdown. If
you continue with the simulated power down and if all goes well, apcupsd
will go through all the motions without actually shutting down the system.
Continue using the safe apccontrol that you installed. Edit the configuration
file apcupsd and change the value of TIMEOUT from 0 to something like
30. Doing so will cause apcupsd to attempt to shutdown the system 30
seconds after it detects a power failure. Once this change has been made,
you must stop and restart apcupsd for the new configuration value to take
effect.
Once again, pull the power plug, and if all goes as expected, apcupsd
should attempt to shutdown the system about 30 seconds after it detects
the power failure. All the messages should be displayed by wall or by the
tail -f command. The precise message is determined by what is printed
in /etc/apcupsd/apccontrol for the doshutdown event. Though it varies
from system to system, it will generally be something like:
Beginning Shutdown Sequence
When apcupsd this message prints, reconnect the power. apcupsd should
detect that the power has been restored and attempt to cancel the shutdown.
IMPORTANT after this test, please replace the changed apccontrol and
apcupsd.conf with the original files.
System Shutdown Test
This is an intermediate test that you can do, for all UPS models before
doing the Full Power Down Test. First modify the /etc/apcupsd/apccontrol
file so that in the killpower) case, the line that re-executes apcupsd with
the --killpower option is commented out. The original line probably looks
something like:
${APCUPSD} --killpower
when it is commented out, it looks like:
#${APCUPSD}--killpower
66










