Ancan Posted September 14, 2019 Share Posted September 14, 2019 Hi, Is there anyway to define which order your VM's autostart like there is in ESXi? I'd like my domain controller to be up and running before the other Windows VM's start. Quote Link to comment
JonathanM Posted September 14, 2019 Share Posted September 14, 2019 Not in the GUI that I'm aware of. It's easy to script though. The way I handle it is autostart the primary services VM, and run a script on array start that pings the primary services VM, and when it's responsive to pings the script runs "virsh start vmname" for the subsequent VM's. You can add delays or dependencies to your hearts content in the script. Quote Link to comment
Ancan Posted September 14, 2019 Author Share Posted September 14, 2019 47 minutes ago, jonathanm said: Not in the GUI that I'm aware of. It's easy to script though. The way I handle it is autostart the primary services VM, and run a script on array start that pings the primary services VM, and when it's responsive to pings the script runs "virsh start vmname" for the subsequent VM's. You can add delays or dependencies to your hearts content in the script. Thanks! I'll look into that. I think it would be a useful feature to have this in the GUI. Perhaps I'll post it as a suggestion if not already done. Quote Link to comment
itimpi Posted September 14, 2019 Share Posted September 14, 2019 6 hours ago, Ancan said: Thanks! I'll look into that. I think it would be a useful feature to have this in the GUI. Perhaps I'll post it as a suggestion if not already done. I wonder if it might be relatively easy to do the same as is done with docker containers where you can reorder them in the GUI and (optionally) add a delay after starting one VM before attempting the next one. Quote Link to comment
Recommended Posts
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.