[Pacemaker] pcs ping connectivity rule

Martin Ševčík sevcik at esys.cz
Fri Dec 6 06:25:46 EST 2013


I installed crmsh and configured it via crm commands.

best regards,
m.

On 12/06/2013 12:05 PM, Bauer, Stefan (IZLBW Extern) wrote:
> Any news on this? I'm facing the same issue.
>
> Stefan
>
> -----Ursprüngliche Nachricht-----
> Von: Chris Feist [mailto:cfeist at redhat.com]
> Gesendet: Dienstag, 3. Dezember 2013 01:49
> An: The Pacemaker cluster resource manager
> Betreff: Re: [Pacemaker] pcs ping connectivity rule
>
> 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 at 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 at 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 at 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
>    





More information about the Pacemaker mailing list