Is it possible to auto-start VMs on single LocalStorage host without the engine?

I currently use KVM/virsh for my DNS. I would like it to ovirt, but I need DNS started for the engine to work. So I need to start the DNS vm before the engine. Is that possible with ovirt? I was thinking I could use the same mechanism as hosted engine, as that would autostart. In my current KVM setup I needed only to symlink /etc/libvirtd/qemu/dns.xml to /etc/libvirtd/qemu/autostart/ to get it to run.

It’s not recommended but you can put hard coded entries on /etc/hosts. It used to work in the past (4 years ago), but I never relied on this recently.
On 25 Nov 2022, at 07:51, ernest.beinrohr@axonpro.sk wrote:
I currently use KVM/virsh for my DNS. I would like it to ovirt, but I need DNS started for the engine to work. So I need to start the DNS vm before the engine. Is that possible with ovirt? I was thinking I could use the same mechanism as hosted engine, as that would autostart.
In my current KVM setup I needed only to symlink /etc/libvirtd/qemu/dns.xml to /etc/libvirtd/qemu/autostart/ to get it to run. _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org 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/users@ovirt.org/message/JPREYFWDOYKCPI...

What the engine does is to read all the data from the DB, create a configuration for that VM and power it up. Once it's up, use virsh to dump the xml config and use that in a systemd script to create the VM and run it (virsh define conf.xml; virsh start VM). Best Regards,Strahil Nikolov On Fri, Nov 25, 2022 at 17:13, Vinícius Ferrão via Users<users@ovirt.org> wrote: It’s not recommended but you can put hard coded entries on /etc/hosts. It used to work in the past (4 years ago), but I never relied on this recently.
On 25 Nov 2022, at 07:51, ernest.beinrohr@axonpro.sk wrote:
I currently use KVM/virsh for my DNS. I would like it to ovirt, but I need DNS started for the engine to work. So I need to start the DNS vm before the engine. Is that possible with ovirt? I was thinking I could use the same mechanism as hosted engine, as that would autostart.
In my current KVM setup I needed only to symlink /etc/libvirtd/qemu/dns.xml to /etc/libvirtd/qemu/autostart/ to get it to run. _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org 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/users@ovirt.org/message/JPREYFWDOYKCPI...
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org 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/users@ovirt.org/message/YEBPMSLQZVKIZU...
participants (3)
-
ernest.beinrohr@axonpro.sk
-
Strahil Nikolov
-
Vinícius Ferrão