Re: [Pacemaker] Strange "bad permissions" issue when starting pacemaker

2013-09-18 Thread Andrew Beekhof
On 17/09/2013, at 4:30 PM, Саша Александров wrote: > Andrew, > > Sorry, here it is: > [root@premium2 ~]# ls -la /var/lib/pacemaker/cib > total 204 > drwxrwxr-x. 2 hacluster haclient 4096 Jul 21 22:04 . > drwxr-x---. 6 root root 4096 Jul 14 18:02 .. > -rw--- 1 hacluster root

Re: [Pacemaker] monitor on disabled nodes

2013-09-18 Thread Andrew Beekhof
On 19/09/2013, at 2:13 AM, Radoslaw Garbacz 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 Yes. We have to check the resource's stat

Re: [Pacemaker] [Openais] very slow pacemaker/corosync shutdown

2013-09-18 Thread Andrew Beekhof
On 19/09/2013, at 8:25 AM, David Lang wrote: > 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

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

2013-09-18 Thread Andrew Beekhof
You might need -R On 19/09/2013, at 2:54 AM, Andreas Mock wrote: > 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 brin

Re: [Pacemaker] Postgresql Replication

2013-09-18 Thread Andrew Beekhof
On 12/09/2013, at 11:58 PM, Takatoshi MATSUO wrote: > Hi > > 2013/9/12 Eloy Coto Pereiro : >> Hi, >> >> Thanks for your help, I use the same example. In this case Kamailio need to >> start after postgresql. But this is not a problem I think, the replication >> work ok without corosync. I stop

Re: [Pacemaker] corosync service start giving segmentation fault on centos

2013-09-18 Thread Digimer
On 18/09/13 22:58, Aarti Sawant wrote: > hello, > > I am new to HA, i am trying to create HA on centos 6.4 LXC container > I have install pacemaker corosync on container and trying to create a > cluster. > contents of /etc/corosync/corosync.conf > > compatibility: whitetank > > totem { >

[Pacemaker] corosync service start giving segmentation fault on centos

2013-09-18 Thread Aarti Sawant
hello, I am new to HA, i am trying to create HA on centos 6.4 LXC container I have install pacemaker corosync on container and trying to create a cluster. contents of /etc/corosync/corosync.conf compatibility: whitetank totem { version: 2 secauth: off threads: 0 i

[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 runn

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 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 VIP on a d

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 c

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

2013-09-18 Thread Jeff Weber
Allen: On Wed, Sep 18, 2013 at 1:43 PM, Allen Pomeroy wrote: > Why don't you consider something like OpenBSD's packet filter (pf), > pfsync, and CARP? That would provide a better (hitless) HA solution for > firewalls. I also use fwbuilder.org to graphically manage the firewall > rules. I am

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 o

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 d

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 reg

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

2013-09-18 Thread Jeff Weber
Michael: Thanks. That helps me move forward. On Wed, Sep 18, 2013 at 2:09 PM, Michael Schwartzkopff wrote: > ** > > Am Mittwoch, 18. September 2013, 13:34:55 schrieb Jeff Weber: > > > How many interfaces should each cluster node have? > > > 2 interfaces: internal, external > > > or > > > 3 inte

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

2013-09-18 Thread Allen Pomeroy
Why don't you consider something like OpenBSD's packet filter (pf), pfsync, and CARP? That would provide a better (hitless) HA solution for firewalls. I also use fwbuilder.org to graphically manage the firewall rules. The best use for a cluster is services that can take a hit while the clust

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

2013-09-18 Thread 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 overwhelming, being new to HA clusters. My goals: * create 2-node Act

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 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 no

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 ip-10-238-146-5

Re: [Pacemaker] monitor on disabled nodes

2013-09-18 Thread Lars Marowsky-Bree
On 2013-09-18T11:13:46, Radoslaw Garbacz 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 wrong with my > configurat

[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 an

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 manag

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... type="ping"> name="host_list" value="192.168.1.1"/> name="multiplier" value="1000"/> name="depth" value="0"/> name="timeout" value="20s"/> name="interval

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 defin

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 n

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. Re

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. 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"> value="1.1.7-2.fc17-ee0730e13d1

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 -

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] (LRMD|PCMK)_MAX_CHILDREN?

2013-09-18 Thread Lars Marowsky-Bree
On 2013-09-18T17:53:16, "Gao,Yan" 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 expr

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" 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] 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? ;