On Wed, Dec 14, 2016 at 9:02 AM, TranceWorldLogic . <tranceworldlo...@gmail.com> wrote: > Hi, > > I was trying to explore more about fencing option supported in ovirt. > But getting lost in documents. > > My requirement is to fence at VM level rather than host level. > e.g let assume VM1.1, VM1.2,VM1.3 are running on host1 and VM2.1,VM2.2 VM2.3 > running on host2. Suppose due to some error only VM1.1 goes down [Note: > VM1.2 and VM1.3 in running state] then VM2.1 must come up. > > Can I get to know whether such functionality is supported by ovirt ? > If yes, would you please explain also how it work > or would you share refernece for me to refer and understand it ? > if yes, is it configurable by python sdk ?
Fencing in the VM level is not available yet, but will be possible once we have vm-leases: https://www.ovirt.org/develop/release-management/features/storage/vm-leases/ On top of this, we will support automatic failover of vms: https://github.com/oVirt/ovirt-site/pull/586/commits/77669161397ebf4cc15c66e0e6876bc033384cfc This should be available in 4.1, currently blocked by libvirt bug: https://bugzilla.redhat.com/1403691 Once a vm has a lease, you can revoke the lease from another host, causing sanlock on the original host to terminate the vm using sanlock_request() api. When this will be implemented, we can expose this via the REST API and the SDK. Nir > > Thanks, > ~Rohit > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.phx.ovirt.org/mailman/listinfo/users > _______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users