On 2012-12-06T00:02:28, Hermes Flying <[email protected]> wrote:

> Hi,
> I was wondering how does fencing/STONITH work in a VM environment? Obviously 
> the nodes running inside a VM should run in separate machines but can we 
> STONITH a node that is running inside a VM?

I'd suggest to use something like SBD or fence_sanlock (depending on
which distribution you run, we have multiple implementations of the
wheel).

> Also what is the best practice in regards to VMs and HA?

If you're running HA *within* the VMs, just treat them like you'd treat
physical nodes. Except for choosing an appropriate fencing mechanism,
nothing special.

Oh - if your hypervisor does something like live migrations, make sure
the timeouts of the cluster don't trigger during one. But normally
that's not a problem.


Regards,
    Lars

-- 
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 
21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to