June 11, 20206 yr Good Morning I did a search but maybe my parameters were to wide or I was not using the proper verbage. In the middle of the night a user inadvertently shutdown one of the Linux VM's we have running from within the actually OS. I'm hoping someone has run into this and has a solution that if Unraid sees this VM off or in a suspended state that it will just turn it back on.
June 11, 20206 yr 40 minutes ago, majorpaynedof said: Anyone have a clue how to even begin this? Periodically parse the output of virsh list and act on the result using the appropriate virsh start or resume.
June 12, 20206 yr Or, just brute force it and script a virsh start <VMNAME> command every few minutes. Downside to automatically restarting a VM is if the start command is issued while to array is being asked to stop you could run into issues. I'd only force a VM start every hour or so, eventually the users should learn not to shut down VM's.
Archived
This topic is now archived and is closed to further replies.