i would like to eventually go ansible route.. and was starting down that path.... but this is fabulous.
I will modify and post how it went. One question: How /where do you set this saved new and delicious script so once oVirt-engine comes up... it runs? Thanks On Wed, Sep 30, 2020 at 2:42 PM Derek Atkins <[email protected]> wrote: > Hi, > > I had a script based around ovirt-shell which I re-wrote as a script > around the Python SDK4 which I run on my engine during the startup > sequence. The script will wait for the engine to come up and ensure the > storage domains are up before it tries to start the VMs. Then it will go > ahead and start the VMs in the specified order with specified delay and/or > wait-for-up signal between them. > > You can find my scripts at https://www.ihtfp.org/ovirt/ > > Or you can go the ansible route :) > > Enjoy! > > -derek > > On Wed, September 30, 2020 11:21 am, Jeremey Wise wrote: > > When I have to shut down cluster... ups runs out etc.. I need a sequence > > set of just a small number of VMs to "autostart" > > > > Normally I just use DNS FQND to connect to oVirt engine but as two of my > > VMs are a DNS HA cluster.. as well as NTP / SMTP /DHCP etc... I need > > those two infrastructure VMs to be auto boot. > > > > I looked at HA settings for those VMs but it seems to be watching for > > pause > > /resume.. but it does not imply or state auto start on clean first boot. > > > > Options? > > > > > > -- > > p <[email protected]>enguinpages > > _______________________________________________ > > Users mailing list -- [email protected] > > To unsubscribe send an email to [email protected] > > Privacy Statement: https://www.ovirt.org/privacy-policy.html > > oVirt Code of Conduct: > > https://www.ovirt.org/community/about/community-guidelines/ > > List Archives: > > > https://lists.ovirt.org/archives/list/[email protected]/message/VAYHFFSANCBRN44ABBTXIYEAR3ZFCP6N/ > > > > > -- > Derek Atkins 617-623-3745 > [email protected] www.ihtfp.com > Computer and Internet Security Consultant > > -- [email protected]
_______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/XGHXJVGACPIPIZB77KSXRFBF7S6VFEI3/

