Hello,
I'm running FreeNAS-9.3-STABLE-201511040813 with a USB connection to an APC SmartUPS 3000. The ups is configured using the "APC ups 2 Smart-UPS USB USB (usbhid-ups)" driver in master mode. There are several machines communicating with the freenas in slave mode. Everything seems to be working great - I can query details from the master or slaves, and everyone gets konsole notifications of communication errors (forced when I change UPS config in GUI).
A little background info - I have 3 outlet groups set up to do a sequenced power up.
Group 1 - comes on immediately for networking gear
Group 2 - comes on 2 minutes later powering the FreeNAS server
Group 3 - comes on 8 minutes later powering other servers - after FreeNAS has had time to boot and NFS mounts are available.
For testing purposes, I have freenas set to initiate a powerdown when "UPS goes on battery" instead of low battery to avoid running things down just to test the procedure.
After setting everything up, I simulated a power failure by pulling the plug on the UPS. All of the servers shut down (slaves and freenas master), although I wasn't happy with the sequence. FreeNAS didn't give the other servers time to shutdown - but I'm sure I can find the parameter governing this timing. The key is have the system commit to the power down once initiated and slaves have been notified there is no turning back.
Here is my problem... The FreeNAS gives the UPS the shutdown command on its way down, and the UPS powers everything off, and sits in what looks like a deep sleep mode. When I reconnect the power, the UPS turns back on immediately (as expected, since the battery wasn't drained), but instead of going through the 10 minute sequence of powering on the outlet groups, all 3 groups just come on immediately.
This leads to servers booting before the NFS mounts are available, etc... not the desired behavior.
I think it may have something to do with the actual command that is being issued by the driver to shut the UPS down. Has anyone else encountered this type of issue?
Thanks.
I'm running FreeNAS-9.3-STABLE-201511040813 with a USB connection to an APC SmartUPS 3000. The ups is configured using the "APC ups 2 Smart-UPS USB USB (usbhid-ups)" driver in master mode. There are several machines communicating with the freenas in slave mode. Everything seems to be working great - I can query details from the master or slaves, and everyone gets konsole notifications of communication errors (forced when I change UPS config in GUI).
A little background info - I have 3 outlet groups set up to do a sequenced power up.
Group 1 - comes on immediately for networking gear
Group 2 - comes on 2 minutes later powering the FreeNAS server
Group 3 - comes on 8 minutes later powering other servers - after FreeNAS has had time to boot and NFS mounts are available.
For testing purposes, I have freenas set to initiate a powerdown when "UPS goes on battery" instead of low battery to avoid running things down just to test the procedure.
After setting everything up, I simulated a power failure by pulling the plug on the UPS. All of the servers shut down (slaves and freenas master), although I wasn't happy with the sequence. FreeNAS didn't give the other servers time to shutdown - but I'm sure I can find the parameter governing this timing. The key is have the system commit to the power down once initiated and slaves have been notified there is no turning back.
Here is my problem... The FreeNAS gives the UPS the shutdown command on its way down, and the UPS powers everything off, and sits in what looks like a deep sleep mode. When I reconnect the power, the UPS turns back on immediately (as expected, since the battery wasn't drained), but instead of going through the 10 minute sequence of powering on the outlet groups, all 3 groups just come on immediately.
This leads to servers booting before the NFS mounts are available, etc... not the desired behavior.
I think it may have something to do with the actual command that is being issued by the driver to shut the UPS down. Has anyone else encountered this type of issue?
Thanks.