Re: [Pacemaker] Error when managing network with ping/pingd.

2013-09-18 Thread Andreas Kurz
On 2013-09-17 16:25, Francis SOUYRI wrote: Hello, Thank for your reply Andreas, I set the multiplier to 1000, cut the netword nothing append. Well, the ping resource-agent updates the value on every monitor event looking again on your configuration, guess what operation is missing? ;-)

Re: [Pacemaker] (LRMD|PCMK)_MAX_CHILDREN?

2013-09-18 Thread Gao,Yan
On 09/17/13 15:53, Lars Marowsky-Bree wrote: On 2013-09-16T18:19:55, Gao,Yan y...@suse.com wrote: 1. Global property: operations-limit, operations-limit-migrate (alias for migration-threshold) How about to keep it migration-limit, and name the new property

Re: [Pacemaker] (LRMD|PCMK)_MAX_CHILDREN?

2013-09-18 Thread Lars Marowsky-Bree
On 2013-09-18T17:53:16, Gao,Yan y...@suse.com wrote: actions-limit is a good name. (One of the three hard problems in computer science! ;-) (If we need it more fine grained at any point in the future, we can always add class/provider/type/op elements to it.) Been thinking how to

Re: [Pacemaker] Howto test/simulate the reaction of the cluster to node up and down

2013-09-18 Thread Andreas Mock
Hi all, really nobody here with deeper experience of crm_simulate? Or with a hint for good documentation? Best regards Andreas Mock -Ursprüngliche Nachricht- Von: Andreas Mock [mailto:andreas.m...@web.de] Gesendet: Dienstag, 17. September 2013 13:38 An: 'The Pacemaker cluster resource

Re: [Pacemaker] Howto test/simulate the reaction of the cluster to node up and down

2013-09-18 Thread Andreas Kurz
On 2013-09-18 15:08, Andreas Mock wrote: Hi all, really nobody here with deeper experience of crm_simulate? Or with a hint for good documentation? What Pacemaker version are you using? I did a quick test here on older 1.1.6 and 1.1.7 clusters and they show a nice output on crm_simulate -Ls

Re: [Pacemaker] Error when managing network with ping/pingd.

2013-09-18 Thread Francis SOUYRI
Hello Andreas, I do not see what is wrong in my config. cib epoch=122 num_updates=0 admin_epoch=0 validate-with=pacemaker-1.2 crm_feature_set=3.0.6 update-origin=noeud2.apec.fr update-client=cibadmin cib-last-written=Sat Sep 14 10:53:58 2013 have-quorum=1 dc-uuid=2 configuration

Re: [Pacemaker] Error when managing network with ping/pingd.

2013-09-18 Thread Andreas Kurz
On 2013-09-18 15:44, Francis SOUYRI wrote: Hello Andreas, I do not see what is wrong in my config. You have no monitor operation defined for your ping-gateway resource, so in fact it does never execute the connectivity check but only updates the pingd attriute value once on start. Regards,

Re: [Pacemaker] Howto test/simulate the reaction of the cluster to node up and down

2013-09-18 Thread Francis SOUYRI
Hello Andreas, I am testing serveur upgrade, I have one node with FC18 (pacemaker-1.1.9-0.1.70ad9fa.git.fc18.i686) and the other FC17 (pacemaker-1.1.7-2.fc17.i686). Best regards. Francis On 09/18/2013 03:44 PM, Andreas Kurz wrote: On 2013-09-18 15:08, Andreas Mock wrote: Hi all, really

Re: [Pacemaker] Error when managing network with ping/pingd.

2013-09-18 Thread Francis SOUYRI
Hello, I take an example from Internet without monitor... Do you have a suggestion ? Best regards. Francis On 09/18/2013 03:54 PM, Andreas Kurz wrote: On 2013-09-18 15:44, Francis SOUYRI wrote: Hello Andreas, I do not see what is wrong in my config. You have no monitor operation

Re: [Pacemaker] Error when managing network with ping/pingd.

2013-09-18 Thread Francis SOUYRI
Hello, I updated ping-gateway like this but nothing change... primitive class=ocf id=ping-gateway provider=pacemaker type=ping instance_attributes id=ping-gateway-instance_attributes nvpair id=ping-gateway-instance_attributes-host_list name=host_list

Re: [Pacemaker] Error when managing network with ping/pingd.

2013-09-18 Thread Andreas Kurz
On 2013-09-18 16:56, Francis SOUYRI wrote: Hello, I updated ping-gateway like this but nothing change... Hmm ... well, there is still no monitor operation you only added some more attributes. Try: crm configure monitor ping-gateway 20 ... or the equivalent in your preferred cluster

[Pacemaker] monitor on disabled nodes

2013-09-18 Thread Radoslaw Garbacz
Hi, I have a question regarding the monitor operation on disabled nodes. I noticed that this operation is called even, when an agent is disabled for a node. Is it an indented behavior or is there something wrong with my configuration? Another question is, if it is intended, whether there is any

Re: [Pacemaker] monitor on disabled nodes

2013-09-18 Thread Lars Marowsky-Bree
On 2013-09-18T11:13:46, Radoslaw Garbacz radoslaw.garb...@xtremedatainc.com wrote: Hi, I have a question regarding the monitor operation on disabled nodes. I noticed that this operation is called even, when an agent is disabled for a node. Is it an indented behavior or is there something

Re: [Pacemaker] monitor on disabled nodes

2013-09-18 Thread Radoslaw Garbacz
Sorry for not being specific. The agent is meant to run only on a specific node (the head), and by constraints is disabled on all other nodes. 'pcs constraint' reports: Location Constraints: Resource: dbx_nfs_head Enabled on: ip-10-138-14-225 Disabled on: ip-10-151-14-34

Re: [Pacemaker] monitor on disabled nodes

2013-09-18 Thread Radoslaw Garbacz
Hi, Seems like 'ocf_is_probe' is the right call in my case. On Wed, Sep 18, 2013 at 11:17 AM, Lars Marowsky-Bree l...@suse.com wrote: On 2013-09-18T11:13:46, Radoslaw Garbacz radoslaw.garb...@xtremedatainc.com wrote: Hi, I have a question regarding the monitor operation on disabled

Re: [Pacemaker] Error when managing network with ping/pingd.

2013-09-18 Thread Andreas Kurz
On 2013-09-18 16:26, Francis SOUYRI wrote: Hello, I take an example from Internet without monitor... Do you have a suggestion ? There are a lot of examples ... like this one http://goo.gl/ZfKZeq Regards, Andreas -- Need help with Pacemaker? http://www.hastexo.com/now Best regards.

Re: [Pacemaker] create 2-node Active/Passive firewall cluster

2013-09-18 Thread Michael Schwartzkopff
Am Mittwoch, 18. September 2013, 13:34:55 schrieb Jeff Weber: I am looking to create a 2-node Active/Passive firewall cluster. I am an experienced Linux user, but new to HA clusters. I have scanned Clusters From Scratch and Pacemaker Explained. I found these docs helpful, but a bit

Re: [Pacemaker] create 2-node Active/Passive firewall cluster

2013-09-18 Thread Michael Schwartzkopff
Am Mittwoch, 18. September 2013, 14:55:21 schrieb Jeff Weber: Michael: Thanks. That helps me move forward. (...) I'm still a bit unclear on how the cluster monitors the VIP resources. Do I have exactly one stanza of totem interface, and set the bindnetaddr to the heartbeat net? How does

Re: [Pacemaker] Howto test/simulate the reaction of the cluster to node up and down

2013-09-18 Thread Andreas Mock
Hallo Andreas, thank you for your reply. I use 1.1.11-git. What I did: I put one node down (servive pacemaker stop) and then execute a crm_simulate -Ls -u node and I only see the output as said before. When I bring up the node in reality pacemaker is moving resources to that node. The output of

Re: [Pacemaker] create 2-node Active/Passive firewall cluster

2013-09-18 Thread Jeff Weber
On Wed, Sep 18, 2013 at 3:10 PM, Michael Schwartzkopff mi...@clusterbau.com wrote: I'm still a bit unclear on how the cluster monitors the VIP resources. Do I have exactly one stanza of totem interface, and set the bindnetaddr to the heartbeat net? How does the cluster monitor for a

[Pacemaker] very slow pacemaker/corosync shutdown

2013-09-18 Thread David Lang
I have been using heartbeat for many years, but am now setting up some new clusters with pacemaker/corosync. I'm not sure which component is having problems so I'm sending to both lists. These are two machine clusters, configured per the RHEL quickstart on clusterlabs.org I'm frequently