On 11/20/2013 03:30 PM, Martin Ševčík wrote:
Hello,
I have troubles setting up 'best connectivity' rule using pcs on RHEL 6.4. I
have two nodes setup with ping resource defined as:

pcs resource create ping ocf:pacemaker:ping host_list="10.242.40.251
10.242.40.252" multiplier="1000"

and location rule defined as:

pcs constraint location MyResource rule defined pingd

but this setup doesn't work. When I make one of the target hosts inaccesible on
the active node using iptables, the score drops from 2000 to 1000 but the
resource doesn't move. I also tried the old cmr syntax:

pcs constraint location MyResource rule pingd: defined pingd

Can you try the following:
pcs constraint location MyResource rule score=pingd defined pingd


but this results in syntax error. I have latest pcs 0.9.100 from git.

I appreciate any help.

Thanks,
m.

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to