Hi Todd,
thank you for your suggestions!

I had simplified my /etc/sysctl.conf and removed the VIP from lo device.
I will let heartbeat manage the VIPs on both nodes with corresponding
constraints, so that the lo VIP never can run where the eth0 VIP runs.

I tried a lot of configurations, and I arrive at the conclusion that the
ldirectord is the cause of my problem. Even if I configure ldirectord as
the only resource, I get always this error:

Feb  1 10:50:18 localhost crmd: [8164]: info: do_lrm_rsc_op: Performing
op=ldirectord_1_monitor_0 key=3:0:315504da-cde4-4824-9e7e-082eae17b1b8)
Feb  1 10:50:18 localhost lrmd: [8168]: ERROR: (raexecocf.c:execra:173)
execl failed for /usr/lib/ocf/resource.d//hearbeat/ldirectord: No such file
or directory
Feb  1 10:50:18 localhost lrmd: [8161]: WARN: mapped the invalid return code
254.
Feb  1 10:50:18 localhost crmd: [8164]: ERROR: process_lrm_event: LRM
operation ldirectord_1_monitor_0 (call=2, rc=1) Error unknown error

There is a slash too much in the path:
"/usr/lib/ocf/resource.d//hearbeat/ldirectord"
Has anybody a hint where this is stored, or how I can remove this?

Thanks in advance,
best regards,
Stephan Berlet


> -----Original Message-----
> From: Todd Lyons [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 31, 2008 8:28 PM
> To: [email protected]
> Subject: Re: [Linux-HA] ldirectord problem, monitor fails
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, Jan 31, 2008 at 12:21:51PM +0100, Stephan Berlet wrote:
>
> >Node1: defas1, RIP=172.30.4.150(eth0), VIP=172.30.4.170
> >Node2: defas2, RIP=172.30.4.160(eth0), VIP=172.30.4.170
> >The active linux director holds the VIP on eth0:0,
> >the passive linux director holds the VIP on lo:0.
>
> I don't let the passive directory hold the VIP at all.
>
> >Here my configuration steps (on both nodes):
> ># cat /etc/sysctl.conf
>
> I do it with this simplified config:
> [EMAIL PROTECTED] ~]# tail -n 4 /etc/sysctl.conf
> # For load balanced machines
> net.ipv4.conf.all.arp_ignore = 1
> net.ipv4.conf.all.arp_announce = 2
>
> ># cat /etc/sysconfig/network-scripts/ifcfg-lo:0
>
> You should let heartbeat manage bringing up the IPs.  Do not
> assign the
> VIP to the loopback, do not assign it to any eth interfaces.  Let
> heartbeat manage the IPs (and only on the eth interfaces).
>
> For DR operation, the VIP should be on loopback devices on the real
> servers, not on the directors.
>
> ># cat /etc/ha.d/ha.cf
>
> Looked good.
>
> ># cat /etc/ha.d/ldirectord.cf
>
> Looked good.
>
> >The /var/lib/heartbeat/crm/cib.xml I created by conversion from a
> >haresources file like this:
>
> I can't help you with that, someone else will have to answer that.  I
> only use hb_gui to configure my heartbeat nodes, so I have zero
> operational experience with cib.xml files.
>
>

HELPING HEADS for Hard- and Software
-------------------------------------------------------------------------
Für Ihre Projekte entwickeln wir maßgeschneiderte Lösungen - schnell,
flexibel und direkt vor Ort. Unser eingespieltes Team an erfahrenen Hard-
und Software-Spezialisten unterstützt Sie dort, wo Sie uns brauchen.



--------------------------------------------------------------------------
SysDesign GmbH
Säntisstrasse 25
D-88079 Kressbronn am Bodensee

Geschäftsführer: Franz Kleiner, Achim Solle
Handelsregister: Ulm 632138
--------------------------------------------------------------------------

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to