Re: [Pacemaker] SBD fencing - stonith plugin not installed

2013-02-05 Thread Alexandr A. Alexandrov
Lars, I built everything from current sources (well, pacemaker is not exaclty current, see compilation problem thread), and now plugin works. Now, how do I use it? I mean, the stonith sbd primitive. Did some search, not much info... Sometimes it is sa

Re: [Pacemaker] Current Pacemaker from Git does not compile

2013-02-05 Thread Alexandr A. Alexandrov
David, Exactly... Commenting out helped. But I ended up with older source which compiles without modifying source. 05.02.2013 20:41, David Vossel: In file included from utils.c:54: ../../include/crm/common/mainloop.h:60: error

Re: [Pacemaker] How are Scores computed regarding roles?

2013-02-05 Thread Jake Smith
- Original Message - > From: "Marcos Tiago" > To: pacemaker@oss.clusterlabs.org > Sent: Tuesday, February 5, 2013 3:11:13 PM > Subject: [Pacemaker] How are Scores computed regarding roles? > > > > > > Guys, > > > > I am having trouble configuring a collocation in crm (corosync), b

Re: [Pacemaker] Dual primary drbd resouce not promoted on one host

2013-02-05 Thread Jake Smith
- Original Message - > From: "Jürgen Herrmann" > To: "Jake Smith" , "The Pacemaker cluster resource > manager" > Sent: Tuesday, February 5, 2013 4:00:48 PM > Subject: Re: [Pacemaker] Dual primary drbd resouce not promoted on one host > > Am 05.02.2013 16:32, schrieb Jake Smith: > > ---

Re: [Pacemaker] Current Pacemaker from Git does not compile

2013-02-05 Thread Andrew Beekhof
On 06/02/2013, at 3:41 AM, David Vossel wrote: > > > - Original Message - >> From: "Alexandr A. Alexandrov" >> To: pacemaker@oss.clusterlabs.org >> Sent: Tuesday, February 5, 2013 8:27:34 AM >> Subject: [Pacemaker] Current Pacemaker from Git does not compile >> >> >> Hi! >> >> Here

Re: [Pacemaker] Dual primary drbd resouce not promoted on one host

2013-02-05 Thread Jürgen Herrmann
Am 05.02.2013 16:32, schrieb Jake Smith: - Original Message - From: "Jürgen Herrmann" To: pacemaker@oss.clusterlabs.org Sent: Tuesday, February 5, 2013 7:04:26 AM Subject: [Pacemaker] Dual primary drbd resouce not promoted on one host Hi there! I have the following problem: I have

[Pacemaker] How are Scores computed regarding roles?

2013-02-05 Thread Marcos Tiago
Guys, I am having trouble configuring a collocation in crm (corosync), but I am not sure if what I want is possible. This is the scenario: Let's say it's a 2 node cluster, with one resource in each. RES1 is with location inf in Node1, and RES2 is with location inf in Node2. Both resources are

Re: [Pacemaker] Pacemaker resource migration behaviour

2013-02-05 Thread David Vossel
- Original Message - > From: "James Guthrie" > To: "The Pacemaker cluster resource manager" > Sent: Tuesday, February 5, 2013 8:12:57 AM > Subject: Re: [Pacemaker] Pacemaker resource migration behaviour > > Hi all, > > as a follow-up to this, I realised that I needed to slightly chang

Re: [Pacemaker] Enable remote monitoring

2013-02-05 Thread Gao,Yan
On 02/05/13 16:29, Andrew Beekhof wrote: > On Fri, Feb 1, 2013 at 3:37 PM, Gao,Yan wrote: >> Hi Andrew, >> >> On 01/31/13 14:35, Andrew Beekhof wrote: >>> >>> On 24/01/2013, at 3:36 AM, David Vossel wrote: >>> - Original Message - > From: "Yan Gao" > To: pacemaker@

Re: [Pacemaker] Enable remote monitoring

2013-02-05 Thread David Vossel
- Original Message - > From: "Andrew Beekhof" > To: "The Pacemaker cluster resource manager" > Sent: Tuesday, February 5, 2013 2:29:11 AM > Subject: Re: [Pacemaker] Enable remote monitoring > > On Fri, Feb 1, 2013 at 3:37 PM, Gao,Yan wrote: > > Hi Andrew, > > > > On 01/31/13 14:35, An

Re: [Pacemaker] Fencing configuration with pcmk_host_map argument

2013-02-05 Thread Thibaut Pouzet
Le 05/02/2013 16:57, Marek Grac a écrit : Hi, On 02/05/2013 03:24 AM, Andrew Beekhof wrote: I cleared the IPMI configuration and kept only the two WTI fencing Primitives in my configuration to make it as simple as possible : primitive wti_fence01 stonith:fence_wti \ params ipaddr="192

Re: [Pacemaker] Patrik Rapposch is out of the office

2013-02-05 Thread David Vossel
- Original Message - > From: "Patrik Rapposch" > To: "The Pacemaker cluster resource manager" > Sent: Monday, February 4, 2013 5:42:32 PM > Subject: [Pacemaker] Patrik Rapposch is out of the office > > > Ich werde ab 05.02.2013 nicht im Büro sein. Ich kehre zurück am > 06.02.2013. > >

Re: [Pacemaker] Current Pacemaker from Git does not compile

2013-02-05 Thread David Vossel
- Original Message - > From: "Alexandr A. Alexandrov" > To: pacemaker@oss.clusterlabs.org > Sent: Tuesday, February 5, 2013 8:27:34 AM > Subject: [Pacemaker] Current Pacemaker from Git does not compile > > > Hi! > > Here is what I get: > > gmake[2]: Entering directory > `/root/cluste

Re: [Pacemaker] Current Pacemaker from Git does not compile

2013-02-05 Thread David Vossel
- Original Message - > From: "Alexandr A. Alexandrov" > To: pacemaker@oss.clusterlabs.org > Sent: Tuesday, February 5, 2013 8:27:34 AM > Subject: [Pacemaker] Current Pacemaker from Git does not compile > > > Hi! > > Here is what I get: > > gmake[2]: Entering directory > `/root/cluste

Re: [Pacemaker] Fencing configuration with pcmk_host_map argument

2013-02-05 Thread Marek Grac
Hi, On 02/05/2013 03:24 AM, Andrew Beekhof wrote: I cleared the IPMI configuration and kept only the two WTI fencing Primitives in my configuration to make it as simple as possible : primitive wti_fence01 stonith:fence_wti \ params ipaddr="192.168.0.7" action="reboot" verbose="true" pc

Re: [Pacemaker] Dual primary drbd resouce not promoted on one host

2013-02-05 Thread Jake Smith
- Original Message - > From: "Jürgen Herrmann" > To: pacemaker@oss.clusterlabs.org > Sent: Tuesday, February 5, 2013 7:04:26 AM > Subject: [Pacemaker] Dual primary drbd resouce not promoted on one host > > Hi there! > > I have the following problem: > > I have a 2 node cluster with a d

[Pacemaker] Current Pacemaker from Git does not compile

2013-02-05 Thread Alexandr A. Alexandrov
Hi! Here is what I get: gmake[2]: Entering directory `/root/cluster-packages/pacemaker/lib/common' CC utils.lo In file included from utils.c:54: ../../include/crm/common/mainloop.h:60: error: redefinition of typedef 'mainloop_io_t' ../../include/

Re: [Pacemaker] Pacemaker resource migration behaviour

2013-02-05 Thread James Guthrie
Hi all, as a follow-up to this, I realised that I needed to slightly change the way the resource constraints are put together, but I'm still seeing the same behaviour. Below are an excerpt from the logs on the host and the revised xml configuration. In this case, I caused two failures on the ho

Re: [Pacemaker] Dual primary drbd resouce not promoted on one host

2013-02-05 Thread Felipe Gutierrez
Hi Jürgen, I am beginner with Pacemaker and I don't know if I can help. But my configuration is working well. Here is: # crm configure property no-quorum-policy=ignore # crm configure property stonith-enabled=false primitive net_conn ocf:pacemaker:ping \ params pidfile="/var/run/ping.pid" \

[Pacemaker] Dual primary drbd resouce not promoted on one host

2013-02-05 Thread Jürgen Herrmann
Hi there! I have the following problem: I have a 2 node cluster with a dual primary drbd resource. On top of it sits an OCFS2 file system. nodes: app1a, app1b Now today I had the following scenario (occurred several times now): - crm node standby app1a - poweroff app1a for hdd replacement (hw r

Re: [Pacemaker] SBD fencing - stonith plugin not installed

2013-02-05 Thread Alexandr A. Alexandrov
Lars, Thanks, I will first try building everything from latest sources. As I understand, fence_sanlock/qdisk are integrated into cman infrastructure. I would prefer to stay with Pacemaker since that is what we have been using for quite some time, and also w

Re: [Pacemaker] SBD fencing - stonith plugin not installed

2013-02-05 Thread Lars Marowsky-Bree
On 2013-02-04T18:53:26, "Alexandr A. Alexandrov" wrote: > Lars, thanks for your answer. > So, what is an option? Build everything (1.1.8 and etc) from current git > source? Probably. Or ask for a replacement on EL - I guess qdisk or the new fence_sanlock might be reasonably equivalent. Of cours

Re: [Pacemaker] Pacemaker resource migration behaviour

2013-02-05 Thread James Guthrie
Hi Andrew, "The resource" in this case was master-squid.init. The resource agent serves as a master/slave OCF wrapper to a non-LSB init script. I forced the failure by manually stopping that init script on the host. Regards, James On Feb 5, 2013, at 10:56 AM, Andrew Beekhof wrote: > On Thu, J

Re: [Pacemaker] Pacemaker resource migration behaviour

2013-02-05 Thread Andrew Beekhof
On Thu, Jan 31, 2013 at 3:04 AM, James Guthrie wrote: > Hi all, > > I'm having a bit of difficulty with the way that my cluster is behaving on > failure of a resource. > > The objective of my clustering setup is to provide a virtual IP, to which a > number of other services are bound. The servic

Re: [Pacemaker] Are you correct about the calculation of quorum when booth renews a ticket?

2013-02-05 Thread Jiaju Zhang
Hi Yuichi, On Tue, 2013-02-05 at 14:46 +0900, Yuichi SEINO wrote: > Hi Jiaju, > > I found some issues. So, I want to fix those issues. And, I want to > replace this patch. > Please wait to merge this patch. OK;) Thanks, Jiaju ___ Pacemaker mailing

Re: [Pacemaker] Enable remote monitoring

2013-02-05 Thread Andrew Beekhof
On Fri, Feb 1, 2013 at 3:37 PM, Gao,Yan wrote: > Hi Andrew, > > On 01/31/13 14:35, Andrew Beekhof wrote: >> >> On 24/01/2013, at 3:36 AM, David Vossel wrote: >> >>> >>> >>> - Original Message - From: "Yan Gao" To: pacemaker@oss.clusterlabs.org Sent: Monday, January 21, 201