February 22, 20206 yr 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?
February 22, 20206 yr 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.
February 22, 20206 yr 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:/
February 22, 20206 yr 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.
February 22, 20206 yr 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
February 23, 20206 yr 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?
February 23, 20206 yr 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...
February 23, 20206 yr 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?
February 23, 20206 yr 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.
February 23, 20206 yr 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.