[Pacemaker] pcs ping connectivity rule

Martin Ševčík sevcik at esys.cz
Wed Nov 20 16:30:26 EST 2013


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

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

I appreciate any help.

Thanks,
m.




More information about the Pacemaker mailing list