Re: [Pacemaker] Installation woes (w/Debian packages)

2009-10-06 Thread Colin
Is there a complete documentation of all config-parameters somewhere? A heap of "Using default value for..." just scrolled by in the log, with most of the affected parameters not even appearing once in the documentation... Regards, Colin ___ Pacemaker

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-10-06 Thread Colin
>> Check all the necessary paths. If the processes cannot write to their >> respective dirs they refuse to start and if pacemaker cannot start all >> the necessary processes, the node is rebooted. At least you know now >> that pacemaker is actually started :) Ok, with the /var/run/crm created the

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-10-06 Thread Andrew Beekhof
On Tue, Oct 6, 2009 at 8:58 AM, Colin wrote: > Is there a complete documentation of all config-parameters somewhere? > > A heap of "Using default value for..." just scrolled by in the log, > with most of the affected parameters not even appearing once in the > documentation... Which process? ___

Re: [Pacemaker] Low cost stonith device

2009-10-06 Thread Lars Ellenberg
> On Mon, Oct 05, 2009 at 02:39:19PM +0200, Florian Haas wrote: > > And whether or not these node names are fully-qualified or not is > > actually not up to the user, but depends on the distro used. That was my > > point. :) > > On the contrary, all my (Debian) pacemaker nodes have their FQDN as

Re: [Pacemaker] Fedora 11 - OCFS2 - Pacemaker

2009-10-06 Thread Andrew Beekhof
On Mon, Oct 5, 2009 at 5:06 PM, Fausto Lombardi wrote: > Do anyone know this option? I just spoke to upstream and apparently there isn't an option yet. But what you can do is add echo 1 > /sys/kernel/config/dlm/cluster/protocol to the start action in the "controld" resource agent. At some poin

Re: [Pacemaker] Installation woes (w/Debian packages)

2009-10-06 Thread Colin
On Tue, Oct 6, 2009 at 9:59 AM, Andrew Beekhof wrote: > On Tue, Oct 6, 2009 at 8:58 AM, Colin wrote: >> Is there a complete documentation of all config-parameters somewhere? >> >> A heap of "Using default value for..." just scrolled by in the log, >> with most of the affected parameters not even

Re: [Pacemaker] The best way to take a CIB backup and rooback to a defined state

2009-10-06 Thread martin . braun
Hi, > - cibadmin -C --xml-file backupfile.xml > > This is a way, but maybe not the best? I found this a convenient way: - crm configure show > backup_config.xml - crash!! - cibadmin -E --force - edit configuration to delete last-lrm-refresh etc. - crm configure < backup_config.xml It's just

Re: [Pacemaker] Low cost stonith device

2009-10-06 Thread Johan Verrept
Hi Lars, > Yes. > hostname (-s, -f) and uname differ in that > uname -n just does one syscall (uname), > and hostname (typically) does a gethostname(), > then a gethostbyname(), the result of the latter > heavily influenced by whatever is in your nsswitch, > resolv and other .conf, as well as wha

Re: [Pacemaker] Low cost stonith device

2009-10-06 Thread Dejan Muhamedagic
Hi, On Tue, Oct 06, 2009 at 10:55:11AM +0200, Johan Verrept wrote: > > Hi Lars, > > > Yes. > > hostname (-s, -f) and uname differ in that > > uname -n just does one syscall (uname), > > and hostname (typically) does a gethostname(), > > then a gethostbyname(), the result of the latter > > heavil

Re: [Pacemaker] Strange drbd orphan primitive

2009-10-06 Thread Andrew Beekhof
On Mon, Oct 5, 2009 at 12:07 PM, Jean Charles Passard wrote: > Hello > > I have a 4 nodes cluster. > On tintin and milou nodes I have a drbd HebuRoot which have no problem > On kvmt and riri nodes, I have another drbd ( Fantasio ) which have an > orphaned primitive that shows up at start of the cl

Re: [Pacemaker] [Openais] Problem starting pacemaker from openais

2009-10-06 Thread Andrew Beekhof
On Thu, Oct 1, 2009 at 2:31 PM, Michael Schwartzkopff wrote: > Hi, > > I have a problem starting pacemaker from openais after a systel reboot. > > System: RHEL 5.3 > libopenais2-0.80.5-15.1 > openais-0.80.5-15.1 > pacemaker-1.0.5-4.1 > > All packages from the openSUSE build server. > > After the s

Re: [Pacemaker] lots of timeout/rexmit messages after failed stonith and manual reboot

2009-10-06 Thread Andrew Beekhof
Possibly the node is really busy and Heartbeat isnt getting enough CPU... But I'm just guessing, I don't use Heartbeat much these days. On Mon, Oct 5, 2009 at 3:55 PM, Johan Verrept wrote: > > Hi, > >    when playing with the RA at a certain point the stonith failed (it > didn't find the host in

Re: [Pacemaker] build problem: HA_LIBDIR/HA_HBCONF_DIR redefined

2009-10-06 Thread Andrew Beekhof
On Fri, Oct 2, 2009 at 4:48 PM, Johan Verrept wrote: > On Fri, 2009-10-02 at 16:02 +0200, Dejan Muhamedagic wrote: >> Hi, >> >> On Fri, Oct 02, 2009 at 01:55:47PM +0200, Johan Verrept wrote: >> > Hello, >> > >> >    I am trying to build pacemaker 1.0.5, I get the following error: >> >> How do you

Re: [Pacemaker] resource agents: shellfuncs contains @HA_NOARCHDATAHBDIR@

2009-10-06 Thread Andrew Beekhof
Fixed: http://hg.linux-ha.org/agents/rev/b2ef45ca7575 On Fri, Oct 2, 2009 at 4:50 PM, Johan Verrept wrote: > On Fri, 2009-10-02 at 16:05 +0200, Dejan Muhamedagic wrote: >> > >> >     the resource-agents package file heartbeat shellfuncs contains >> > @HA_NOARCHDATAHBDIR@ but this is not replac

Re: [Pacemaker] pacemaker on different networks

2009-10-06 Thread Andrew Beekhof
On Wed, Sep 30, 2009 at 4:52 PM, Fabrizio Mancini wrote: > Hi guys, > sorry for the dumb question but i'm totally new to pacemaker. > I have 2 node with debian lenny on board and i've followed this tutorial for > the setup part. > http://www.clusterlabs.org/wiki/Debian_Lenny_HowTo > On every node

Re: [Pacemaker] dual primary with Master DRBD RA with linbit OCF RA

2009-10-06 Thread Andrew Beekhof
On Sat, Sep 26, 2009 at 10:29 PM, E-Blokos wrote: > Hi, > > for info if anyone wants to create a dual primary DRBD resource > it should have a "notify=true" in Master meta instance resource. > Otherwise it will never work. > Done on Fedora 10 updated with 4 nodes (of course with drdb constraint on

Re: [Pacemaker] build problem: HA_LIBDIR/HA_HBCONF_DIR redefined

2009-10-06 Thread Johan Verrept
On Tue, 2009-10-06 at 15:57 +0200, Andrew Beekhof wrote: > > I build straight from source. I downloaded the packages on > > http://www.clusterlabs.org/wiki/Install#From_Source and more or less > > followed instructions. > > > > The system I am building on isn't a standard distribution. It can build

Re: [Pacemaker] Low cost stonith device

2009-10-06 Thread Johan Verrept
On Tue, 2009-10-06 at 12:50 +0200, Dejan Muhamedagic wrote: > Well, if we already have the option to use port-nodename mapping, > that should be preferable to increasing the configuration size. > Still, perhaps you could add a hostlist parameter like in most > stonith plugins. Then just use that i

Re: [Pacemaker] Cluster Refuses to Stop/Shutdown

2009-10-06 Thread Andrew Beekhof
I could re-paste the whole thing, but its easier to just throw up the link: http://theclusterguy.clusterlabs.org/post/205886990/advisory-dont-use-pacemaker-on-corosync-yet On Thu, Sep 24, 2009 at 4:56 PM, Remi Broemeling wrote: > I posted this to the OpenAIS Mailing List ( > open...@lists.linu

Re: [Pacemaker] build problem: HA_LIBDIR/HA_HBCONF_DIR redefined

2009-10-06 Thread Andrew Beekhof
On Tue, Oct 6, 2009 at 4:07 PM, Johan Verrept wrote: > On Tue, 2009-10-06 at 15:57 +0200, Andrew Beekhof wrote: >> > I build straight from source. I downloaded the packages on >> > http://www.clusterlabs.org/wiki/Install#From_Source and more or less >> > followed instructions. >> > >> > The system

Re: [Pacemaker] Building Sources Fedora 10

2009-10-06 Thread Andrew Beekhof
Could you attach config.log for us to look at? Not sure what the problem is, it seems to build ok for f10 in the opensuse build service. On Mon, Sep 28, 2009 at 7:00 PM, Tom Murray wrote: > I am trying to get pacemaker and OpenAIS built and running on Fedora 10. >   I have been following the inst

Re: [Pacemaker] Strange drbd orphan primitive

2009-10-06 Thread Jean Charles Passard
Le 06/10/2009 15:47, Andrew Beekhof a écrit : On Mon, Oct 5, 2009 at 12:07 PM, Jean Charles Passard wrote: Hello I have a 4 nodes cluster. On tintin and milou nodes I have a drbd HebuRoot which have no problem On kvmt and riri nodes, I have another drbd ( Fantasio ) which have an orphaned

Re: [Pacemaker] build problem: HA_LIBDIR/HA_HBCONF_DIR redefined

2009-10-06 Thread Johan Verrept
On Tue, 2009-10-06 at 16:28 +0200, Andrew Beekhof wrote: > Its the same as HEAD from CVS. Ah. So I am running ahead of releases :D Good to know. > > What are the values for HA_LIBDIR and HA_HBCONF_DIR in > /ub/include/heartbeat/hb_config.h and /* lib directory */ #define HA_LIBDIR "/ub/lib" /

Re: [Pacemaker] dual primary with Master DRBD RA with linbit OCF RA

2009-10-06 Thread Florian Haas
On 10/06/2009 04:11 PM, Andrew Beekhof wrote: > On Sat, Sep 26, 2009 at 10:29 PM, E-Blokos wrote: >> Hi, >> >> for info if anyone wants to create a dual primary DRBD resource >> it should have a "notify=true" in Master meta instance resource. >> Otherwise it will never work. >> Done on Fedora 10 u

Re: [Pacemaker] build problem: HA_LIBDIR/HA_HBCONF_DIR redefined

2009-10-06 Thread Andrew Beekhof
On Tue, Oct 6, 2009 at 4:39 PM, Johan Verrept wrote: > On Tue, 2009-10-06 at 16:28 +0200, Andrew Beekhof wrote: > >> Its the same as HEAD from CVS. > > Ah. So I am running ahead of releases :D > Good to know. > >> >> What are the values for HA_LIBDIR and HA_HBCONF_DIR in >> /ub/include/heartbeat/h

Re: [Pacemaker] orphaned RA in pacemaker-gui

2009-10-06 Thread Andrew Beekhof
There is the stop-orphan-resources option. But if its for a stopped clone instance, then it can be safely ignored. On Mon, Sep 21, 2009 at 6:17 PM, E-Blokos wrote: > Hi, > > Is there a way that the cluster automatically and globally clean all > orphaned RA ? > > Thanks > > Franck Chionna > -- > T

Re: [Pacemaker] OCFS2 Error When Adding Node to Cluster

2009-10-06 Thread Andrew Beekhof
On Wed, Sep 30, 2009 at 12:59 PM, wrote: > Then I ensured the 3rd node had all supporting software installed > etc and deleted the CIB using cibadmin –E –force. I then copied all of > /etc/ais from a live node to the 3rd node and restarted AIS. Just to cover off the basics, did openais.conf have

Re: [Pacemaker] SNMP MIB for pacemaker

2009-10-06 Thread Andrew Beekhof
Howdy, You reverse engineered this from the code? pacemakerNotification 5 is the status of the operation not the resource pacemakerNotification 4 is the relevant error code (if any) as text, ie. the result of execra_code2string(rc) or op_status2text(status); Also, I'd prefer if the contact email

Re: [Pacemaker] OCF ocfs2:o2cb RA

2009-10-06 Thread Andrew Beekhof
On Mon, Sep 28, 2009 at 9:36 PM, E-Blokos wrote: > Hi, > > On fedora 10 (maybe other distrib) > it needs to add > > . /lib/lsb/init-functions in o2cb script > to use "start_daemon" function. Which is part of the redhat-lsb package for those that don't already have it installed. Alternatively, run

Re: [Pacemaker] SNMP MIB for pacemaker

2009-10-06 Thread Michael Schwartzkopff
Am Dienstag, 6. Oktober 2009 21:20:03 schrieb Andrew Beekhof: > Howdy, > > You reverse engineered this from the code? crm_mon is quite expressive here. > pacemakerNotification 5 is the status of the operation not the resource > pacemakerNotification 4 is the relevant error code (if any) as text,

[Pacemaker] clone-max and constraint

2009-10-06 Thread E-Blokos
Hi, on a 4 nodes cluster : after created a clone with clone-max 3 and constraint as if prevent clone to be on same node as a group RA with -INFINITY so the management control in pacemaker gui shows a clone RA with 4 nodes but with one as stopped orphaned... even cleanup resource doesn't do anyth

[Pacemaker] iscsi OCF RA for Fedora10+

2009-10-06 Thread E-Blokos
Hi, attached the OCF of Dejan modified to work with Fedora10 and iscsi-initiators-util RPM package Regards Franck Chionna iscsi-RA-Fedora Description: Binary data ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mai