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
Network Problems with Master/Slave or Server/Slave Con-
figurations
When working with a master/slave or server/slave configurations (one UPS
powering more than one computer), the master/server and slave commu-
nicate via the network. In many configurations, apcupsd is started before
the network is initialized. In this case, it is possible that the master will
be unable to contact the slave. On apcupsd versions prior to 3.8.0, this
could cause apcupsd to error off. The solution to this problem is to either
force apcupsd to be started after the network and the DNS (fiddle the sym-
bolic links in /etc/rc.d), or put the names of the slave machines in your
/etc/hosts file, or even more preferable, use IP addresses rather than ma-
chine names. On some configurations, you may need to use fully qualified
names (host.domain.xxx) rather than simple host names.
Error Messages from a Master Configuration:
In a master/slave configuration, you can get the following error messages
from a master. The error message is followed by a possible explanation:
resolve slave name XXX
To contact the slave, the slave name given in the configuration file must
be resolved to an IP address. In this case, apcupsd could not get the IP
address. Either the slave name is incorrect, your DNS may not be working,
or you have started apcupsd during the boot process before the network is
operational.
slave shutdown from SSS
This message should not be printed as it is not yet used.
write to slave SSS
This message occurs when the master attempts to send a message to the
slave SSS and gets an error. It indicates that either the slave machine is not
responding (apcupsd died, the system crashed, ...) or that the network is
down.
read magic from slave SSS
This message indicates that the master attempted to read the code key from
the slave SSS and it did not match the value expected. A common cause of
this problem is that the master and slave versions of apcupsd are not the
108










