02.12.2015 Views

Network UPS Tools User Manual

Network UPS Tools User Manual

Network UPS Tools User Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Network</strong> <strong>UPS</strong> <strong>Tools</strong> <strong>User</strong> <strong>Manual</strong> 9 / 84<br />

3.2 Multiple architecture support<br />

• Cross-platform - different flavors of Unix can be managed together with a common set of tools, even crossing architectures.<br />

• This software has been reported to run on Linux distributions, the BSDs, Apple’s OS X, Solaris, IRIX, HP/UX, Tru64 Unix,<br />

and AIX.<br />

• Windows users may be able to build it directly with Cygwin. There is also a port of the client-side monitoring to Windows<br />

called WinNUT.<br />

• Your system will probably run it too. You just need a good C compiler and possibly some more packages to gain access to the<br />

serial ports. Other features, such as USB / SNMP / whatever, will also need extra software installed.<br />

3.3 Layered and modular design with multiple processes<br />

• Three layers: drivers, server, clients.<br />

• Drivers run on the same host as the server, and clients communicate with the server over the network.<br />

• This means clients can monitor any <strong>UPS</strong> anywhere as long as there is a network path between them.<br />

Warning<br />

Be sure to plug your network’s physical hardware (switches, hubs, routers, bridges, . . . ) into the <strong>UPS</strong>!<br />

3.4 Redundancy support - Hot swap/high availability power supplies<br />

• upsmon can handle high-end servers which receive power from multiple <strong>UPS</strong>es simultaneously.<br />

• upsmon won’t initiate a shutdown until the total power situation across all source <strong>UPS</strong>es becomes critical (on battery and low<br />

battery).<br />

• You can lose a <strong>UPS</strong> completely as long as you still have at least the minimum number of sources available. The minimum<br />

value is configurable.<br />

3.5 Security and access control<br />

• Manager functions are granted with per-user granularity. The admin can have full powers, while the admin’s helper can only<br />

do specific non-destructive tasks such as a battery test.<br />

• The drivers, server, and monitoring client (upsmon) can all run as separate user IDs if this is desired for privilege separation.<br />

• Only one tiny part of one program has root powers. upsmon starts as root and forks an unprivileged process which does the<br />

actual monitoring over the network. They remain connected over a pipe. When a shutdown is necessary, a single character is<br />

sent to the privileged process. It then calls the predefined shutdown command. In any other case, the privileged process exits.<br />

This was inspired by the auth mechanism in Solar Designer’s excellent popa3d.<br />

• The drivers and network server may be run in a chroot jail for further security benefits. This is supported directly since version<br />

1.4 and beyond with the chroot= configuration directive.<br />

• IP-based access control relies on the local firewall and TCP Wrapper.<br />

• SSL is available as a build option ("--with-ssl"). It encrypts sessions with upsd and can also be used to authenticate servers.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!