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

2013-08-29 Thread Andrew Beekhof
On 29/08/2013, at 5:36 PM, Francis SOUYRI wrote: > Hello, > > I have a corosync/pacemaker with 2 nodes and 2 nets by nodes, 192.168.1.0/24 > for cluster access, 10.1.1.0/24 for drbd in bond, both used by corosync. > I try to used ocf:pacemaker:ping to monitor the 192.168.1.0/24 I have the > c

Re: [Pacemaker] different behavior cibadmin -Ql with cman and corosync2

2013-08-29 Thread Andrew Beekhof
On 29/08/2013, at 7:31 PM, Andrey Groshev wrote: > > > 29.08.2013, 12:25, "Andrey Groshev" : >> 29.08.2013, 02:55, "Andrew Beekhof" : >> >>> On 28/08/2013, at 5:38 PM, Andrey Groshev wrote: 28.08.2013, 04:06, "Andrew Beekhof" : > On 27/08/2013, at 1:13 PM, Andrey Groshev wrote

Re: [Pacemaker] Restart service after failover or failback

2013-08-29 Thread Andrew Beekhof
On 30/08/2013, at 1:28 AM, Digimer wrote: > Use the "script" resource agent. No! LSB scripts are supported directly: http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Pacemaker_Explained/_linux_standard_base.html example at the bottom of: http://clusterlabs.org/doc/en-US/Pacemaker/

Re: [Pacemaker] [Problem]Two error information is displayed.

2013-08-29 Thread renayama19661014
Hi Andres, Thank you for comment. > But to be seriously: I see this phaenomena, too. > (pacemaker 1.1.11-1.el6-4f672bc) If the version that you confirm is the same as next, probably it will be that the same problem happens. There is a similar cord. (https://github.com/ClusterLabs/pacemaker/blob

Re: [Pacemaker] Restart service after failover or failback

2013-08-29 Thread Digimer
Use the "script" resource agent. On 29/08/13 00:45, lista linux wrote: Hi, I already see the docs, but I dont understand How I can do pacemaker execute "/etc/init.d/named restart"? Regards, On 08/29/2013 01:24 AM, Digimer wrote: On 29/08/13 00:16, lista linux wrote: Hi, Sorry for my english

Re: [Pacemaker] [Problem]Two error information is displayed.

2013-08-29 Thread Andreas Mock
Hi Hideo san, the two line shall emphasis that you do not only have trouble but real trouble... ;-) But to be seriously: I see this phaenomena, too. (pacemaker 1.1.11-1.el6-4f672bc) Best regards Andreas Mock -Ursprüngliche Nachricht- Von: renayama19661...@ybb.ne.jp [mailto:renayama1966

Re: [Pacemaker] Does ocf:heartbeat:IPaddr2 support binding the virtual IP on a bond interface?

2013-08-29 Thread Dejan Muhamedagic
Hi, On Thu, Aug 29, 2013 at 11:43:11AM +0200, Florian Crouzat wrote: > Le 28/08/2013 19:18, Xiaomin Zhang a écrit : > >Actually I don't know how to specify the bond interface to assign this > >virtual IP. > > > $ sudo crm ra meta IPaddr2 Just to note that no special privileges are necessary to

Re: [Pacemaker] editing primitive via script

2013-08-29 Thread Dejan Muhamedagic
Hi, On Wed, Aug 28, 2013 at 11:17:13PM +0200, Christian Parpart wrote: > Hey, > > make it one-line commands, such as > > #! /bin/sh > crm configure unmanage pgsql ... I guess you wanted to say: crm resource unmanage ... > crm configure delete pgsql ... > crm configure primitive pgsql ... > >

Re: [Pacemaker] Resource does not auto recover from failed state

2013-08-29 Thread tetsuo shima
Update : I tried to spot the problem by running 2 Wheezy virtual machines configured with debian pinning like this : # cat /etc/apt/preferences Package: * Pin: release a=wheezy Pin-Priority: 900 Package: * Pin: release a=squeeze Pin-Priority: 800 # aptitude install corosync # aptitude install pa

Re: [Pacemaker] Does ocf:heartbeat:IPaddr2 support binding the virtual IP on a bond interface?

2013-08-29 Thread Florian Crouzat
Le 28/08/2013 19:18, Xiaomin Zhang a écrit : Actually I don't know how to specify the bond interface to assign this virtual IP. $ sudo crm ra meta IPaddr2 search for "nic" and make sure the underlaying interface is up as pacemaker doesn't do "ifup" but create aliases on already created inte

Re: [Pacemaker] different behavior cibadmin -Ql with cman and corosync2

2013-08-29 Thread Andrey Groshev
29.08.2013, 12:25, "Andrey Groshev" : > 29.08.2013, 02:55, "Andrew Beekhof" : > >>  On 28/08/2013, at 5:38 PM, Andrey Groshev wrote: >>>   28.08.2013, 04:06, "Andrew Beekhof" :   On 27/08/2013, at 1:13 PM, Andrey Groshev wrote: >    27.08.2013, 05:39, "Andrew Beekhof" : >>    On 26

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

2013-08-29 Thread Francis SOUYRI
Hello, Below the result of the scoreshow script (https://github.com/ClusterLabs/pacemaker/blob/master/extra/showscores.sh) and in attachment the output of "pcs config" drbd ocf:redhat:drbd.sh Filesystem: ocf:heartbeat:Filesystem IPaddr2: ocf:heartbeat:Ipaddr2 ping: ocf:pacemaker:ping # ./sco

Re: [Pacemaker] Need help with quickstart of pacemaker on redhat

2013-08-29 Thread Andrew Beekhof
Pacemaker configuration. cibadmin -Ql Sent from a mobile device On 29/08/2013, at 7:02 PM, Moturi Upendra wrote: > Hi, > > here it is > > > > > > > > > > > > > > > > > > > >

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

2013-08-29 Thread emmanuel segura
Read this link http://www.woodwose.net/thatremindsme/2011/04/the-pacemaker-ping-resource-agent/ 2013/8/29 Francis SOUYRI > Hello Emmanuel, > > Yes I think also but why... that the question, I checked the Net for > information about how the score is calculated without success. > > I retrieved a

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

2013-08-29 Thread Francis SOUYRI
Hello Emmanuel, Yes I think also but why... that the question, I checked the Net for information about how the score is calculated without success. I retrieved a "schoreshow" script but I do not understand the result. Best regards. Francis On 08/29/2013 10:32 AM, emmanuel segura wrote: I t

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

2013-08-29 Thread emmanuel segura
I think your score is wrong in your rule expression 2013/8/29 Francis SOUYRI > Hello, > > I have a corosync/pacemaker with 2 nodes and 2 nets by nodes, > 192.168.1.0/24 for cluster access, 10.1.1.0/24 for drbd in bond, both > used by corosync. > I try to used ocf:pacemaker:ping to monitor the 1

Re: [Pacemaker] different behavior cibadmin -Ql with cman and corosync2

2013-08-29 Thread Andrey Groshev
29.08.2013, 02:55, "Andrew Beekhof" : > On 28/08/2013, at 5:38 PM, Andrey Groshev wrote: > >>  28.08.2013, 04:06, "Andrew Beekhof" : >>>  On 27/08/2013, at 1:13 PM, Andrey Groshev wrote:   27.08.2013, 05:39, "Andrew Beekhof" : >   On 26/08/2013, at 3:09 PM, Andrey Groshev wrote: >

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

2013-08-29 Thread Francis SOUYRI
Hello, I have a corosync/pacemaker with 2 nodes and 2 nets by nodes, 192.168.1.0/24 for cluster access, 10.1.1.0/24 for drbd in bond, both used by corosync. I try to used ocf:pacemaker:ping to monitor the 192.168.1.0/24 I have the configuration below, but when I remove the cable of the noeud1