Powerloss shutdown with UPS (NUT) - specify delay before force?


Recommended Posts

Hiya, i'm pretty sure there's a/some settings somewhere for shutting down gracefully with powerloss on UPS. I live in an area that tends to have at least a couple of power outages a year.

 

I know the NUT can set how long on UPS before it does the poweroff procedure, but i'm trying to find settings that pertain to how long it gives the system before it forces the issue. This is mainly to make sure the VMs and Dockers have enough time.

 

I'm sure i've seen some settings somewhere but i cannot find them - i've been looking and searching the forums for half an hour.

 

Thanks.

Link to comment

For VMs:

Settings -> VM Manager -> VM Shutdown time-out - you can also set VMs to hibernate instead of shutting down, which is usually faster and avoids Windows deciding to update on that shutdown (requires QEMU guest tools installed).

 

For array in general:

Settings -> Disk Setting -> Shutdown Time-out - Should be longer than VM shutdown time-out

 

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.