TeoLinuX wrote:Thank you.
Just to know better: which is the difference between SERVICES kind of drivers and this one you posted?
Thanks
When use SERVICE>UPS, "Sleep mode" not working, and no information for "Auxiliary parameters" to fix problem.
No 100% autostart of nas4free computer (if Bios setting have "Power Less = Power ON)
after nas4free shutdown UPS must be shutdowned also (become sleep mode), and server must auto start (need bios settings) after UPS awake.
UPS must be shutdowned after server, even if the electricity was restored in 5 seconds after stopping Nas4free (or in the process of stopping Nas4free). Im test many APC UPS models and Nas4free versions with "SERVICE>UPS" options, and "Sleep mode" not working.
another difference:
if use "SERVICE>UPS" after nas5free shutdown - computer "turn off"
if use original APC drivers , afrer nas4free shutdown - computer work and system "halted" (is better for some server-motherboards, and some BIOS "Power ON" optoions). Some computers will not "auto turn on" if the shutdown was planned and correct. (even if the BIOS are used "Power ON" options, after AC power loss)
TeoLinuX wrote:
The ones in NAS4Free are generic and these are APC specific?
yes, generic, auto shutdown computer work fine.
TeoLinuX wrote:
Any APC device can be used or is there a compatibility list somewhere?
no have information , bur APC driver very universal (2004 year UPS model and 2016 year UPS model, use the same driver)
used models, all work (different versions freenas\nas4free, different versions of APC drivers):
Back UPS RS 800 (usb)
Back UPS CS 500 (usb)
Smart UPS CS 420 (usb)
Smart UPS 620 (Very old model, APC 940-0024E cable)
Smart SC-1000 (apc "serial" cable with COM to USB adaprer, APC 940-0024E cable)
Smart SC-1500 (apc "serial" cable with COM to USB adaprer, APC 940-0024E cable)
APC Back-UPS BX1400UI (2016 year model)
-some problems with "sleep mode"
-(rare problem) after nas4free server shutdown, some UPS contine work (no turn off, no server start if power fast restored, no server autostart), the solution to the problem - change version of nas4free or change model of UPS
-some old UPS models have "much delayed sleep mode" in 3-4 min (normal 30-60 sec) afrer nas4free shutdown, solution - use good battery.
No other problems.
------------
apcupsd.conf examples for some APC UPS:
config part for USB APC UPS:
UPSCABLE usb
UPSTYPE usb
# DEVICE (disabled options)
config part for smart UPS:
UPSCABLE smart
UPSTYPE apcsmart
DEVICE /dev/ttyU0
(after connect UPS, find new ".locked" file in /dev folder , is you UPS , example /dev/ttyU0.lock , config options "DEVICE /dev/ttyU0" )