Re: Need advice using pacemaker on VMs for application HA

Hi, Thank you both for your responses, In a conclusion : - Don't mix up several solution that provide HA : - either choose oVirt HA. - or use software HA inside a VM. And since I need to monitor a service inside the VM for HA purpose, the implementation will be : - Create two VMs (nodes) without oVirt HA enabled. - Create the shared storage. - Configure pacemaker with stonith using fence rhev. - Test the configuration and my be try to test a hypervisor crash to see the behavior of the solution. Regards. 2018-05-24 17:12 GMT+01:00 Gianluca Cecchi <gianluca.cecchi@gmail.com>:
On Thu, May 24, 2018 at 6:05 PM, Gianluca Cecchi < gianluca.cecchi@gmail.com> wrote:
- What about the shared storage, we will use a shared disk on oVirt which does not support snapshot
What is the question?
In the past I had to configure a virtual CentOS 6 cluster because I needed to replicate a problem I had in a physical production cluster and to verify if some actions/updates would have solved the problem. I had no more spare hw to configure an so using the poor-man method (dd + reconfigure) I had the cluster up and running with two twin nodes identical to the physical ones. I also opened this bugzilla to backport the el7 package to el6: https://bugzilla.redhat.com/show_bug.cgi?id=1446474
The intracluster network has been put on OVN btw
But honestly I doubt I will use a virtual-cluster software stack to provide high availability to production services inside a VM. Too many inter-relations
I didn't complete the answer about storage. Indeed if the cluster services need also a storage (eg a filesystem), you should create dedicated virtual disks that you mark as shared and assign to all the nodes of the virtual-cluster. This compromise the snapshot functionality (of only the shared disks, you can snapshot the boot disk and the not shared disks).
HIH, Gianluca
participants (1)
-
wodel youchi