Hi,

Excuse the English :)

Need some advice regarding the use of high availability software on VMs on oVirt.

We are migrating a physical high available application to oVirt.
The HA platform uses pacemaker, it contains two nodes and a shared storage, fence (stonith) is configured to use ILO.

I know that oVirt offers HA for VM, but this HA is not application aware, if a service crashes on the VM, it will not be detected.
Fencing could be achieved by fence agent rhev.

My questions are about the best way to migrate this platform to oVirt.

- Is it a good idea to make both VMs (formally nodes) Highly-Available VMs? or may be pin each one of them to a particular hypervisor and/or use VM-Affinity?

- I am thinking about the situation where the hypervisor containing one of the VMs crashes, what will be the behavior of the the fence agent on the application?
   - if the crashed VM is not HA, it will not start on another hypervisor, so the fence agent will try to fence a VM that does not exist anymore, and it will stuck.
   - if the crashed VM is HA, it will be started on another hypervisor, but what will happen with the fence agent? I think that one VM will fence the other one, and the application will still be unreachable for a longer period.

- What about the shared storage, we will use a shared disk on oVirt which does not support snapshot

- What are the things to avoid?

Any suggestions will be appreciated.

Regards.