ovirt-hosted-engine-setup and single machine install

Hello All, after configuring a first setup, based on the quick start guide, I'm now looking at the hosted-engine setup. My question is: after I do the hosted-engine-setup, how do I setup vm's on the same machine that hosts the now-virtualized engine? Greetings, J.

Hi Johan, On Mon, Nov 23, 2015 at 9:39 PM, Johan Vermeulen <jameslast29@gmail.com> wrote:
Hello All,
after configuring a first setup, based on the quick start guide, I'm now looking at the hosted-engine setup. My question is: after I do the hosted-engine-setup, how do I setup vm's on the same machine that hosts the now-virtualized engine?
You can add this host like any other host. You will then also see the hosted engine VM as a special VM in the VMs tab of the web admin portal. Just make sure that your VM can reach the physical host.
Greetings, J.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Best Regards, Roman

On Tue, Nov 24, 2015 at 9:05 AM, Roman Mohr <rmohr@redhat.com> wrote:
Hi Johan,
On Mon, Nov 23, 2015 at 9:39 PM, Johan Vermeulen <jameslast29@gmail.com> wrote:
Hello All,
after configuring a first setup, based on the quick start guide, I'm now looking at the hosted-engine setup. My question is: after I do the hosted-engine-setup, how do I setup vm's on the same machine that hosts the now-virtualized engine?
You can add this host like any other host. You will then also see the hosted engine VM as a special VM in the VMs tab of the web admin portal. Just make sure that your VM can reach the physical host.
Just an addition: your first host will be automatically added to your engine so you don't have to do anything special on that. hosted-engine on the other side, is using a dedicated storage domain for the engine VM and you cannot use it for other VMs so you still need to add a second storage domain for regular VMs. Take care that loopback mounting NFS could lead to deadlocks: https://lwn.net/Articles/595652/ On a single host with the storage on the same host iSCSI seams more reliable.
Greetings, J.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Best Regards, Roman
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Tue, Nov 24, 2015 at 9:39 AM, Simone Tiraboschi wrote:
Just an addition: your first host will be automatically added to your engine so you don't have to do anything special on that. hosted-engine on the other side, is using a dedicated storage domain for the engine VM and you cannot use it for other VMs so you still need to add a second storage domain for regular VMs.
Take care that loopback mounting NFS could lead to deadlocks: https://lwn.net/Articles/595652/ On a single host with the storage on the same host iSCSI seams more reliable.
Take in mind also that in 3.6.0 there is a bug so that you don't actually see your engine vm inside admin portal and also you cannot import it. To be fixed in 3.6.1. See: https://bugzilla.redhat.com/show_bug.cgi?id=1269768 Also, if you plan to have a single host and you use NFS for storage domains on your single host, you have to manually change /usr/lib/systemd/system/ovirt-ha-broker.service so that in the [Unit] section it looks like: [Unit] Description=oVirt Hosted Engine High Availability Communications Broker After=nfs-server.service otherwise ovirt-ha-broker will fail to start and you have to manually start it after boot and nfs service has come up. HIH, Gianluca

Hello Roman and Simone, thanks for pointing me in the right direction. I just messed up the first attempt by selection the wrong interface during the install. But I think I get the overall picture. Greetings, J. 2015-11-24 9:39 GMT+01:00 Simone Tiraboschi <stirabos@redhat.com>:
On Tue, Nov 24, 2015 at 9:05 AM, Roman Mohr <rmohr@redhat.com> wrote:
Hi Johan,
On Mon, Nov 23, 2015 at 9:39 PM, Johan Vermeulen <jameslast29@gmail.com> wrote:
Hello All,
after configuring a first setup, based on the quick start guide, I'm now looking at the hosted-engine setup. My question is: after I do the hosted-engine-setup, how do I setup vm's on the same machine that hosts the now-virtualized engine?
You can add this host like any other host. You will then also see the hosted engine VM as a special VM in the VMs tab of the web admin portal. Just make sure that your VM can reach the physical host.
Just an addition: your first host will be automatically added to your engine so you don't have to do anything special on that. hosted-engine on the other side, is using a dedicated storage domain for the engine VM and you cannot use it for other VMs so you still need to add a second storage domain for regular VMs.
Take care that loopback mounting NFS could lead to deadlocks: https://lwn.net/Articles/595652/ On a single host with the storage on the same host iSCSI seams more reliable.
Greetings, J.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Best Regards, Roman
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (4)
-
Gianluca Cecchi
-
Johan Vermeulen
-
Roman Mohr
-
Simone Tiraboschi