Power Outage Notification

Status
Not open for further replies.
Joined
Nov 24, 2013
Messages
214
Hi,

Will FreeNAS can send me notification if the NAS go on battery and if the NAS will be shutted down due to low battery? And the notifications is just for disk failures or its for power event too?


Thanks,

Guillaume
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
You will get a message if the UPS switches to battery. You probably won't get one saying the server will shut down, though.
 
Joined
Nov 24, 2013
Messages
214
Also, will the NAS can send a message to the UPS via the USB for once the NAS is correclty shutted down, the UPS will shutdown too for avoid draining batteries?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
Also, will the NAS can send a message to the UPS via the USB for once the NAS is correclty shutted down, the UPS will shutdown too for avoid draining batteries?
How could a system that is shut down, turn off the power ?
 
Joined
Nov 24, 2013
Messages
214
Good question but, I see on many UPS website once the system plugged into the UPS is shutted down because the UPS power is low, the UPS can turn itself off for avoid draining batteries, and that could be a good thing in the case of multiples power outages. But I don't know if its the system who send a message to the UPS before the system is shutdown or something else. So, will FreeNAS can send an command to the UPS for tell to turn off after the FreeNAS was shutdown?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
Good question but, I see on many UPS website once the system plugged into the UPS is shutted down because the UPS power is low, the UPS can turn itself off for avoid draining batteries, and that could be a good thing in the case of multiples power outages. But I don't know if its the system who send a message to the UPS before the system is shutdown or something else. So, will FreeNAS can send an command to the UPS for tell to turn off after the FreeNAS was shutdown?
That would have to be a function of the UPS, not the server attached that is offline already
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
How could a system that is shut down, turn off the power ?

It's a protocol thing. The management software on the PC sends a "I'm shutting the system down. Turn yourself off in two minutes!" type signal to the UPS.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
It's a protocol thing. The management software on the PC sends a "I'm shutting the system down. Turn yourself off in two minutes!" type signal to the UPS.

Actually, its both. Some look for a drop in wattage, some go by the management software. I don't know of any decoder ring that tells you which does what, but I will tell you that the two my friend bought (forgot the exact model) go by voltage drop. The crappy part is that the darn thing can (and has) shutdown the UPS before the desktop it was attached to shutdown because it decided that wattage had dropped enough that the desktop must be off. Really sucks. It was an APC if that helps at all.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Yeah, sorry, I tend to work with the smarter managed UPS's so I'm unfamiliar with the exact specifics of what's available down there. It's really just like any other PC component... they charge more for the good stuff. :-(
 
Joined
Nov 24, 2013
Messages
214
Nop, the server was succesfuly shutdown after 30 secondes but the UPS is not shutdown, so when I plug the UPS into the wall socket, the server is not turned on automaticly even if in the Bios I set the power loss action to ''turn on''. This happen because the UPS is still on.

Any ideas for how to get the UPS shutdown?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
Nop, the server was succesfuly shutdown after 30 secondes but the UPS is not shutdown, so when I plug the UPS into the wall socket, the server is not turned on automaticly even if in the Bios I set the power loss action to ''turn on''. This happen because the UPS is still on.

Any ideas for how to get the UPS shutdown?
Contact APC and find out how to do it with your model of UPS
 
Joined
Nov 24, 2013
Messages
214
This is a screen shot of my UPS configuration on FreeNAS GUI. Something wrong with this configuration?
 

Attachments

  • Capture.PNG
    Capture.PNG
    24.1 KB · Views: 307

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Not all UPSes turn off. Some have like a 5 minute delay before they power down. My friend and I figured out the UPS powers down on its own because we powered off the desktop, powered the desktop back on and used it for 2-3 minutes (we were logged in and surfing the net...) and it suddenly turned off. That was how we found out the UPS turns off at all. :/
 
Joined
Nov 24, 2013
Messages
214
I have another question, if I install no UPS, can I loss data in case of power outage? Please note my drives don't have any RAID, they are set each as single disks. The backups are maid once a week on external HDDs.
 
Status
Not open for further replies.
Top