"When running on UPS" - options


jj_uk

Recommended Posts


My server is in an inaccessible location. I get about 20-30mins from the ups as long as the server isn't doing too much heavy lifting when theres a power-cut.
 
Is there a way to set some options when running on ups, maybe:
 
Stop running parity check and spin down all drives.
 
Stop specified dockers when ups battery is 50%.
 
Stop all dockers when  battery is at 20%.

Go into a safe suspended state at 5% battery.

Automatically restart everything when power is restored and battery is back up to 20%.
 
My server can auto power-on after a power cut in the bios, but not if unraid shuts off the server, it has to be an uncontrolled power loss, which isn't a good idea.
 
If unraid went into a safe state, then just let the battery run out, it could auto power back on via bios and restore its self without me having to crawl through the roof to press the power button.
 
(I get regular power cuts)



Link to comment

I'd look at moving into IPMI in your situation, that way the server can shut down safely and conserve battery, then you can remotely power it back up again when power is restored. Also, running the batteries down regularly will shorten their lifespan dramatically. Lead acid batteries don't actually like being used - unless you're using deep cycle batteries, in which case carry on.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.