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
Normally you would have many more configuration directives to completely
customize your installation, but this example shows you the minimum re-
quired.
A Simple Configuration for a Simple Signaling or Dumb
If you have a simple signaling or dumb UPS such as a BackUPS, you will
need to know exactly what cable you have and specify it on the UPSCABLE
directive. Please see the list of UPSes versus cables in the beginning of this
document for more information. The cable number is normally stamped in
the plastic at one end of the cable. If you specify the wrong cable, it is very
likely that at the first power failure, your computer will be immediately shut-
down. This is an unfortunate consequence of the dumb signaling mode. To
avoid this, first replace /etc/apcupsd/apccontrol with safe.apccontrol
found in the examples directory, then test until everything works correctly.
Once you have the correct cable, be sure to remember to reinstall the correct
apccontrol file and test that your computer is correctly shutdown during a
power failure.
## apcupsd.conf v1.1 ##
UPSCABLE (number of cable you have)
UPSTYPE dumb
DEVICE /dev/ttyS0
LOCKFILE /var/lock
UPSCLASS standalone
UPSMODE disable
If your cable does not have low battery detection, as is the case with some
older models, you will also need to define TIMEOUT nnn where you set
nn to be the number of seconds on a power failure after which a shutdown
is effected.
Normally you would have many more configuration directives to completely
customize your installation, but this example shows you the minimum re-
quired.
A Simple Master Configuration
You have a Smart UPS using the cable supplied by APC and you want it to
act as a master for another computer, which is powered by the same UPS.
A very simple configuration file would look like the following:
54










