[ClusterLabs] Ping nodes and cluster rules

Andrew Beekhof andrew at beekhof.net
Sun Apr 26 20:31:02 UTC 2015


> On 20 Apr 2015, at 5:53 pm, Adam Błaszczykowski <adam.blaszczykowski at gmail.com> wrote:
> 
> Hello,
> I am using two nodes in cluster with corosync 2.3.4 and pacemaker 1.1.12 and each node has access to 2 ping nodes.
> I would like to know if it is possible to set following cluster rules:
> 
> Rule 1 - do nothing with resources if 1 of 2 ping nodes are unreachable for one cluster node
> Rule 2 - move resources if 2 of 2 ping nodes are unreachable for one cluster node
> Rule 3 - do nothing with resources if all ping nodes are unreachable for both cluster nodes

With the current implementation, you can’t satisfy (rules 2 and 3) OR (rules 1 and 3).
One of them has to go.

> 
> NOTE: In my current configuration resources are exported when I lose access to all ping nodes on both cluster nodes. I would like to change this behavior as described in "Rule 3"
> 
> Thank you in advance !
> 
> Best Regards
> Adam Blaszczykowski
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org





More information about the Users mailing list