APC UPS control system - Manual

APC UPS control system

APC UPS control system – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

1 Page 1
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Page 21
22 Page 22
23 Page 23
24 Page 24
25 Page 25
26 Page 26
27 Page 27
28 Page 28
29 Page 29
30 Page 30
31 Page 31
32 Page 32
33 Page 33
34 Page 34
35 Page 35
36 Page 36
37 Page 37
38 Page 38
39 Page 39
40 Page 40
41 Page 41
42 Page 42
43 Page 43
44 Page 44
45 Page 45
46 Page 46
47 Page 47
48 Page 48
49 Page 49
50 Page 50
51 Page 51
52 Page 52
53 Page 53
54 Page 54
55 Page 55
56 Page 56
57 Page 57
58 Page 58
59 Page 59
60 Page 60
61 Page 61
62 Page 62
63 Page 63
64 Page 64
65 Page 65
66 Page 66
67 Page 67
68 Page 68
69 Page 69
70 Page 70
71 Page 71
72 Page 72
73 Page 73
74 Page 74
75 Page 75
76 Page 76
77 Page 77
78 Page 78
79 Page 79
80 Page 80
81 Page 81
82 Page 82
83 Page 83
84 Page 84
85 Page 85
86 Page 86
87 Page 87
88 Page 88
89 Page 89
90 Page 90
91 Page 91
92 Page 92
93 Page 93
94 Page 94
95 Page 95
96 Page 96
97 Page 97
98 Page 98
99 Page 99
100 Page 100
101 Page 101
102 Page 102
103 Page 103
104 Page 104
105 Page 105
106 Page 106
107 Page 107
108 Page 108
109 Page 109
110 Page 110
111 Page 111
112 Page 112
113 Page 113
114 Page 114
115 Page 115
116 Page 116
117 Page 117
118 Page 118
119 Page 119
120 Page 120
121 Page 121
122 Page 122
123 Page 123
124 Page 124
125 Page 125
126 Page 126
127 Page 127
128 Page 128
129 Page 129
130 Page 130
131 Page 131
132 Page 132
133 Page 133
134 Page 134
135 Page 135
136 Page 136
137 Page 137
138 Page 138
139 Page 139
140 Page 140
141 Page 141
142 Page 142
143 Page 143
144 Page 144
145 Page 145
146 Page 146
147 Page 147
148 Page 148
149 Page 149
150 Page 150
151 Page 151
152 Page 152
153 Page 153
154 Page 154
155 Page 155
156 Page 156
157 Page 157
158 Page 158
159 Page 159
160 Page 160
161 Page 161
162 Page 162
163 Page 163
164 Page 164
165 Page 165
166 Page 166
167 Page 167
168 Page 168
169 Page 169
170 Page 170
171 Page 171
172 Page 172
173 Page 173
174 Page 174
175 Page 175
176 Page 176
177 Page 177
178 Page 178
179 Page 179
180 Page 180
181 Page 181
182 Page 182
183 Page 183
184 Page 184
185 Page 185
186 Page 186
187 Page 187
188 Page 188
189 Page 189
190 Page 190
191 Page 191
192 Page 192
193 Page 193
194 Page 194
195 Page 195
196 Page 196
197 Page 197
198 Page 198
199 Page 199
200 Page 200
201 Page 201
202 Page 202
203 Page 203
204 Page 204
205 Page 205
206 Page 206
207 Page 207
208 Page 208
209 Page 209
210 Page 210
211 Page 211
212 Page 212
213 Page 213
214 Page 214
215 Page 215
216 Page 216
217 Page 217
218 Page 218
219 Page 219
220 Page 220
221 Page 221
222 Page 222
223 Page 223
224 Page 224
225 Page 225
226 Page 226
227 Page 227
228 Page 228
229 Page 229
230 Page 230
231 Page 231
232 Page 232
233 Page 233
Page: / 233

Table of Contents:

  • Page 3 – Contents; Verifying a Source Installation
  • Page 4 – apcaccess Test
  • Page 5 – Master/Slave Configurations
  • Page 9 – Credits
  • Page 10 – List of Figures; Windows Install - Winzip Unpack
  • Page 11 – List of Tables; Single Character Commands
  • Page 12 – New Features; Change Log for current version
  • Page 13 – Change Log for older versions
  • Page 15 – Quick Start for Beginners
  • Page 17 – Supported Operating Systems, UPSes and Cables
  • Page 21 – Here is a diagram that summarizes the possibilities:; Apcupsd Known USB Issues; USB is only supported on Linux and *BSD systems (though
  • Page 22 – HID MAX USAGES undefined
  • Page 23 – Checking Out Your USB Subsystem; To interpret the codes in this file,; Driver
  • Page 24 – Note that the IOgear device is using the
  • Page 27 – devfs
  • Page 28 – source
  • Page 32 – Building and Installing apcupsd; Installation from Binary Packages; command. You’re done, and can now skip the
  • Page 33 – Installation from Source; start
  • Page 34 – which
  • Page 36 – Configure Options; configure
  • Page 38 – highly
  • Page 39 – Recommended Options for most Systems
  • Page 40 – Compilers and Options; script does not know about. You can specify initial values for
  • Page 41 – Operating System Specifics; Win32 (see Windows Systems with CYGWIN Installed)
  • Page 42 – make install
  • Page 43 – option on the apcupsd command line.
  • Page 50 – After Installation; Checking Your Configuration File
  • Page 51 – usb; Arranging for Reboot on Power-Up
  • Page 52 – Making sure apcupsd Is Running
  • Page 53 – To stop apcupsd you can do the following:; Configuration Examples; A Simple USB Configuration
  • Page 54 – A Simple Configuration for a SmartUPS
  • Page 55 – A Simple Configuration for a Simple Signaling or Dumb; with; A Simple Master Configuration
  • Page 56 – A Simple Slave Configuration; UPSCABLE ether
  • Page 57 – Variation on the Master/Slave Configuration; ple Configuration for a SmartUPS
  • Page 59 – Testing Apcupsd; After you start apcupsd, execute the following command:
  • Page 61 – apcaccess
  • Page 64 – Communications Test; apccontrol
  • Page 65 – Simulated Power Fail Test; BATTCHG
  • Page 67 – IMPORTANT; System Shutdown Test
  • Page 68 – Full Power Down Test; when it detects a power failure situation (the pres-
  • Page 69 – UPSTYPE smart
  • Page 71 – Troubleshooting Your Installation; Known Problems with USB UPSes; Some Cheaper Models Do Not Have Battery Charge:
  • Page 72 – Monitoring and Tuning your UPS
  • Page 73 – eprom
  • Page 76 – Apcupsd Notification and Events
  • Page 77 – NETSERVER on
  • Page 80 – system
  • Page 85 – Configuring Your EEPROM; apcupsd No Longer Configures EEPROM:
  • Page 88 – Maintaining Your UPS; important
  • Page 89 – What Various People Have to Say about Batteries; Here is what John Walker has to say about APC UPS batteries:
  • Page 91 – Finally, here is what Carl Erhorn has to say about batteries:
  • Page 93 – My comments on this proceedure:
  • Page 94 – —Carl
  • Page 95 – Where Carl Suggests You Get Batteries
  • Page 96 – Here is a link to the APC Battery Store.; Frequently-Asked Questions; Why all the craziness with custom serial cables?
  • Page 98 – is
  • Page 103 – apccontrol Command Line Options; printf ‘‘Power problems please logoff.’’
  • Page 107 – Server/Slave Networking using NIS and the NET Driver:
  • Page 112 – Controlling Multiple UPSes on one Machine; Configuration; The First Copy of apcupsd:
  • Page 114 – Support for SNMP UPSes; snmp To run apcupsd with an SNMP UPS, you need the following things:; Connecting an SNMP UPS; where the directive is made by four parts:
  • Page 116 – Running the server as a child of apcupsd; NETSERVER
  • Page 117 – Running apcnisd from INETD
  • Page 118 – Running apcnisd Standalome; SERVER
  • Page 119 – apcupsd System Logging; log; Logging Types
  • Page 120 – Implementation Details
  • Page 121 – First as root, you create the named pipe:; Developers Notes
  • Page 122 – Installation; WinZip
  • Page 123 – Yes
  • Page 126 – Start
  • Page 128 – Close apcupsd
  • Page 130 – Post Installation
  • Page 131 – Utility Functions; Services
  • Page 132 – Stop; Disclaimer; doshutdown
  • Page 133 – Email Notification of Events; back; Killpower under Windows; To implement this feature, you need to add the
  • Page 134 – to; Power Down During Shutdown; Nevertheless some people prefer to do a full power down.
  • Page 136 – Depending on whether or not you have
  • Page 137 – Cables; If you have an apcmart UPS, and you build your own cable, build a; Smart-Custom Cable for SmartUPSes
  • Page 138 – Smart Signalling Cable for BackUPS CS Models
  • Page 140 – Voltage-Signalling Cable for “dumb” UPSes; List of components one needs to make the Simple cable:
  • Page 141 – Finally, here is another way of looking at the CUSTOM-SIMPLE cable:
  • Page 142 – Other APC Cables that apcupsd Supports
  • Page 143 – Voltage Signalling
  • Page 144 – The Back-UPS Office 500 signals; It appears that the signals work as follows:; Analyses of APC Cables
  • Page 146 – , who disassembled the original
  • Page 151 – From Jan Babinski jbabinsk at pulsarbeacon dot com: (many thanks)
  • Page 154 – RS232 Wiring and Signal Conventions
  • Page 155 – Ioctl to RS232 Correspondence; Testing Serial-Line UPSes
  • Page 156 – Establishing Serial Port Connection
  • Page 157 – root
  • Page 159 – Using apctest on Serial-Line UPSses; UPSTYPE backups
  • Page 160 – Expected apctest Signals for a UPS:; RTS
  • Page 161 – Troubleshooting Serial Line communications; Determining Which Voltage-Signaling Cable You Have; not; Once you have established serial communications
  • Page 162 – Recalibrating the UPS Runtime; Shutdown apcupsd
  • Page 163 – Status Logging On Serial-Line UPSes
  • Page 164 – BackUPS and NetUPS Simple Signals; DATA Logging; This feature is somewhat outdated and not often used.
  • Page 165 – General Configuration Directives
  • Page 167 – Configuration Directives used during Power Failures; annoyme
  • Page 169 – apcaccess status
  • Page 170 – Configuration Directives used to Control System Logging
  • Page 171 – Configuration Directives for Sharing a UPS
  • Page 174 – Configuration Directives Used to Set the UPS EPROM; option is specified on the apcupsd command line, and the
  • Page 176 – apcaccess eeprom; apcupsd Status Logging; Status report format
  • Page 177 – Status Report Example; An example of output from an international SmartUPS 1000 follows:
  • Page 179 – Status Report Fields
  • Page 182 – Logging the STATUS Information; The Shutown Sequence and its Discontents; Shutdown Sequence
  • Page 184 – option. This will cause apcupsd to program the
  • Page 186 – Shutdown Problems; just after the line that reads
  • Page 187 – Startup; Windows Considerations; APC smart protocol; Bible
  • Page 188 – NUT; Description
  • Page 189 – The Smart Protocol; Code
  • Page 195 – Alert messages; Character
  • Page 197 – Interpretation of the Old Firmware Revision
  • Page 198 – Interpretation of the New Firmware Revision; EEPROM Values
  • Page 200 – Programming the UPS EEPROM
  • Page 201 – Acknowledgements; Apcupsd — RPM Packaging FAQ; Answers; How do I build Apcupsd for platform xxx?
  • Page 203 – Contributors; Current Code Maintainer and Pro ject Manager:
  • Page 205 – Pro ject Discussions:; Disclaimer: NO WARRANTY
  • Page 206 – Kernel Config; A typical USB section of a .config file might be:
  • Page 224 – Index; time in seconds
Loading the manual

Apcupsd is a UPS control system that permits orderly

shutdown of your computer in the event of a power failure.

Kern Sibbald

April 3, 2005

This manual documents apcupsd version 3.10.17

Copyright (C) 1999-2005 Kern Sibbald

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Summary

Page 3 - Contents; Verifying a Source Installation

Contents Apcupsd User’s Manual . . . . . . . . . . . . . . . . . . . . . . . . 6 Release Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 How To Use This Manual . . . . . . . . . . . . . . . . . . . . . . . 9 Bas...

Page 4 - apcaccess Test

Checking Your Configuration File . . . . . . . . . . . . . . . . 44 Arranging for Reboot on Power-Up . . . . . . . . . . . . . . . 45 Making sure apcupsd Is Running . . . . . . . . . . . . . . . . 46 Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . 47 Simple USB Configuration ....

Page 5 - Master/Slave Configurations

Apcupsd Notification and Events . . . . . . . . . . . . . . . . 70 hid-ups and USB Specific Information . . . . . . . . . . . . . 71 apcupsd Network Monitoring (CGI) Programs . . . . . . . . . 71 Setting up and Testing the CGI Programs . . . . . . . . . . . 71 Configuring Your EEPROM . . . . . . . ....

Other APC Models

All APC Other