Re: [Pacemaker] pcs ping connectivity rule

2013-12-09 Thread Bauer, Stefan (IZLBW Extern)
May i ask, how your configuration snippet look like? 

Thank you

Stefan

-Ursprüngliche Nachricht-
Von: Martin Ševčík [mailto:sev...@esys.cz] 
Gesendet: Freitag, 6. Dezember 2013 12:26
An: pacemaker@oss.clusterlabs.org
Betreff: Re: [Pacemaker] pcs ping connectivity rule

I installed crmsh and configured it via crm commands.

best regards,
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


Re: [Pacemaker] pcs ping connectivity rule

2013-12-09 Thread Martin Ševčík

relevant parts of the config:

primitive pingd ocf:pacemaker:ping \
params host_list=10.242.50.251 10.242.50.252 multiplier=1

location l_best_connectivity g_ris \
rule $id=l_best_connectivity-rule pingd: defined pingd

best regards,
m.

On 12/09/2013 09:43 AM, Bauer, Stefan (IZLBW Extern) wrote:

May i ask, how your configuration snippet look like?

Thank you

Stefan

-Ursprüngliche Nachricht-
Von: Martin Ševčík [mailto:sev...@esys.cz]
Gesendet: Freitag, 6. Dezember 2013 12:26
An: pacemaker@oss.clusterlabs.org
Betreff: Re: [Pacemaker] pcs ping connectivity rule

I installed crmsh and configured it via crm commands.

best regards,
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


Re: [Pacemaker] pcs ping connectivity rule

2013-12-06 Thread Martin Ševčík

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:cfe...@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@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
___
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


Re: [Pacemaker] pcs ping connectivity rule

2013-12-02 Thread Chris Feist

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


[Pacemaker] pcs ping connectivity rule

2013-11-20 Thread Martin Ševčík

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.

___
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