-
Dynamix - V6 Plugins
Hello @jojo345 Thanks for having a look. PS/2 Keyboard S4/S5 Wakeup Support is already disabled and unfortunately the NAS is woken up by the UPS whichever port I use.
-
Dynamix - V6 Plugins
Hello everyone! I've been using Unraid for quiet some time now and I could never make S3 Sleep working. This week I started to investigate and I could find two issues with sleep on my NAS. The first one occurs when my UPS is connected to the NAS via USB. The sleep is triggered, I can hear the fans stopping, but right after the server wakes up. It doesn't occur when the UPS is disconnected I could find a comment from @nSGecko who faced the same issue one year ago: https://forums.unraid.net/topic/34889-dynamix-v6-plugins/page/147/#comment-1232676 I tried to make changes in the ACPI menu of the BIOS of my Asrock X570M Pro4 My default settings look like this as I want to use WOL 240409030852.BMP Some comments recommends to deactivate Wake on USB but I cannot find this in my bios I tried to deactivate "PCIE Devices Power On" but still have the issue (this step certainly doesn't make sense ^^) I could see on SpaceInvaderOne Sleep/Wake Guide that he has "USB Keyboard / Mouse Power On" which I don't have. Does anyone knows how I can deactivate Wake on USB with my motherboard or if there's another setting I should check? I also read the user guide of my UPS (Eaton Ellipse Pro 1200) but couldn't find much info Is there different way than USB to connect an UPS to a NAS (which wouldn't wake it up)? For the second issue, the NAS directly starts a shutdown after being woken up from sleep It happens when I wake it up through WOL, by pressing the button or when it wakes up because of the UPS I found a comment describing a similar issue by @KillerCookie. Here again, I couldn't find any answer / solution on the forum: https://forums.unraid.net/topic/34889-dynamix-v6-plugins/page/115/#comment-887940 I attached the syslog and diagnostics. It's the first time I do it, hope I created them properly. tower-diagnostics-20240409-0527.zip syslog.zip
-
Running a Script After Shutting Down a VM
Thanks! Yes when using "stopped" and without waiting, the reset wasn't done properly. I changed it to "release" and now it's working fine!
-
Running a Script After Shutting Down a VM
Hi Simon! Thanks! That's exactly the solution I needed! To sum up if someone needs to do the same: - I created the directory qemu.d in /etc/libvirt/hooks/ - Inside this directory I wrote the script below. It will run Reset_GPU located in user_scripts when any VM is stopping. I don't run it immediately because I want to be sure the VM is properly off. - I made it executable : chmod +x GPU_Reset Thanks again Simon, I didn't know about qemu and I've been struggling on this since a pretty long time!
-
taccle started following Running a Script After Shutting Down a VM
-
Running a Script After Shutting Down a VM
Hello Unraid community! I would like to know if there is any way to run a "user script" when a VM is shutdown. I have to use the GPU reset script of Spaceinvader One (https://www.youtube.com/watch?v=0uZODoPQH9c) every time I want to start a new VM. As it's mostly my parents using the VM, I would like the script to run automatically. Till now, I configured Windows to send a ssh command to Unraid when it's shutting down. But I don't think it's the best way to do it. Thanks in advance for your help!
taccle
Members
-
Joined
-
Last visited