Yes, you can do this with only 2 hosts and NFS.
https://ovirt.org/documentation/vmm-guide/chap-Administrative_Tasks.html#improving-uptime-with-virtual-machine-high-availability

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/5H4NDGUBBFYWI65KFNVJVVQO3O5HNPN2/
_______________________________________________
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/DZ7ZL7QLZQHUCPUTNJ3OYSOXHUM7YZKM/


--

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA

gshereme@redhat.com    IRC: gshereme