Re: [Pacemaker] Simpler solution than custom OCF scripts ?

2012-04-04 Thread Jake Smith
- Original Message - > From: "Julien Cornuwel" > To: "The Pacemaker cluster resource manager" > Sent: Wednesday, April 4, 2012 12:41:32 PM > Subject: Re: [Pacemaker] Simpler solution than custom OCF scripts ? > > 2012/4/4 Lars Marowsky-Bree : > > > You can just use the LSB init script

Re: [Pacemaker] socket is incremented after running crm shell

2012-04-04 Thread David Vossel
- Original Message - > From: "Junko IKEDA" > To: "The Pacemaker cluster resource manager" > Sent: Tuesday, April 3, 2012 9:54:42 PM > Subject: Re: [Pacemaker] socket is incremented after running crm shell > > Hi, > > This is my investigation; > When "crm configure" or "cibadmin" are ca

Re: [Pacemaker] Simpler solution than custom OCF scripts ?

2012-04-04 Thread Julien Cornuwel
2012/4/4 Lars Marowsky-Bree : > You can just use the LSB init script if one is provided. Well, it is OK for 'start' and 'stop', but the status is clearly lacking: it just checks if the process is running, not if the service is delivered. I think I'll write a simple wrapper around the LSB script b

Re: [Pacemaker] Simpler solution than custom OCF scripts ?

2012-04-04 Thread Lars Marowsky-Bree
On 2012-04-04T15:12:49, Julien Cornuwel wrote: > Hi, > > I'm quite new to Corosync/Pacemaker but I managed to get my cluster to work: > I have 2 nodes on CentOS5.8 (therefore Pacemaker 1.0.12 and Corosync > 1.2.7) running samba-winbind-radius. > The cluster is running fine, but it only knows abo

Re: [Pacemaker] Cluster with DRBD : split brain

2012-04-04 Thread Hugo Deprez
Hello, thanks for the information. I was looking at this page http://www.drbd.org/users-guide/s-pacemaker-fencing.html I did specify the following handlers : handlers { fence-peer "/usr/lib/drbd/crm-fence-peer.sh"; after-resync-target "/usr/lib/drbd/crm-unfence-peer.sh";

[Pacemaker] Simpler solution than custom OCF scripts ?

2012-04-04 Thread Julien Cornuwel
Hi, I'm quite new to Corosync/Pacemaker but I managed to get my cluster to work: I have 2 nodes on CentOS5.8 (therefore Pacemaker 1.0.12 and Corosync 1.2.7) running samba-winbind-radius. The cluster is running fine, but it only knows about one resource, the failover IP address. Now, I would like

Re: [Pacemaker] Documentation update

2012-04-04 Thread Hugo Deprez
Oh sorry I didn't look at the configuration correctly, documentation is right : no-quorum-policy="ignore"rsc_defaults $id="rsc-options" \ resource-stickiness="100" It is just specify on one line. Sorry Regards Hugo On 4 April 2012 14:58, Hugo Deprez wrote: > Dear community, > > I jus

[Pacemaker] Documentation update

2012-04-04 Thread Hugo Deprez
Dear community, I just have a look at the documentation with regards to the resource-stickiness parameter. http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/_prevent_resources_from_moving_after_recovery.html I am running corosync 1.2.1-4, and when I specify this param

Re: [Pacemaker] Migration of "lower" resource causes dependent resources to restart

2012-04-04 Thread Vladislav Bogdanov
04.04.2012 02:12, Andrew Beekhof wrote: > On Fri, Mar 30, 2012 at 7:10 PM, Florian Haas wrote: >> On Thu, Mar 29, 2012 at 8:35 AM, Andrew Beekhof wrote: >>> On Thu, Mar 29, 2012 at 5:28 PM, Vladislav Bogdanov >>> wrote: Hi Andrew, all, Pacemaker restarts resources when resource th

Re: [Pacemaker] Issue with ordering

2012-04-04 Thread Vladislav Bogdanov
30.03.2012 02:20, Andrew Beekhof wrote: > On Thu, Mar 29, 2012 at 7:07 PM, Vladislav Bogdanov > wrote: >> Hi Andrew, all, >> >> I'm continuing experiments with lustre on stacked drbd, and see >> following problem: >> >> I have one drbd resource (ms-drbd-testfs-mdt) is stacked on top of >> othe