Re: [Pacemaker] version compatibility between pcs and pacemaker

2014-05-27 Thread Andrew Beekhof
On 27 May 2014, at 3:45 pm, K Mehta kiranmehta1...@gmail.com wrote: No reason. Need to know which combination is expected to work. The bets approach is to update both. That combination is sure to work. using 0.9.26 with new 1.1.10 pacemaker and 0.9.90 with old pacemaker has issues in

Re: [Pacemaker] no-quorum-policy = demote?

2014-05-27 Thread Christian Ciach
2014-05-27 7:34 GMT+02:00 Andrew Beekhof and...@beekhof.net: On 27 May 2014, at 3:12 pm, Gao,Yan y...@suse.com wrote: On 05/27/14 08:07, Andrew Beekhof wrote: On 26 May 2014, at 10:47 pm, Christian Ciach derein...@gmail.com wrote: I am sorry to get back to this topic, but I'm

Re: [Pacemaker] Resources move on Pacemaker + Corosync cluster with set stickiness

2014-05-27 Thread Danilo Malcangio
I've removed the location constraint and it seems the resources don't move anymore if I reboot BX-1. During reboot I noticed on crm_mon that resources for one second appeared offline and then they stayed on BX-2. Does anyone know why that happened? I've tried reconfiguring my cluster

Re: [Pacemaker] unexpected demote request on master

2014-05-27 Thread K Mehta
One more question. With crmsh, it was easy to add constraint to avoid a resource from running only a subset(say vsanqa11 and vsanqa12) of nodes using the following command crm configure location ms-${uuid}-nodes ms-$uuid rule -inf: \#uname ne vsanqa11 and \#uname ne vsanqa12 [root@vsanqa11 ~]#

[Pacemaker] Logging options: how to change logpriority only for cib

2014-05-27 Thread Bernardo Cabezas Serra
Hello, The fast question: Is it possible to have different logpriorities for cib than for lrmd or pacemakerd? The long explanation: After upgrading to pacemaker 1.1.12rc1, and enabling pgsql Master/Slave RA, I have lots of logs that are not informative, and would like to adjust logging a

Re: [Pacemaker] [Fuel][HA] Notifying clones of offline nodes

2014-05-27 Thread Lars Marowsky-Bree
On 2014-05-27T10:02:44, Andrew Beekhof and...@beekhof.net wrote: We are working on HA solutions for OpenStack(-related) services and figured out that sometimes we need clones to be notified if one of the cluster nodes running clone instances goes offline. E.g., we need this information

Re: [Pacemaker] Location constraints when dealing with multi-site clusters

2014-05-27 Thread Dejan Muhamedagic
Hi, On Mon, May 26, 2014 at 02:56:18PM +0200, Christian Ciach wrote: Hello, I am dealing with a three-node multi-site cluster using pacemaker and corosync. The third node is a quorum-only node. The three nodes form a single cluster and are connected using corosync over the internet

Re: [Pacemaker] [Fuel][HA] Notifying clones of offline nodes

2014-05-27 Thread Andrew Beekhof
On 28 May 2014, at 1:20 am, Lars Marowsky-Bree l...@suse.com wrote: On 2014-05-27T10:02:44, Andrew Beekhof and...@beekhof.net wrote: We are working on HA solutions for OpenStack(-related) services and figured out that sometimes we need clones to be notified if one of the cluster nodes

Re: [Pacemaker] no-quorum-policy = demote?

2014-05-27 Thread Andrew Beekhof
On 27 May 2014, at 7:20 pm, Christian Ciach derein...@gmail.com wrote: 2014-05-27 7:34 GMT+02:00 Andrew Beekhof and...@beekhof.net: On 27 May 2014, at 3:12 pm, Gao,Yan y...@suse.com wrote: On 05/27/14 08:07, Andrew Beekhof wrote: On 26 May 2014, at 10:47 pm, Christian Ciach

Re: [Pacemaker] Logging options: how to change logpriority only for cib

2014-05-27 Thread Andrew Beekhof
On 28 May 2014, at 12:33 am, Bernardo Cabezas Serra bcabe...@apsl.net wrote: Hello, The fast question: Is it possible to have different logpriorities for cib than for lrmd or pacemakerd? The long explanation: After upgrading to pacemaker 1.1.12rc1, and enabling pgsql Master/Slave

Re: [Pacemaker] Resources move on Pacemaker + Corosync cluster with set stickiness

2014-05-27 Thread Andrew Beekhof
On 27 May 2014, at 8:23 pm, Danilo Malcangio d.malcan...@eletech.it wrote: I've removed the location constraint and it seems the resources don't move anymore if I reboot BX-1. During reboot I noticed on crm_mon that resources for one second appeared offline and then they stayed on BX-2.

Re: [Pacemaker] unexpected demote request on master

2014-05-27 Thread Chris Feist
On 05/27/14 05:38, K Mehta wrote: One more question. With crmsh, it was easy to add constraint to avoid a resource from running only a subset(say vsanqa11 and vsanqa12) of nodes using the following command crm configure location ms-${uuid}-nodes ms-$uuid rule -inf: \#uname ne vsanqa11 and

Re: [Pacemaker] unexpected demote request on master

2014-05-27 Thread K Mehta
Chris, Here is the required information [root@vsanqa11 ~]# rpm -qa | grep pcs ; rpm -qa | grep pacemaker ; uname -a ; cat /etc/redhat-release pcs-0.9.90-2.el6.centos.2.noarch pacemaker-cli-1.1.10-14.el6_5.3.x86_64 pacemaker-libs-1.1.10-14.el6_5.3.x86_64 pacemaker-1.1.10-14.el6_5.3.x86_64

Re: [Pacemaker] [Problem] The dampen parameter of the attrd_updater command is ignored, and an attribute is updated.

2014-05-27 Thread Andrew Beekhof
On 27 May 2014, at 12:13 pm, renayama19661...@ybb.ne.jp wrote: Hi All, The attrd_updater command ignores the dampen parameter and updates an attribute. Step1) Start one node. [root@srv01 ~]# crm_mon -1 -Af Last updated: Tue May 27 19:36:35 2014 Last change: Tue May 27 19:34:59 2014

Re: [Pacemaker] [Problem] The dampen parameter of the attrd_updater command is ignored, and an attribute is updated.

2014-05-27 Thread renayama19661014
Hi Andrew, Thank you for comment. --- attrd/command.c - (snip)     /* this only involves cluster nodes. */     if(v-nodeid == 0 (v-is_remote == FALSE)) {         if(crm_element_value_int(xml, F_ATTRD_HOST_ID, (int*)v-nodeid) == 0) {             /* Create the name/id association */

Re: [Pacemaker] [Problem] The dampen parameter of the attrd_updater command is ignored, and an attribute is updated.

2014-05-27 Thread renayama19661014
Hi Andrew, I'd expect that block to hit this clause though:      } else if(mainloop_timer_running(a-timer)) {         crm_info(Write out of '%s' delayed: timer is running, a-id);         return; Which point of the source code does the suggested code mentioned above revise? (Which