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 martin.loschw...@linbit.com 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?

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

[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

[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

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] 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] 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 this

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 flor...@linbit.com wrote: Andrew, this is probably of minor importance, but the CentOS 5 repo hosted on download.opensuse.org seems to have a dependency issue

Re: [Pacemaker] Changes in the colocation constraints?

2009-05-27 Thread Andrew Beekhof
2009/5/27 Димитър Бойн db...@postpath.com: 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: rsc_colocation id=colo_drbd0_ip0 to=ip0 from=drbd0:0 score=infinity/

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 the

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 flor...@linbit.com 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

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 CRM

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

Re: [Pacemaker] mysql ocf error 5

2009-05-27 Thread Andrew Beekhof
On Wed, May 27, 2009 at 6:39 PM, Jason Woodward jason.woodw...@joslin.harvard.edu 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 \

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):

Re: [Pacemaker] Fwd: classes

2009-05-27 Thread Dejan Muhamedagic
Hi, On Tue, May 26, 2009 at 04:34:43PM -0300, acl1978 wrote: pbr / br /br /Em 26/05/2009 15:46, strongspanacl1978 lt; acl1...@bol.com.br gt;/span/strong escreveu:/p blockquote style=border-left: 2px solid #6868cc; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;br / pHi everybody,/p pWhen I