Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unraid on UPS (USB) and apcupsd on VM for shutdown. How get this to work?

Featured Replies

 

Hey! :)

 

apcupsd get info from unraid ups: (look in picture) (Use my network ip)

 

But how I get det VM to shutdown 1 min befor unraid do it?

sdsd.jpg

Set Unraid to shutdown after 5 minutes (300 seconds) on battery, set the VM to shutdown after 4 minutes (TIMEOUT 240) on battery.

 

You want your system completely shut down as soon as it is clear the power is not coming back, typically if the power is out more than 1 minute, it's going to be out WAY longer than your UPS can handle. The last thing you want is to drain the batteries, you want to reserve as much battery as possible.

  • Author
17 minutes ago, jonathanm said:

Set Unraid to shutdown after 5 minutes (300 seconds) on battery, set the VM to shutdown after 4 minutes (TIMEOUT 240) on battery.

 

You want your system completely shut down as soon as it is clear the power is not coming back, typically if the power is out more than 1 minute, it's going to be out WAY longer than your UPS can handle. The last thing you want is to drain the batteries, you want to reserve as much battery as possible.

Thx! :) How do I " set the VM to shutdown after 4 minutes (TIMEOUT 240) on battery." ? Cant find any settings on this program for it, just info fraom UPS:/

Caveat:  You're running windows, and there's a million reasons why Windows won't shutdown (open dialog window or a document needs to be saved), or will automatically install updates when shutting down.  And then unRaid will basically yank the power from the VM if it excedes it's timer to shutdown (I believe the default it allows a VM to shutdown gracefully is 60seconds)

 

Easier solution is to forget about installing apcupsd on the VM, and rather install the VM client tools that's on the virtio iso, and then set unRaid to hibernate the VMs when it shuts itself down.

  • Author
52 minutes ago, Squid said:

Caveat:  You're running windows, and there's a million reasons why Windows won't shutdown (open dialog window or a document needs to be saved), or will automatically install updates when shutting down.  And then unRaid will basically yank the power from the VM if it excedes it's timer to shutdown (I believe the default it allows a VM to shutdown gracefully is 60seconds)

 

Easier solution is to forget about installing apcupsd on the VM, and rather install the VM client tools that's on the virtio iso, and then set unRaid to hibernate the VMs when it shuts itself down.

Yes, I drive HS3 and this app is very slow to shutdown. So i need more time for VM to shutdown. or my DB be lost.

 

How do I can get more time for VM to shutdown? Or wait to it shutdowan or if time get over 5-10 min, it can kill the VM for shutdown the unraid server :)

Since you quoted me, if you hibernate shutdown time isnt a problem

  • Author
8 hours ago, Squid said:

Since you quoted me, if you hibernate shutdown time isnt a problem

I change to 300. But what is? "exceeds Disk Shutdown 60s time-out (edit)" ? What do i change here?

dome.jpg

Are you trying to do what I'm suggesting, because you keep quoting me, but your posting implies that you're attempting to work with @jonathanm  Very confusing on my part

 

For the immediate question, have you clicked the link there yet?  It'll take you directly to where you need to be.

 

If you're attempting to do what I'm suggesting, then you've completely missed the point of what I'm suggesting.  If you're attempting to do what @jonathanm is suggesting, then stop quoting me...

  • Author
4 hours ago, Squid said:

Are you trying to do what I'm suggesting, because you keep quoting me, but your posting implies that you're attempting to work with @jonathanm  Very confusing on my part

 

For the immediate question, have you clicked the link there yet?  It'll take you directly to where you need to be.

 

If you're attempting to do what I'm suggesting, then you've completely missed the point of what I'm suggesting.  If you're attempting to do what @jonathanm is suggesting, then stop quoting me...

Hello again. I misunderstood I then, thought that's what you meant. My English is not as good as it should be.

 

How I can do this: "set unRaid to hibernate the VMs when it shuts itself down." Any guide on this here?

 

 

Switch where it says Upon Host Shutdown to be Hibernate, and on the VFIO ISO disk that appears in Windows you need to install the Client Tools.

  • Author
Just now, Squid said:

Switch where it says Upon Host Shutdown to be Hibernate, and on the VFIO ISO disk that appears in Windows you need to install the Client Tools.

Thx, I wil try this :)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.