Thank you very much for your reply. Configuring two glusterfs volumes is a great solution.
The scheme I tested so far is that three machines do glusterfs, the fourth machine only does virt, and four machines are in a cluster.
There is a problem at present, according to the theory, the maximum number of downtime can be two, as the ovirt4 node of virt is no problem, and then one of ovirt1-3 is down, and the glusterfs volume can no longer be used. Only after removing ovirt4 from the gluster cluster (gluster peer detach ovirt4) can the volume be used.
May I ask if my plan is ok?
Ovirt4 does not participate in glusterfs


xilazz@126.com
 
From: Strahil
Date: 2019-06-10 12:00
To: xilazz; users
Subject: Re: [ovirt-users] Clusters run virtual machines or Red Hat Gluster Storage Servers
OVirt + Gluster is called 'Hyperconverged' setup and it supports only replica3 or a 'replica3 arbiter1' volumes.
Vmware VSAN is another popular Hyperconverged Setup but requires a lot of licenses.
The CPU and Disk  resources are plenty on virtualization Hosts and this setup allows you to save space by removal of the iSCSI/NFS/SAN dedicated system.
 
The setup is quite popular and it works quite well, but requires a 10G network (as load balancing smaller NICs is very hard ) - if performance is required, while even a 1 gbit/s NIC is possible to be used.
Note: 1gbit/s will provide no more than 87 MB/s on gluster level for all your VMs , which is very poor.
 
If you have 4 hosts -> one of them will not be in the gluster setup, or you will have 2 separate gluster volumes like this:
oVirt1- Replica for volume A
oVirt2- Replica for volume A , arbiter for volume B
oVirt3 - Replica for volume B,arbiter for volume A
oVirt4 - Replica for volume B
 
Then you add them as hosts in your oVirt setup.
 
Best Regards,
Strahil NikolovOn Jun 10, 2019 05:29, xilazz@126.com wrote:
>
> Hi, everybody. When I was looking at the administrator's manual, it prompted Clusters run virtual machines or Red Hat Gluster Storage Servers. These two purposes are mad exclusive:
> Virtualization and storage hosts together. When I configured the cluster, I said that the glusterfs and virt I saw were alternatives to the two checkboxes.
> I would like to ask what happens when glusterfs and virt are in the same cluster?
> How can I use hosted engine when I have four nodes?
> Thank you very much for your reply.
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-leave@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/CZR73TNWNRE5LOBOLAECFF22AL7UXKYO/