Re: Two Hosts with Self Hosted Engine - HA / Failover & NFS

I don't think that you can achieve it with only 2 nodes, as you can't protect yourself of split brain. Ovirt supports only glusterfs of replica 3 arbiter 1. If you create your own glusterfs , you can use glusterd2 with a "remote arbiter" in another location. That will give you protection from split brain and as it is remote - the latency won't kill your write speed. I can recommend you to get a VM in your environment (not hosted on any of the 2 hosts) or a small machine with a SSD and use that as pure arbiter. Using one of the 2 nodes as arbiter brick is not going to help, as when that node fails - the cluster on the other node will stop working. It's the same with hosting NFS on one of the machines. As far as I know DRBD is not yet fully integrated, but you can give it a try.Still, using only 2 nodes gives no protection from split brain. Best Regards, Strahil NikolovOn Mar 7, 2019 01:28, shanep@lifestylepanel.com wrote:
Is it possible to have only two physical hosts with NFS and be able to do VM HA / Failover between these hosts?
Both hosts are identical with RAID Drive Arrays of 8TB.
If so, can anybody point me to any docs or examples on exactly how the Storage setup is done so that NFS will replicate across the hosts?
If not what file system should I use to achieve this?
Thanks Shane _______________________________________________ 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/5H4NDGUBBFYWI6...

Yes, you can do this with only 2 hosts and NFS. https://ovirt.org/documentation/vmm-guide/chap-Administrative_Tasks.html#imp... With the 2 hosts in the same cluster, they will both see the storage domain automatically. [He's not asking about gluster -- he's asking about NFS. gluster, split brain, arbiters, etc are not relevant.] Greg On Wed, Mar 6, 2019 at 11:58 PM Strahil <hunter86_bg@yahoo.com> wrote:
I don't think that you can achieve it with only 2 nodes, as you can't protect yourself of split brain. Ovirt supports only glusterfs of replica 3 arbiter 1. If you create your own glusterfs , you can use glusterd2 with a "remote arbiter" in another location. That will give you protection from split brain and as it is remote - the latency won't kill your write speed.
I can recommend you to get a VM in your environment (not hosted on any of the 2 hosts) or a small machine with a SSD and use that as pure arbiter.
Using one of the 2 nodes as arbiter brick is not going to help, as when that node fails - the cluster on the other node will stop working. It's the same with hosting NFS on one of the machines.
As far as I know DRBD is not yet fully integrated, but you can give it a try.Still, using only 2 nodes gives no protection from split brain.
Best Regards, Strahil NikolovOn Mar 7, 2019 01:28, shanep@lifestylepanel.com wrote:
Is it possible to have only two physical hosts with NFS and be able to
do VM HA / Failover between these hosts?
Both hosts are identical with RAID Drive Arrays of 8TB.
If so, can anybody point me to any docs or examples on exactly how the
Storage setup is done so that NFS will replicate across the hosts?
If not what file system should I use to achieve this?
Thanks Shane _______________________________________________ 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/5H4NDGUBBFYWI6...
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/DZ7ZL7QLZQHUCP...
-- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig>

On Thu, Mar 7, 2019 at 4:31 PM Greg Sheremeta <gshereme@redhat.com> wrote:
Yes, you can do this with only 2 hosts and NFS.
https://ovirt.org/documentation/vmm-guide/chap-Administrative_Tasks.html#imp...
With the 2 hosts in the same cluster, they will both see the storage domain automatically.
[He's not asking about gluster -- he's asking about NFS. gluster, split brain, arbiters, etc are not relevant.]
Greg
Hi Greg, actually the OP wrote: 1) Both hosts are identical with RAID Drive Arrays of 8TB. 2) how the Storage setup is done so that NFS will replicate across the hosts? These considerations let think that he/she has not an external NFS server, but would like to provide the local storage (syncronyzed between hosts in some way) offered via NFS. Hence the suggestions in following answers about Gluster based solutions. If there i an external NFS server your link perfectly applies Gianluca

On Thu, Mar 7, 2019 at 10:39 AM Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
On Thu, Mar 7, 2019 at 4:31 PM Greg Sheremeta <gshereme@redhat.com> wrote:
Yes, you can do this with only 2 hosts and NFS.
https://ovirt.org/documentation/vmm-guide/chap-Administrative_Tasks.html#imp...
With the 2 hosts in the same cluster, they will both see the storage domain automatically.
[He's not asking about gluster -- he's asking about NFS. gluster, split brain, arbiters, etc are not relevant.]
Greg
Hi Greg, actually the OP wrote:
1) Both hosts are identical with RAID Drive Arrays of 8TB. 2) how the Storage setup is done so that NFS will replicate across the hosts?
These considerations let think that he/she has not an external NFS server, but would like to provide the local storage (syncronyzed between hosts in some way) offered via NFS. Hence the suggestions in following answers about Gluster based solutions. If there i an external NFS server your link perfectly applies
Gianluca
Ah. Fair enough. Greg -- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig>
participants (3)
-
Gianluca Cecchi
-
Greg Sheremeta
-
Strahil