Re: [Linux-HA] The Heartbeat Education Project

2007-04-02 Thread Michael Schwartzkopff
Am Dienstag, 3. April 2007 04:27 schrieb Alan Robertson: > Hi, > > For the impatient - view this totally cool link right now;-) > http://linux-ha.org/Education/Newbie/IPaddrScreencast Cool! Thanks. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Gra

Re: [Linux-HA] which is lying ?

2007-04-02 Thread Patrick Begou
-- === | Equipe M.O.S.T. | http://most.hmg.inpg.fr | | Patrick BEGOU | | | LEGI| mailto:[EMAIL PROTECTED] | | BP 53 X | Tel 04 76 82 51 3

Re: [Linux-HA] Repeatable simple colocation bug

2007-04-02 Thread Martin Fick
Yes, I'm sorry, I realized this as soon as I submitted it. I am running (all regular apt-get installs): debian unstable Linux 2.6.17-1-vserver-686 heartbeat 2.0.8-1 I have attached the two node configuration files and the cibadmin output. It is not clear to me where the log files are, that li

[Linux-HA] The Heartbeat Education Project

2007-04-02 Thread Alan Robertson
Hi, For the impatient - view this totally cool link right now;-) http://linux-ha.org/Education/Newbie/IPaddrScreencast For the less impatient, and for context about that content and why I created it, read on... It's readily apparent that we need good educational / training materials for

[Linux-HA] Helping out the Linux-HA (heartbeat) project

2007-04-02 Thread Alan Robertson
Hi, We have lots of different needs to help the project. Some are coding, but most aren't. I've tried to outline a few of them and put them on the web site on this page: http://linux-ha.org/HowToContribute You may think there is nothing you can do to help us, maybe because you think we

Re: [Linux-HA] New Command Line Tools: Resource Scripts

2007-04-02 Thread Alan Robertson
Martin Fick wrote: > Hi, > > I have been using heartbeat 2 for a while and tend to > prefer scripts over GUIs or XML so I have created some > helper scripts (that I call Resource Scripts) to > configure/modify resources and their constraints from > the command line that I would like to share with

Re: [Linux-HA] cib.xml races on initialization

2007-04-02 Thread Alan Robertson
Yan Fitterer wrote: > Manual manipulation of cib through /var filesystem is explicitly > discouraged. > > Use the cibadmin tool. Heartbeat will synchronize the cib between all > nodes automatically for you. However, the case he's doing - of initializing it before starting - is very common -- we e

Re: [Linux-HA] cib.xml races on initialization

2007-04-02 Thread Alan Robertson
Bernd Schubert wrote: > Hi, > > I think there's a race condition on initializing an entirely new cib.xml, I > will describe it as an example: > > system1 + system2: > 1) stop heartbeat > 2) delete their present status: > > rm -rf /var/lib/heartbeat/crm/c* \ > /var/lib/heartbeat/ccm

Re: [Linux-HA] resolving "Dependency loop" error

2007-04-02 Thread Alan Robertson
kisalay wrote: > Hi, > > I have recently upgraded my system from linux-ha 2.0.7 to 2.0.8. > Since I have upgraded, i have been seeing some errors/ warnings from > pengine. I assume that these errors were not checked for in 2.0.7 and more > checks have been added in 2.0.8. > Below I paste the whole

Re: [Linux-HA] Repeatable simple colocation bug

2007-04-02 Thread Alan Robertson
Martin Fick wrote: > I have create an example of a simple colocation > constraint bug that I have run into using one resource > that is meant to be colated with two similar > resources. I have used the example Stateful ocf agent > to showcase this bug, this resource simply sets a > state and maint

Re: [Linux-HA] which is lying ?

2007-04-02 Thread Alan Robertson
Patrick Begou wrote: > May be this is my answer: > > Dean (now heartbeat 1.2.4/FC6 X86_64) has no master control process > ps -ef |grep heart > nobody5378 1 0 19:12 ? 00:00:00 heartbeat: heartbeat: FIFO reader > nobody5379 1 0 19:12 ? 00:00:00 heartbeat: heartbeat: write: > b

Re: [Linux-HA] Getting the status of the node

2007-04-02 Thread Alan Robertson
Mark Eisenblaetter wrote: > Hello list, > > i'm searching for a tool/script that tells me if the node is active or > passiv. Heartbeat isn't an active/passive solution. So there is no "active node" or "passive node". But hb_status rscstatus will tell you what you want to know - but not very dir

Re: [Linux-HA] heartbeat -k hangs

2007-04-02 Thread Alan Robertson
Yan Fitterer wrote: > I can't see this working. AFAIK, heartbeat 2.x does not support the > protocols of the 1.x series. > > It sounds like you'll have to setup your 2.x system as a new cluster, > then put together a good transition process. Everything in heartbeat 1.2.x is in 2.0.x. -- Ala

[Linux-HA] New Command Line Tools: Resource Scripts

2007-04-02 Thread Martin Fick
Hi, I have been using heartbeat 2 for a while and tend to prefer scripts over GUIs or XML so I have created some helper scripts (that I call Resource Scripts) to configure/modify resources and their constraints from the command line that I would like to share with others. I only have a few of t

Re: [Linux-HA] heartbeat -k hangs

2007-04-02 Thread Patrick Begou
Alan Robertson and Dejan Muhamedagic suggest it could work but... May be I will have to try to compile from the source a 1.4 version because it do not exist anymore on FC6. I've tryied to install the 1.4 rpm for x86_64 with linking /lib64/libglib-1.2.so.0 on lib on /lib64/libglib-2.0.so.0 but I

Re: [Linux-HA] which is lying ?

2007-04-02 Thread Patrick Begou
May be this is my answer: Dean (now heartbeat 1.2.4/FC6 X86_64) has no master control process ps -ef |grep heart nobody5378 1 0 19:12 ? 00:00:00 heartbeat: heartbeat: FIFO reader nobody5379 1 0 19:12 ? 00:00:00 heartbeat: heartbeat: write: bcast eth1 nobody5380 1 0

Re: [Linux-HA] heartbeat -k hangs

2007-04-02 Thread Yan Fitterer
I can't see this working. AFAIK, heartbeat 2.x does not support the protocols of the 1.x series. It sounds like you'll have to setup your 2.x system as a new cluster, then put together a good transition process. Yan Patrick Begou wrote: > I am migrating my HA cluster. At this step I have: > > 1

[Linux-HA] which is lying ?

2007-04-02 Thread Patrick Begou
Has I do not found some help on my tedious problem with the "heartbeat -k" command hanging, I've spent this whole day to try to found a solution... without success. One strange thing is that these two commands give oposite answers: [EMAIL PROTECTED] ha.d]# /etc/init.d/heartbeat status heartbeat

Re: [Linux-HA] cib.xml races on initialization

2007-04-02 Thread Yan Fitterer
Manual manipulation of cib through /var filesystem is explicitly discouraged. Use the cibadmin tool. Heartbeat will synchronize the cib between all nodes automatically for you. Yan PS: man cibadmin cibadmin -h Bernd Schubert wrote: > Hi, > > I think there's a race condition on initializing an

Re: [Linux-HA] How to perform hb_standby from a custom heartbeat client ?

2007-04-02 Thread Alan Robertson
Dejan Muhamedagic wrote: > Hi, > > On Mon, Mar 26, 2007 at 01:40:34PM +0100, Martin Gazak wrote: >> Good morning, >> I have a custom heartbeat client (Heartbeat 2.0.7, OpenSuSE Linux 10.2), >> which signs on, performs nodewalk and then periodically gets node >> statuses, all using routines of hb

[Linux-HA] Re: Linux-HA Digest, Vol 40, Issue 126 --- Help Heartbeat -2.0.2-1

2007-04-02 Thread Alan Robertson
jugal shah wrote: > Hi All, > > First of all thank you very much. > > Can anyone guide me how to do R2 CIB configuration? > > Though I have configure the ha.cf file with the "crm=yes" and it has > generated cib.xml file but I don't understand how to do the > configuration in cib.xml file. >

Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-04-02 Thread Bjorn Oglefjorn
Any ideas as to what's going wrong here? --BO On 3/30/07, Bjorn Oglefjorn <[EMAIL PROTECTED]> wrote: I've made the OCF apache RA work by editing the script's parameters for now. This is just testing anyway. Attached are my configs and a tar ball of the logs from the two nodes in question. Th

Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-04-02 Thread Bjorn Oglefjorn
Thanks Alan. That makes more sense now. --BO On 3/30/07, Alan Robertson <[EMAIL PROTECTED]> wrote: Bjorn Oglefjorn wrote: > I took a look at the apache RA, but it makes a lot of assumptions about the > environment which are mostly untrue in Red Hat. How can I configure > this RA > short of ma

[Linux-HA] cib.xml races on initialization

2007-04-02 Thread Bernd Schubert
Hi, I think there's a race condition on initializing an entirely new cib.xml, I will describe it as an example: system1 + system2: 1) stop heartbeat 2) delete their present status: rm -rf /var/lib/heartbeat/crm/c* \ /var/lib/heartbeat/ccm/ccm \ /var/lib/heartbeat/register \

[Linux-HA] Re: Linux-HA Digest, Vol 40, Issue 126 --- Help Heartbeat -2.0.2-1

2007-04-02 Thread jugal shah
Hi All, First of all thank you very much. Can anyone guide me how to do R2 CIB configuration? Though I have configure the ha.cf file with the "crm=yes" and it has generated cib.xml file but I don't understand how to do the configuration in cib.xml file. I have done the fol

[Linux-HA] resolving "Dependency loop" error

2007-04-02 Thread kisalay
Hi, I have recently upgraded my system from linux-ha 2.0.7 to 2.0.8. Since I have upgraded, i have been seeing some errors/ warnings from pengine. I assume that these errors were not checked for in 2.0.7 and more checks have been added in 2.0.8. Below I paste the whole cib.xml ( for clear referen

[Linux-HA] Getting the status of the node

2007-04-02 Thread Mark Eisenblaetter
Hello list, i'm searching for a tool/script that tells me if the node is active or passiv. I dont find any tool for that. Not to forget i'm using Version 1. Thanks for your help. Mark -- Mark Eisenblätter Geissendoerfer & Leschinsky GmbH www.gl-sytemhaus.de __

[Linux-HA] heartbeat -k hangs

2007-04-02 Thread Patrick Begou
I am migrating my HA cluster. At this step I have: 1 debian sarge node with heartbeat 1.2.3-9sarge6 1 Fedora Core6 node with heartbeat 2.0.8-1.fc6 drbd is working between the two hosts. I think there is a communication problem between these 2 heartbeat version (backward compatibility ?) becau