[Pacemaker] Changes in the colocation constraints?

2009-05-26 Thread Димитър Бойн
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:       I believe the current Pacemaker syntax would translate the above to something like:         How ever I am not a

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

2009-05-26 Thread Martin Gerhard Loschwitz
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 ver: 0 name: pacemaker use_mgmtd: yes } cheers, raoul T

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

2009-05-26 Thread Martin Gerhard Loschwitz
Raoul Bhatia [IPAX] schrieb: 9. i think a logrotate configuration i missing from openais-legacy: e.g. # cat /etc/logrotate.d/openais-legacy /var/log/openais/*.log { weekly missingok rotate 52 compress delaycompress notifempty create 640 ro

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

2009-05-26 Thread Martin Gerhard Loschwitz
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"? M. -- : Martin G. Loschwitz Tel +43-1-8178292-63 : : LINBIT Information Technol

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

2009-05-26 Thread Martin Gerhard Loschwitz
Raoul Bhatia [IPAX] schrieb: 6. # getent passwd ais ais:x:104:108::/home/ais:/bin/false shouldn't ais' homedir be set to something like /var/lib/openais ? cheers, raoul You are right; the current setting is not optimal, I will discuss with Simon and Anibal which directory would be the best

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

2009-05-26 Thread Martin Gerhard Loschwitz
Raoul Bhatia [IPAX] schrieb: Raoul Bhatia [IPAX] wrote: 4. installation of pacemaker-openais fails with: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or remov

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

2009-05-26 Thread Martin Gerhard Loschwitz
Raoul Bhatia [IPAX] schrieb: feedback: 1. openais-legacy 0.80.5+svn20090522-1~bpo50+1 installs /etc /etc/openais /etc/openais/openais.conf /etc/openais/amf.conf and a symlink inside /etc/. ais -> openais I fear that many people inside Debian will consider "/etc/ais" to be way too generic

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

2009-05-26 Thread Martin Gerhard Loschwitz
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 more errors that were potentially harmful; I created new

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

2009-05-26 Thread Andrew Beekhof
On Tue, May 26, 2009 at 6:11 PM, Raoul Bhatia [IPAX] wrote: > Raoul Bhatia [IPAX] wrote: >> 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 >>>      ver:    

[Pacemaker] Fwd: classes

2009-05-26 Thread acl1978
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# classescrm(live)ra#   Thanks, Alan   ___ Pacemaker mailing list Pa

[Pacemaker] mixing openais from opensuse buildservice and openais-legacy 0.80.5+svn20090522-1~bpo50+1

2009-05-26 Thread Raoul Bhatia [IPAX]
i am currently running on my two node cluster: > # dpkg -l|egrep "(openais|pacemak|heart)" > ii heartbeat 2.99.2-1 Subsystem > for High-Availability Linux > ii libopenais2 0.80.5-1 > Standards-based cluster f

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

2009-05-26 Thread Raoul Bhatia [IPAX]
Dejan Muhamedagic wrote: >> 10. and i would add this to /etc/openais/openais.conf >>> diff -r b3473a1f4ebf openais/openais.conf >>> --- a/openais/openais.conf Tue May 26 18:01:52 2009 +0200 >>> +++ b/openais/openais.conf Tue May 26 18:10:23 2009 +0200 >>> @@ -48,8 +48,10 @@ >>> >>> log

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

2009-05-26 Thread Raoul Bhatia [IPAX]
Raoul Bhatia [IPAX] wrote: > feedback: that just cought my eye: > May 26 18:24:23 c01n02 crmd: [32166]: info: main: CRM Hg Version: unknown cheers, raoul -- DI (FH) Raoul Bhatia M.Sc. email. r.bha...@ipax.at T

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

2009-05-26 Thread Dejan Muhamedagic
On Tue, May 26, 2009 at 06:11:33PM +0200, Raoul Bhatia [IPAX] wrote: > Raoul Bhatia [IPAX] wrote: > > 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-26 Thread Dejan Muhamedagic
Hi, On Tue, May 26, 2009 at 06:14:29PM +0200, Raoul Bhatia [IPAX] wrote: > Dejan Muhamedagic wrote: > > Perhaps also add > > use_logd: yes > > > > in my configuration (openais), /etc/ha.d/ha.cf does not exist. > > but ha_logd ist started by /etc/init.d/logd . > is this sufficient? Yes. (ha

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

2009-05-26 Thread Raoul Bhatia [IPAX]
Dejan Muhamedagic wrote: > Perhaps also add > use_logd: yes > in my configuration (openais), /etc/ha.d/ha.cf does not exist. but ha_logd ist started by /etc/init.d/logd . is this sufficient? cheers, raoul -- DI (FH) Rao

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

2009-05-26 Thread Juha Heinanen
Raoul Bhatia [IPAX] writes: > 6. # getent passwd ais > > ais:x:104:108::/home/ais:/bin/false > > shouldn't ais' homedir be set to something like /var/lib/openais ? in many packages that contain a daemon, homedir is /var/run/. -- juha ___ Pacemake

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

2009-05-26 Thread Raoul Bhatia [IPAX]
Raoul Bhatia [IPAX] wrote: > 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 >> ver: 0 >> name: pacemaker >> use_mgmtd: yes >> } 10. and

Re: [Pacemaker] 'crm configure delete' behavior changed in 1.0.3?

2009-05-26 Thread Dejan Muhamedagic
Hi, On Tue, May 26, 2009 at 10:01:04AM -0600, Nicholas Dronen wrote: > On Tue, May 26, 2009 at 9:55 AM, Dejan Muhamedagic wrote: > > > Hi, > > > > On Tue, May 26, 2009 at 08:48:26AM -0600, Nicholas Dronen wrote: > > > Normally when I delete a resource group with 'crm configure delete', all > > of

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

2009-05-26 Thread Raoul Bhatia [IPAX]
9. i think a logrotate configuration i missing from openais-legacy: e.g. > # cat /etc/logrotate.d/openais-legacy > /var/log/openais/*.log { > weekly > missingok > rotate 52 > compress > delaycompress > notifempty > create 640 root adm > sharedscripts

Re: [Pacemaker] 'crm configure delete' behavior changed in 1.0.3?

2009-05-26 Thread Nicholas Dronen
On Tue, May 26, 2009 at 9:55 AM, Dejan Muhamedagic wrote: > Hi, > > On Tue, May 26, 2009 at 08:48:26AM -0600, Nicholas Dronen wrote: > > Normally when I delete a resource group with 'crm configure delete', all > of > > the resources in the group are deleted as well. Initially, I didn't > expect >

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

2009-05-26 Thread Dejan Muhamedagic
Hi, On Tue, May 26, 2009 at 05:57:26PM +0200, Raoul Bhatia [IPAX] wrote: > 8. q. should pacemaker-openais add the service definition for pacemaker > to /etc/init.d/openais.conf? I'd say yes. > e.g.: > > > service { > > # Load the Pacemaker Cluster Resource Manager > > ver: 0 > >

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

2009-05-26 Thread Raoul Bhatia [IPAX]
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 > ver: 0 > name: pacemaker > use_mgmtd: yes > } cheers, raoul --

Re: [Pacemaker] 'crm configure delete' behavior changed in 1.0.3?

2009-05-26 Thread Dejan Muhamedagic
Hi, On Tue, May 26, 2009 at 08:48:26AM -0600, Nicholas Dronen wrote: > Normally when I delete a resource group with 'crm configure delete', all of > the resources in the group are deleted as well. Initially, I didn't expect > this behavior, but I coded around it. It appears that this changed in

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

2009-05-26 Thread Raoul Bhatia [IPAX]
7. i am not finding /usr/sbin/ocf-tester in any package. cheers, raoul -- DI (FH) Raoul Bhatia M.Sc. email. r.bha...@ipax.at Technischer Leiter IPAX - Aloy Bhatia Hava OEG web. http://www.ipax

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

2009-05-26 Thread Raoul Bhatia [IPAX]
6. # getent passwd ais > ais:x:104:108::/home/ais:/bin/false shouldn't ais' homedir be set to something like /var/lib/openais ? cheers, raoul -- DI (FH) Raoul Bhatia M.Sc. email. r.bha...@ipax.at Technischer L

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

2009-05-26 Thread Raoul Bhatia [IPAX]
Raoul Bhatia [IPAX] wrote: > 4. installation of pacemaker-openais fails with: >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. >> 1 not fully installed or removed. >> After this

[Pacemaker] 'crm configure delete' behavior changed in 1.0.3?

2009-05-26 Thread Nicholas Dronen
Normally when I delete a resource group with 'crm configure delete', all of the resources in the group are deleted as well. Initially, I didn't expect this behavior, but I coded around it. It appears that this changed in 1.0.3, so that deleting the group leaves the resources intact. Is anyone el

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

2009-05-26 Thread Raoul Bhatia [IPAX]
feedback: 1. openais-legacy 0.80.5+svn20090522-1~bpo50+1 installs > /etc > /etc/openais > /etc/openais/openais.conf > /etc/openais/amf.conf and a symlink inside /etc/. > ais -> openais but the deamon searches for the configuration in /etc/ais/ by default. q. should we not avoid such symlinks? 2

Re: [Pacemaker] PingD Failure-Timeout

2009-05-26 Thread Eliot Gable
I am using 1.0.3, but the failure-timeout thing does not seem to work for pingd. Eliot Gable Senior Engineer 1228 Euclid Ave, Suite 390 Cleveland, OH 44115 Direct: 216-373-4808 Fax: 216-373-4657 ega...@broadvox.net CONFIDENTIAL COMMUNICATION. This e-mail and any files transmitted with it are

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

2009-05-26 Thread Florian Haas
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 you again in a couple of weeks if it doesn't show >> up by then?

[Pacemaker] Clone configuration help

2009-05-26 Thread Mihai
Hello, I am having some problems trying to configure a cluster made of 3 servers. Server 1 - resources sql http sip +ip0 Server 2 - resources sql http sip +ip1 Server 3 - resources sip+ip3 What I did since sip depends on sql being started and also the ipX depends on sip started is creat

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

2009-05-26 Thread Florian Haas
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 the pacemaker-mgmt-client package: yum install pacemaker-mgmt-client Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * bas

Re: [Pacemaker] Pacemaker on OpenAIS, RRP, and link failure

2009-05-26 Thread Andrew Beekhof
On Tue, May 26, 2009 at 12:08 PM, Florian Haas wrote: > Steve, > > On 2009-05-25 19:56, Juha Heinanen wrote: >> Steven Dake writes: >>  > The only options I see is to periodically try the failed ring for >>  > liveness.  The problem with this approach is it is hard to implement. >> >> try all the

Re: [Pacemaker] Pacemaker on OpenAIS, RRP, and link failure

2009-05-26 Thread Florian Haas
Steve, On 2009-05-25 19:56, Juha Heinanen wrote: > Steven Dake writes: > > The only options I see is to periodically try the failed ring for > > liveness. The problem with this approach is it is hard to implement. > > try all the time also after failure like was done before failure. Complete

Re: [Pacemaker] Pacemaker on OpenAIS, RRP, and link failure

2009-05-26 Thread Florian Haas
Andrew, On 2009-05-25 18:16, Andrew Beekhof wrote: >> To instead defer that task to a Pacemaker resource agent seems >> positively disturbing. > > No more disturbing than #2 and what are the recurring monitor > operations if not a "cron" job? It is not _much_ more disturbing than #2. But it seem