Re: [Pacemaker] Stop one instance in a clone

2010-07-01 Thread Andrew Beekhof
On Wed, Jun 30, 2010 at 7:07 PM, Dejan Muhamedagic wrote: > Hi, > > On Wed, Jun 30, 2010 at 10:57:21AM -0600, Serge Dubrouski wrote: >> Hello - >> >> Is there any way to stop an instance of a cloned resource on a >> particular node using crm shell? > > How would you stop it with crm_resource? > >

Re: [Pacemaker] Explanation of the score system

2010-07-01 Thread Andrew Beekhof
On Wed, Jun 30, 2010 at 1:48 PM, Dr. Michael Schwartzkopff wrote: > Hi, > > is there any explanation of the score system or is it pure dark magic? It is somewhat dark magic, though scores are now tracked in the regression tests... so it should at least be stable dark magic. There's been no time t

Re: [Pacemaker] Active/passive cluster with Apache and drbd on rhel 5

2010-07-01 Thread Andrew Beekhof
On Thu, Jul 1, 2010 at 9:49 AM, wrote: > Hello all, > I'm currently studying how to set up a 2 node cluster running apache 2.2 as > a reverse proxy using corosync, pacemaker and drbd on RHEL 5.5. > I've downloaded: > - Clusters from scratch PDF (which is perfect... but for fedora 13 which > inclu

Re: [Pacemaker] /.crm_help_index file (in system root aka /)

2010-07-01 Thread Raoul Bhatia [IPAX]
On 07/01/2010 05:46 PM, Dejan Muhamedagic wrote: > The help index is created in the user's home. Is that the home of > the root user? Shouldn't it be /root? BTW, there are many other > programs creating dot files in home dirs. yeah, i know. and /root/. would perfectly be fine. but occasionall

Re: [Pacemaker] pacemaker fails to start drbd using ocf:linbit:drbd

2010-07-01 Thread Bart Willems
Hi Dejan, I increased the timeout for start to 480s, but that did not help either. Thanks, Bart -Original Message- From: Dejan Muhamedagic [mailto:deja...@fastmail.fm] Sent: Thursday, July 01, 2010 4:36 To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] pacemaker fails

Re: [Pacemaker] pacemaker fails to start drbd using ocf:linbit:drbd

2010-07-01 Thread Bart Willems
Hi Martin, I don't have drbd set to startup automatically in any runlevel and I did a "rcdrbd stop" on both nodes before starting openais. I just repeated it one more time, checking lsmod first to confirm drbd is not loaded and the result is the same. One piece of extra information is that even th

Re: [Pacemaker] pacemaker fails to start drbd using ocf:linbit:drbd

2010-07-01 Thread martin . braun
Hi Bart, . Just some more thoughts: Are you sure that drbd was really stopped? Does this error also happen after a clean restart (without drbd starting at runlevel), i.e. "lsmod | grep drbd" without results? How long does it take if you setup drbd (attach,syncer,connect,primary) manually? Wh

[Pacemaker] Pacemaker cant start CTDB

2010-07-01 Thread Justin Shafer
Hello all I have noticed that corosync cant start CTDB in Fedora and Ubuntu. It will work in SLES11 after installing samba-winbind. Going through the logs. sometimes it cant get a recovery lock (filesystem related I know).. but other times I have tried it can get a recovery lock. and once it do

[Pacemaker] CTDB + Samba + GFS2 or OCFS2

2010-07-01 Thread Justin Shafer
Hello Everyone! I have been spending the past 2 months messing with clusters. I built an active\passive 2 years ago with samba and wanted to see how CTDB has been doing. Long story short, I cannot pass the ping_pong test after following the clusters from scratch guide for fedora 13. I can g

Re: [Pacemaker] /.crm_help_index file (in system root aka /)

2010-07-01 Thread Dejan Muhamedagic
Hi, On Thu, Jul 01, 2010 at 03:23:10PM +0200, Raoul Bhatia [IPAX] wrote: > hi, > > sometimes, i see a /.crm_help_index file being created on my system(s). > i do not exactly know when this happens, but i get the feeling that this > is not the correct place for this file ;) The help index is crea

Re: [Pacemaker] starting resources: Interrupted system call

2010-07-01 Thread Dejan Muhamedagic
Hi, On Thu, Jul 01, 2010 at 03:37:57PM +0200, Bernd Schubert wrote: > Never mind, seems to be fixed in 1.0.9 I have no idea what was going on in there. The pacemaker bits shouldn't make a difference. Thanks, Dejan > Thanks, > Bernd > > On Thursday, July 01, 2010, Bernd Schubert wrote: > > Hi

Re: [Pacemaker] pacemaker fails to start drbd using ocf:linbit:drbd

2010-07-01 Thread Bart Willems
Hi Martin, No luck I 'm afraid. I first added a start-delay to the monitor operations, and when that didn't work I also added a start-delay to the start operation: primitive drbd-storage ocf:linbit:drbd \ params drbd_resource="r0" \ op monitor interval="10" role="Master" timeout="

Re: [Pacemaker] starting resources: Interrupted system call

2010-07-01 Thread Bernd Schubert
Never mind, seems to be fixed in 1.0.9 Thanks, Bernd On Thursday, July 01, 2010, Bernd Schubert wrote: > Hi all, > > there seems to be a new regression in pacemaker-1.0.8 (or cluster-glue > or whatever, really difficult to differentiate the layers). > > ul 01 15:04:37 phys-oss2 lustre_server[85

[Pacemaker] /.crm_help_index file (in system root aka /)

2010-07-01 Thread Raoul Bhatia [IPAX]
hi, sometimes, i see a /.crm_help_index file being created on my system(s). i do not exactly know when this happens, but i get the feeling that this is not the correct place for this file ;) running pacemaker 1.0.8+hg15494-4 on debian squeeze > Current DC: - partition with quorum > Version:

[Pacemaker] starting resources: Interrupted system call

2010-07-01 Thread Bernd Schubert
Hi all, there seems to be a new regression in pacemaker-1.0.8 (or cluster-glue or whatever, really difficult to differentiate the layers). ul 01 15:04:37 phys-oss2 lustre_server[8571]: [8602]: INFO: Running start for /dev/mapper/ost_demofs_8 on /lustre/demofs/ost_8 Jul 01 15:04:38 phys-oss2 lus

Re: [Pacemaker] Active/passive cluster with Apache and drbd on rhel 5

2010-07-01 Thread pierre . casenove
Indeed: rpm -ql drbd /usr/share/doc/drbd-8.3.6 /usr/share/doc/drbd-8.3.6/COPYING /usr/share/doc/drbd-8.3.6/ChangeLog /usr/share/doc/drbd-8.3.6/README Now, I have a problem, I don't see the kernel module in any of the packages... When I run modprobe drbd on the server I've configured with drbd and

Re: [Pacemaker] pacemaker fails to start drbd using ocf:linbit:drbd

2010-07-01 Thread Dejan Muhamedagic
Hi, On Thu, Jul 01, 2010 at 10:37:10AM +0200, martin.br...@icw.de wrote: > Hi Bart, > > my guess is that you did forget the start-delay attribute for the monitor > operations, that's why you see the time-out error message. > > Here is an example: > > > op monitor interval="20" role="

Re: [Pacemaker] Active/passive cluster with Apache and drbd on rhel 5

2010-07-01 Thread Lars Ellenberg
On Thu, Jul 01, 2010 at 10:12:38AM +0200, mail Listen wrote: > hey, > > in short no. or build your own rpm. In short yes. "drbd.rpm" is just a virtual package, depending on all of the various other drbd userland packages. Just don't install drbd, but drbd-utils, drbd-..., those you actually need

Re: [Pacemaker] pacemaker fails to start drbd using ocf:linbit:drbd

2010-07-01 Thread martin . braun
Hi Bart, my guess is that you did forget the start-delay attribute for the monitor operations, that's why you see the time-out error message. Here is an example: op monitor interval="20" role="Slave" timeout="20" start-delay="1m" \ op monitor interval="10" role="Master" timeo

Re: [Pacemaker] Active/passive cluster with Apache and drbd on rhel 5

2010-07-01 Thread pierre . casenove
Hey, Thanks a lot for the very quick and precise answer. I won't rebuild the rpm for that, I prefer to stick to the repos and switch to xen kernels! Pierre De : mail Listen A: The Pacemaker cluster resource manager Date: 01/07/2010 10:14 Objet : Re: [Pacemaker] Active/passive cluster with

Re: [Pacemaker] Active/passive cluster with Apache and drbd on rhel 5

2010-07-01 Thread mail Listen
hey, in short no. or build your own rpm. cheers Am 01.07.2010 09:49, schrieb pierre.casen...@almerys.com: Hello all, I'm currently studying how to set up a 2 node cluster running apache 2.2 as a reverse proxy using corosync, pacemaker and drbd on RHEL 5.5. I've downloaded: - Clusters from s

[Pacemaker] Active/passive cluster with Apache and drbd on rhel 5

2010-07-01 Thread pierre . casenove
Hello all, I'm currently studying how to set up a 2 node cluster running apache 2.2 as a reverse proxy using corosync, pacemaker and drbd on RHEL 5.5. I've downloaded: - Clusters from scratch PDF (which is perfect... but for fedora 13 which includes DRBD in the kernel) - the yum repo: http://www.