supported_hardware:apc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
supported_hardware:apc [2020/02/18 18:46] – [Install APCUPSD] James Sentman | supported_hardware:apc [2023/02/17 13:39] (current) – made list of settings an actual list for better readability James Sentman | ||
---|---|---|---|
Line 1: | Line 1: | ||
====APC UPS=== | ====APC UPS=== | ||
- | {{: | + | {{: |
There is a rather severe problem with connecting a UPS directly to a Mac OS Server. (not MacOSX Server, but any Mac acting as a server) You might wonder why you wouldn’t want to just connect the UPS to the computer? It will shut it down properly then and all will be well. Except that if you have the energy saver preferences set up to properly shut down your computer then it will not restart when the power comes back. There is a setting for most Macs to “restart after a power failure” but this only works if you let the power actually be pulled and NOT do a proper shutdown. The bug in MacOS is that this doesn’t work if you have a UPS connected to the machine! This has been broken for several major OS versions now. If you are running a Mac server and wish to use a UPS then you don’t actually want the UPS connected to the Mac or it will not restart without you there to push the button. | There is a rather severe problem with connecting a UPS directly to a Mac OS Server. (not MacOSX Server, but any Mac acting as a server) You might wonder why you wouldn’t want to just connect the UPS to the computer? It will shut it down properly then and all will be well. Except that if you have the energy saver preferences set up to properly shut down your computer then it will not restart when the power comes back. There is a setting for most Macs to “restart after a power failure” but this only works if you let the power actually be pulled and NOT do a proper shutdown. The bug in MacOS is that this doesn’t work if you have a UPS connected to the machine! This has been broken for several major OS versions now. If you are running a Mac server and wish to use a UPS then you don’t actually want the UPS connected to the Mac or it will not restart without you there to push the button. | ||
Line 87: | Line 87: | ||
To install [[http:// | To install [[http:// | ||
- | sudo apt-get install apcupsd | + | sudo apt install apcupsd |
to make sure that it is running at startup edit / | to make sure that it is running at startup edit / | ||
Line 106: | Line 106: | ||
uncomment if necessary and edit the following lines: | uncomment if necessary and edit the following lines: | ||
- | UPSNAME (give it a short meaningful name, like main or myups or office or attic or something) | + | * UPSNAME (give it a short meaningful name, like main or myups or office or attic or something) |
- | UPSCABLE usb | + | |
- | UPSTYPE usb | + | |
- | DEVICE (this is the link to the serial port if it’s a serial device, for the USB version this line must be blank. It is not blank in the default settings and will not work for a USB device unless present, uncommented and blank) | + | |
- | POLLTIME 30 (this defaults to 60, I set mine to 30 don’t really know what the effect is as the data seems to change much faster than that anyway) | + | |
- | NETSERVER on (this is important it’s how XTension will connect to it) | + | |
- | NISIP 0.0.0.0 (this defaults to the 127.0.0.1 address meaning that it will only accept connections from the local host. If you want to be able to connect to it from XTension you must set it to 0.0.0.0) | + | |
- | NISPORT 3551 (this is the default, don’t change it, If you have to change it you can enter the port in XTension’s setup for this interface) | + | |
supported_hardware/apc.txt · Last modified: 2023/02/17 13:39 by James Sentman