Manuals
/
Brands
/
Computer Equipment
/
Power Supply
/
APC
/
Computer Equipment
/
Power Supply
APC
UPS control system manual
1
1
233
233
Download
233 pages, 1.17 Mb
Apcupsd is a UPS control system that permits orderly
shutdown of your computer in the eventof a p owerfailure.
Kern Sibbald
April 3, 2005
This manual documents apcupsd version 3.10.17
Copyright (C) 1999-2005 Kern Sibbald
Contents
Main
Page
Contents
Page
Page
Page
Page
Page
Page
List of Figures
List of Tables
Apcupsd Users Manual Release Notes
11
New Features
Change Log for current version
Change Log for older versions
12
Page
How To Use This Manual
Basic Users Guide Planning Your Installation
Quick Start for Beginners
Page
Supported Operating Systems, UPSes and Cables
Page
Page
Page
Apcupsd Known USB Issues
Page
Checking Out Your USB Subsystem
Page
Page
Page
Page
Page
Page
Page
Page
Building and Installing apcupsd
Installation from Binary Packages
Installation from Source
Verifying a Source Installation
Page
Congure Options
Page
Page
Recommended Options for most Systems
Compilers and Options
Operating System Specics
Page
Page
Page
Page
Page
Page
Page
Page
After Installation
Checking Your Conguration File
Arranging for Reboot on Power-Up
Making sure apcupsd Is Running
Conguration Examples
A Simple USB Conguration
A Simple Conguration for a SmartUPS
A Simple Conguration for a Simple Signaling or Dumb
A Simple Master Conguration
A Simple Slave Conguration
Variation on the Master/Slave Conguration
A Sample NIS Slave Conguration Using the Net Driver
Page
Testing Apcupsd
Process-Status Test
Page
Logging Test
apcaccess Test
in your apcupsd.conf le. To run the apcaccess test, use the following command:
61
Page
Communications Test
Simulated Power Fail Test
Page
System Shutdown Test
Full PowerDown Test
Shutdown Sequence
apctest
Page
Troubleshooting Your Installation
Known Problems with USB UPSes
Monitoring and Tuning your UPS
apcaccess
Page
Page
Apcupsd Notication and Events
hid-ups and USB Specic Information
apcupsd Network Monitoring (CGI) Programs
Setting up and Testing the CGI Programs
Page
Page
Page
Page
Page
Page
Page
Conguring Your EEPROM
Page
Page
Maintaining Your UPS
What Various People Have to Sayab out Batteries
Page
Page
Page
Page
Page
Where Carl Suggests You Get Batteries
Frequently-Asked Questions
Page
Page
Page
Page
Page
Apcupsd Bugs
Advanced topics Customizing Event Handling
apccontrol Command Line Options
Page
Page
Master/Slave Congurations
Conguration Directives
Master/Slave Problems
Page
Network Problems with Master/Slave or Server/Slave Con- gurations
Page
Page
Controlling Multiple UPSes on one Machine
Conguration
Page
Support for SNMP UPSes
Connecting an SNMP UPS
Building and Installing apcupsd
SNMP Specic Information
Known Problems
Alternate Ways To Run The Network Information Server
Running the server as a child of apcupsd
Running apcnisd from INETD
Running apcnisd Standalome
apcupsd System Logging
Logging Types
Implementation Details
Developers Notes
Installation: Windows The Windows Version of apcupsd
Installation
Page
Page
Page
Page
Page
Installation Directory
Testing
Upgrading
Page
Post Installation
Problem Areas
Utility Functions
Disclaimer
Email Notication of Events
Killpower under Windows
Power Down During Shutdown
Command Line Options Specic to the Windows Version
Building the Win32 Version from the Source
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
Page
Voltage-Signalling Cable for dumb UPSes
Page
Other APC Cables that apcupsd Supports
Voltage Signalling Features Supported by Apcupsd for Vari- ous Cables
Voltage Signalling
The Back-UPS Oce 500 signals
Analyses of APC Cables
Page
Page
Page
Page
Page
Page
Page
Win32 Implementation Restrictions for Simple UPSes
Internal Apcupsd Actions for Simple Cables
Page
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
Establishing Serial Port Connection
Page
Page
Using apctest on Serial-Line UPSses
Page
Troubleshooting Serial Line communications
Determining Which Voltage-Signaling Cable You Have
Once you have established serial communications
Recalibrating the UPS Runtime
Status Logging On Serial-Line UPSes
DATA Logging
Technical Reference Conguration Directive Reference
General Conguration Directives
Conguration Directives Used by the Network Information Server
Conguration Directives used during Power Failures
Page
Page
Conguration Directives used to Control System Logging
Conguration Directives for Sharing a UPS
Page
Page
Conguration Directives Used to Set the UPS EPROM
Page
apcupsd Status Logging
Status report format
Status Report Example
Page
Status Report Fields
Page
Page
Logging the STATUS Information
The Shutown Sequence and its Discontents
Shutdown Sequence
Page
Page
Page
Shutdown Problems
Master/Slave Shutdown
Startup
Windows Considerations
APC smart protocol
Description
RS-232 dierences
Diagram for cable hackers
The Smart Protocol
Page
Page
Page
Page
Dip switch info
Status bits
Alert messages
Register 1
Register 2
Register 3
Interpretation of the Old Firmware Revision
Interpretation of the New Firmware Revision
EEPROM Values
Page
Programming the UPS EEPROM
Acknowledgements
Apcupsd RPM Packaging FAQ
Answers
Page
Credits
Contributors
Page
Disclaimer: NO WARRANTY
Kernel Cong
Page
Interpretation of /proc/usb info on 2.4 kernels:
207
Page
Page
Page
Page
Page
Page
Page
Interpretation of /proc/bus/usb info on 2.6 kernels:
215
Page
Page
Page
Page
Page
Page
Page
Index