On 02/09/13 04:16, Dejan Muhamedagic wrote:
Hi,

On Mon, Sep 02, 2013 at 03:54:12PM +1000, Alex Sudakar wrote:
I have two specific questions about setting up multiple STONITH
resources that are capable of killing the same node.  I'm running
Pacemaker 1.1.6-3 on Red Hat Enterprise Linux 6.2 with a cluster of
two nodes, both KVM VMs.

My intent is to actually have three stonith resources for each node/VM:

-  one using fence_virsh that reaches the VM's hypervisor via network A;

-  one using fence_virsh that reaches the VM's hypervisor via network B; and

-  one that uses fence_ilo to power off the VM's hypervisor via a
direct connection to its ILO (lights out) controller.

I set each of the above with increasing values for their meta
'priority' attributes.  The idea was that each would be used in turn
until one succeeded, in the order as listed above.

IIRC, the priority attribute is supposed to be in the resource
instance parameters, not in meta attributes. That's assuming that
this version runs stonithd (I cannot recall when stonith-ng
replaced it). For stonith-ng you'll need a version which has
the fencing-topology feature.

Thanks,

Dejan

I know that I could not use IPMI -> PDU fence configuration until v1.1.10 which was released not too long ago;

http://clusterlabs.org/wiki/Fencing_topology

If you switch to pcs if/when you upgrade, this is the pcs version of the above tutorial;

http://clusterlabs.org/wiki/STONITH_Levels

--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without access to education?
_______________________________________________
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