Re: [Pacemaker] Question about OCF RA reload behaviour

2014-10-28 Thread Felix Zachlod
Am 29.10.2014 01:39, schrieb Andrew Beekhof: I just have one question about how a resource agent should behave on "reload" invoked if the resource is currently stopped. Should the resource be started or remain stopped? I don't think that is defined. Certainly pacemaker wont trigger that case

Re: [Pacemaker] DRBD with Pacemaker on CentOs 6.5

2014-10-28 Thread Sihan Goi
Hi, I've never used crm_report before. I just read the man file and generated a tarball from 1-2 hours before I reconfigured all the DRBD related resources. I've put the tarball here - https://www.dropbox.com/s/suj9pttjp403msv/unexplained-apache-failure.tar.bz2?dl=0 Hope you can help figure out w

Re: [Pacemaker] DRBD with Pacemaker on CentOs 6.5

2014-10-28 Thread Andrew Beekhof
Can you run crm_report so we can see the logs and PE files? > On 28 Oct 2014, at 9:16 pm, Sihan Goi wrote: > > Hi, > > I followed those steps previously. I just tried it again, but I'm still > getting the same error. My "crm configure show" shows the following: > > node node01 \ > att

Re: [Pacemaker] Question about OCF RA reload behaviour

2014-10-28 Thread Andrew Beekhof
> On 28 Oct 2014, at 6:07 pm, Felix Zachlod wrote: > > Hello folks, > > > I just have one question about how a resource agent should behave on "reload" > invoked if the resource is currently stopped. Should the resource be started > or remain stopped? I don't think that is defined. Certainl

Re: [Pacemaker] Pacemaker restart bringing up resource in start mode even other node is running the resource

2014-10-28 Thread Andrew Beekhof
> On 29 Oct 2014, at 9:30 am, Lax wrote: > > Andrew Beekhof writes: >>> Thanks for your help as always Andrew. Is there any sample that you can >>> point me to how to configure it for the resource. >> >> I mean something like: >> >>chkconfig {LSB-name} off >> > I tried setting it this

[Pacemaker] Announcing crmsh release 2.1.1

2014-10-28 Thread Kristoffer Grönlund
Today we are proud to announce the release of `crmsh` version 2.1.1! This version primarily fixes all known issues found since the release of `crmsh` 2.1 in June. We recommend that all users of crmsh upgrade to this version, especially if using Pacemaker 1.1.12 or newer. A massive thank you to ev

Re: [Pacemaker] Pacemaker restart bringing up resource in start mode even other node is running the resource

2014-10-28 Thread Lax
Andrew Beekhof writes: > > Thanks for your help as always Andrew. Is there any sample that you can > > point me to how to configure it for the resource. > > I mean something like: > > chkconfig {LSB-name} off > I tried setting it this way and still resource gets started on both the nodes

Re: [Pacemaker] fencing with multiple node cluster

2014-10-28 Thread Andrew Beekhof
> On 28 Oct 2014, at 8:59 pm, philipp.achmuel...@arz.at wrote: > > hi, > > any recommendation/documentation for a reliable fencing implementation on a > multi-node cluster (4 or 6 nodes on 2 site). > i think of implementing multiple node-fencing devices for each host to > stonith remaining n

Re: [Pacemaker] Pacemaker restart bringing up resource in start mode even other node is running the resource

2014-10-28 Thread Andrew Beekhof
> On 29 Oct 2014, at 7:42 am, Lax wrote: > > Andrew Beekhof writes: > > So on pacemaker restart, is there any way I can stop my LSB resource > coming > up in START mode when such resource is already running on a master? Tell init/systemd not to start it when the node boots

Re: [Pacemaker] Pacemaker restart bringing up resource in start mode even other node is running the resource

2014-10-28 Thread Lax
Andrew Beekhof writes: > >>> So on pacemaker restart, is there any way I can stop my LSB resource coming > >>> up in START mode when such resource is already running on a master? > >> > >> Tell init/systemd not to start it when the node boots > > > > Thanks for the response Andrew. > > > > Bu

[Pacemaker] Antwort: Re: fencing with multiple node cluster

2014-10-28 Thread philipp . achmueller
hi, Von:Dejan Muhamedagic An: The Pacemaker cluster resource manager Datum: 28.10.2014 16:45 Betreff:Re: [Pacemaker] fencing with multiple node cluster > > >Hi, > >On Tue, Oct 28, 2014 at 09:51:02AM -0400, Digimer wrote: >>> On 28/10/14 05:59 AM, philipp.achmuel...@arz.at w

Re: [Pacemaker] fencing with multiple node cluster

2014-10-28 Thread Dejan Muhamedagic
Hi, On Tue, Oct 28, 2014 at 09:51:02AM -0400, Digimer wrote: > On 28/10/14 05:59 AM, philipp.achmuel...@arz.at wrote: >> hi, >> >> any recommendation/documentation for a reliable fencing implementation >> on a multi-node cluster (4 or 6 nodes on 2 site). >> i think of implementing multiple node-fe

Re: [Pacemaker] 2 Node Clustering, when primary server goes down(shutdown) the secondary server restarts

2014-10-28 Thread Digimer
On 28/10/14 02:24 AM, kamal kishi wrote: Hi, I know, no fencing configuration creates issue. But the current scenario is due to fencing?? Maybe, maybe not. I can say that *not* having it will make solving the problem much more difficult. Please get it working, it's pretty easy and it will

Re: [Pacemaker] fencing with multiple node cluster

2014-10-28 Thread Digimer
On 28/10/14 05:59 AM, philipp.achmuel...@arz.at wrote: hi, any recommendation/documentation for a reliable fencing implementation on a multi-node cluster (4 or 6 nodes on 2 site). i think of implementing multiple node-fencing devices for each host to stonith remaining nodes on other site? thank

Re: [Pacemaker] DRBD with Pacemaker on CentOs 6.5

2014-10-28 Thread Sihan Goi
Hi, I followed those steps previously. I just tried it again, but I'm still getting the same error. My "crm configure show" shows the following: node node01 \ attributes standby=off node node02 primitive ClusterIP IPaddr2 \ params ip=192.168.1.110 cidr_netmask=24 \ op moni

Re: [Pacemaker] meta failure-timeout: crashed resource is assumed to be Started?

2014-10-28 Thread Carsten Otto
FYI: I cannot reproduce this problem right now. I guess I made a mistake analyzing the logs. -- andrena objects ag Büro Frankfurt Clemensstr. 8 60487 Frankfurt Tel: +49 (0) 69 977 860 38 Fax: +49 (0) 69 977 860 39 http://www.andrena.de Vorstand: Hagen Buchwald, Matthias Grund, Dr. Dieter Kuhn Au

[Pacemaker] fencing with multiple node cluster

2014-10-28 Thread philipp . achmueller
hi, any recommendation/documentation for a reliable fencing implementation on a multi-node cluster (4 or 6 nodes on 2 site). i think of implementing multiple node-fencing devices for each host to stonith remaining nodes on other site? thank you! Philipp

Re: [Pacemaker] DRBD with Pacemaker on CentOs 6.5

2014-10-28 Thread Andrew Beekhof
> On 28 Oct 2014, at 6:26 pm, Sihan Goi wrote: > > Hi, > > No, I did not do this. I followed the Pacemaker 1.1 - Clusters from scratch > edition 5 for Fedora 13, and in section 7.3.4 it instructed me to run the > following commands, which I did: > mkfs.ext4 /dev/drbd1 > mount /dev/drbd1 /mnt

Re: [Pacemaker] Master-slave master not promoted on Corosync restart

2014-10-28 Thread Sékine Coulibaly
Andrei, Andrew, I'm afraid the machine is not available to me anymore, i'm sorry. I reproduced the problem on my laptop. It seems that a failing to start colocated resource made some othe other resources to be demoted and stopped. So this is most likely a non issue. I'll monitor this issue and l

Re: [Pacemaker] DRBD with Pacemaker on CentOs 6.5

2014-10-28 Thread Sihan Goi
Hi, No, I did not do this. I followed the Pacemaker 1.1 - Clusters from scratch edition 5 for Fedora 13, and in section 7.3.4 it instructed me to run the following commands, which I did: mkfs.ext4 /dev/drbd1 mount /dev/drbd1 /mnt create index.html file in /mnt umount /dev/drbd1 Subsequently, afte

[Pacemaker] Question about OCF RA reload behaviour

2014-10-28 Thread Felix Zachlod
Hello folks, I just have one question about how a resource agent should behave on "reload" invoked if the resource is currently stopped. Should the resource be started or remain stopped? I did not find anything about that in the documentation, in gernel there are not mant informations about