Re: [Pacemaker] problem configuring DRBD resource in "Floating Peers" mode

2009-05-27 Thread Димитър Бойн
Thank you Raoul, for sharing these important! Changes! Now my #crm_mon -r -V -i 2 looks better: " Last updated: Wed May 27 20:14:45 2009 Current DC: c001mlb_node01b - partition with quorum Version: 1.0.3-b133b3f19797c00f9189f4b66b513963f9d25db9 26 Nodes configured, 2 expected votes 3

Re: [Pacemaker] Fwd: classes

2009-05-27 Thread Dejan Muhamedagic
Hi, On Tue, May 26, 2009 at 04:34:43PM -0300, acl1978 wrote: > Em 26/05/2009 15:46, acl1978 < > acl1...@bol.com.br > escreveu: > > Hi everybody, > When I run classes command, I got nothing. What could be wrong? > [r...@node2 ~]# crmcrm(live)# racrm(live)ra# classes />crm(live)ra# Is pacemaker

Re: [Pacemaker] Managing resources - classes

2009-05-27 Thread Dejan Muhamedagic
Hi, On Wed, May 27, 2009 at 08:42:06AM -0400, Eliot Gable wrote: > http://clusterlabs.org/wiki/Documentation > > > First, read this (probably ten times or so, since it won???t make complete > sense and you will miss various details the first couple of times): > > http://clusterlabs.org/mediawi

[Pacemaker] lenny + clvm + pacemaker/openais...

2009-05-27 Thread Alain St-Denis
Hi, The openais library provided with lenny is v 0.83 (which is deprecated as per openais.org). clvm built against this version works well (from a tweaked lenny source package). pacemaker 1.0.2 comes with openais 0.80.5. clvm builds against openais 0.80.5 but doesn't behave correctly (lvm comm

Re: [Pacemaker] mysql ocf error 5

2009-05-27 Thread Andrew Beekhof
On Wed, May 27, 2009 at 6:39 PM, Jason Woodward wrote: > I am trying to configure my cluster to run mysql.  I am using the following > CRM command: > > primitive mysql ocf:heartbeat:mysql \ > params binary=/usr/local/mysql/bin/mysqld_safe \ > datadir=/usr/local/data/mysqldata > > When I check the

[Pacemaker] mysql ocf error 5

2009-05-27 Thread Jason Woodward
I am trying to configure my cluster to run mysql. I am using the following CRM command: primitive mysql ocf:heartbeat:mysql \ params binary=/usr/local/mysql/bin/mysqld_safe \ datadir=/usr/local/data/mysqldata When I check the logs, I get this in the error log: crmd[3957]: 2009/05/27_12:33:51

Re: [Pacemaker] Managing resources - classes

2009-05-27 Thread Eliot Gable
/usr/sbin/crm is a python script. Inspecting the code, it appears to be hardcoded: ocf_root = os.getenv("/usr/lib/ocf") if not ocf_root: ocf_root = "/usr/lib/ocf" dir = ocf_root + "/resource.d" Thus, you should make sure the directory is present, contains the appropriate res

Re: [Pacemaker] Managing resources - classes

2009-05-27 Thread acl1978
Hum I see. Any ideia of how(where) to configure CRM to know where resource agents are? Em 27/05/2009 10:21, Eliot Gable < ega...@broadvox.net > escreveu: Yes, I was showing you what should be there. These items are stored in /usr/lib/ocf/resource.d/ for me on CentOS 5.2. It means your CR

Re: [Pacemaker] lvm2-clvm RPMs in opensuse.org package repo?

2009-05-27 Thread Andrew Beekhof
On Wed, May 27, 2009 at 3:57 PM, Florian Haas wrote: > Hmmm. > > Debian lenny is on 2.6.26, and it already has clvm, albeit including a > dependency on cman which is now probably obsolete. Rumor has it that > Martin is working on fixing that. :) Right. I've basically come to the conclusion that I

Re: [Pacemaker] lvm2-clvm RPMs in opensuse.org package repo?

2009-05-27 Thread Florian Haas
Hmmm. Debian lenny is on 2.6.26, and it already has clvm, albeit including a dependency on cman which is now probably obsolete. Rumor has it that Martin is working on fixing that. :) Cheers, Florian On 2009-05-27 15:26, Andrew Beekhof wrote: > openSUSE > 11.0 > SLE11 > > thats about it until th

Re: [Pacemaker] Changes in the colocation constraints?

2009-05-27 Thread Andrew Beekhof
2009/5/27 Димитър Бойн : > Hi, > > I was trying to follow http://wiki.linux-ha.org/DRBD/HowTov2 > > > > In the configuration for Floating Peers there is an idea for the following > constrains: > > > > score="infinity"/> > > score="infinity"/> > > > > I believe the current Pacemaker

Re: [Pacemaker] PingD Failure-Timeout

2009-05-27 Thread Andrew Beekhof
On Tue, May 26, 2009 at 3:22 PM, Eliot Gable wrote: > I am using 1.0.3, but the failure-timeout thing does not seem to work for > pingd. > You'll have to show us the rest of your configuration ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org h

Re: [Pacemaker] pacemaker-mgmt-client: broken dependency in CentOS 5 repo

2009-05-27 Thread Andrew Beekhof
I'll have to defer to Yan Gao on this one. I'm not familiar with the GUI's requirements. On Tue, May 26, 2009 at 1:05 PM, Florian Haas wrote: > Andrew, > > this is probably of minor importance, but the CentOS 5 repo hosted on > download.opensuse.org seems to have a dependency issue pertaining to

Re: [Pacemaker] lvm2-clvm RPMs in opensuse.org package repo?

2009-05-27 Thread Andrew Beekhof
openSUSE > 11.0 SLE11 thats about it until the next fedora version comes out with a 2.6.26 (or later) kernel On Wed, May 27, 2009 at 3:22 PM, Florian Haas wrote: > On 2009-05-27 15:13, Andrew Beekhof wrote: >> thanks :-) >> >> they're building now. >> most distro/version combinations can't build

Re: [Pacemaker] lvm2-clvm RPMs in opensuse.org package repo?

2009-05-27 Thread Florian Haas
On 2009-05-27 15:13, Andrew Beekhof wrote: > thanks :-) > > they're building now. > most distro/version combinations can't build it though as libdlm needs > a very recent kernel (and everything else depends on that) When you say "most" combinations can't build it, could you provide a list where t

Re: [Pacemaker] Managing resources - classes

2009-05-27 Thread Eliot Gable
Yes, I was showing you what should be there. These items are stored in /usr/lib/ocf/resource.d/ for me on CentOS 5.2. It means your CRM does not know where your resource agents are kept, which means your configuration is probably screwed up (it’s pointed to the wrong directory) or you are just

Re: [Pacemaker] Managing resources - classes

2009-05-27 Thread acl1978
I did that but no class is listed. crm(live)# ra crm(live)ra# classes crm(live)ra#     This is the problem.       Em 27/05/2009 10:03, Eliot Gable < ega...@broadvox.net > escreveu: crm(live)# ra crm(live)ra# classes heartbeat ocf / pacemaker heartbeat lsb stonith Eliot Gable Senior Engineer

Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2

2009-05-27 Thread Martin Gerhard Loschwitz
Martin Gerhard Loschwitz wrote: > Martin Gerhard Loschwitz schrieb: >> >> And here are packages for Lenny / i386: >> >> deb http://people.debian.org/~madkiss/ha/lenny/i386 ./ >> >> Please feel free to test and send feedback! :-) >> > > Folks, > > while doing some further testing, I spotted some m

Re: [Pacemaker] lvm2-clvm RPMs in opensuse.org package repo?

2009-05-27 Thread Andrew Beekhof
On Tue, May 26, 2009 at 3:13 PM, Florian Haas wrote: > On 2009-05-11 10:56, Andrew Beekhof wrote: >> On Mon, May 11, 2009 at 10:45 AM, Florian Haas wrote: >>> Andrew, >>> >>> On 2009-05-08 15:33, Andrew Beekhof wrote: >>> we hope to have the whole stack up there. >>> Excellent. OK if I nag y

Re: [Pacemaker] Managing resources - classes

2009-05-27 Thread Eliot Gable
crm(live)# ra crm(live)ra# classes heartbeat ocf / pacemaker heartbeat lsb stonith Eliot Gable Senior Engineer 1228 Euclid Ave, Suite 390 Cleveland, OH 44115 Direct: 216-373-4808 Fax: 216-373-4657 ega...@broadvox.net [cid:image001.gif@01C9DEA9.F95D2440] CONFIDENTIAL C

Re: [Pacemaker] Managing resources - classes

2009-05-27 Thread acl1978
Hi Eliot,   thanks for your quick answer. I have already read all links you have mentioned. I am studying this a lot and making some progress. But the thing is: I think there is something strange because, as I mentioned, crm ra classes shows nothing. Is this normal?   The only resource I got runni

Re: [Pacemaker] problem configuring DRBD resource in "Floating Peers" mode

2009-05-27 Thread Andrew Beekhof
2009/5/27 Raoul Bhatia [IPAX] : > dДимитър Бойн wrote: > > i'll have a look anyways ... > > >> c001mlb_node01a:root > cat /etc/drbd.conf >> >> # /usr/share/doc/drbd82/drbd.conf > looks fine. > >> c001mlb_node01a:root > cibadmin -Q > *snip* >> >>       >> >>         >> >>           > all "_" have

Re: [Pacemaker] Managing resources - classes

2009-05-27 Thread Eliot Gable
http://clusterlabs.org/wiki/Documentation First, read this (probably ten times or so, since it won’t make complete sense and you will miss various details the first couple of times): http://clusterlabs.org/mediawiki/images/f/fb/Configuration_Explained.pdf Then, if you want to use the CLI, read

[Pacemaker] Managing resources - classes

2009-05-27 Thread acl1978
Hi All,   I am new in Pacemaker and having some problems with it. My task is to configure heartbeat with two nodes and make one shell script managed by it (or by pacemaker). The fact is: Pacemaker needs to manage this shell script and make it run again if it sttoped. I have installed heartbeat and

[Pacemaker] classes

2009-05-27 Thread acl1978
Hi everybody, When I run classes command, I got nothing. What could be wrong? [r...@node2 ~]# crmcrm(live)# racrm(live)ra# classescrm(live)ra#   Thanks, Alan   ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/li

Re: [Pacemaker] problem configuring DRBD resource in "Floating Peers" mode

2009-05-27 Thread Raoul Bhatia [IPAX]
dДимитър Бойн wrote: > Hi, > > My ultimate goal is to run a bunch of servers/nodes that shall be able > to handle a bunch of floating drbd peers. the last time i tried to use floating peers, it did not work out properly - especially when using outdating/.. mechanisms. i recall a discussion last

Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

2009-05-27 Thread Andrew Beekhof
On Wed, May 27, 2009 at 2:18 AM, Martin Gerhard Loschwitz wrote: > Raoul Bhatia [IPAX] schrieb: >> >> 8. q. should pacemaker-openais add the service definition for pacemaker >> to /etc/init.d/openais.conf? >> >> e.g.: >> >>> service { >>>        # Load the Pacemaker Cluster Resource Manager >>>  

Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

2009-05-27 Thread Andrew Beekhof
On Wed, May 27, 2009 at 2:14 AM, Martin Gerhard Loschwitz wrote: > Raoul Bhatia [IPAX] schrieb: >> >> 7. i am not finding /usr/sbin/ocf-tester in any package. >> >> cheers, >> raoul > > It's in the heartbeat package; is this another candidate for "move > over to heartbeat-common"? definitely ___