If the following patch is applied, all works like a charm!
--- ocf/resource.d/heartbeat/ldirectord 2010-02-10
15:38:51.000000000 +0100
+++ ocf.tiri/resource.d/heartbeat/ldirectord 2010-02-14
14:19:42.000000000 +0100
@@ -48,8 +48,8 @@
. ${OCF_ROOT}/resource.d/heartbeat/.ocf-shellfuncs
-LDIRCONF=${OCF_RESKEY_configfile:-/usr/sbin/ldirectord/ldirectord.cf}
-LDIRECTORD=${OCF_RESKEY_ldirectord:-/etc/ldirectord}
+LDIRCONF=${OCF_RESKEY_configfile:-/etc/ha.d/ldirectord.cf}
+LDIRECTORD=${OCF_RESKEY_ldirectord:-/usr/sbin/ldirectord}
meta_data() {
cat <<END
Greetings,
Thomas.
--
tiri GmbH
Lauenburger Str. 31a
21493 Schwarzenbek
Tel. 04151 8674995
Fax. 04151 8674996
Net. http://www.tiri.li
Geschäftsführer: Anja Baumann, Thomas Baumann
Sitz Schwarzenbek, Amtsgericht Lübeck, HRB 8837 HL
Zitat von Thomas Baumann <t...@tiri.li>:
Hi Dejan,
what Do I have to do to perform a bugzilla?
Thanks for your reply in advance.
Thomas.
Zitat von Dejan Muhamedagic <deja...@fastmail.fm>:
Hi,
On Wed, Feb 10, 2010 at 10:26:47PM +0100, tomtom wrote:
Hi all,
i use cluster-glue 1.0.3, corosync 1.2.0, pacemaker 1.0.7 and
ldirectord-1.0.1 with resource-agents 1.0.1
But when I try to define a primitive with the RA ldirectord it
says the resource agent does not exist:
crm(live)configure# primitive ldirector ocf:heartbeat:ldirectord \
> params configfile="/etc/ha.d/ldirectord.cf" \
> op monitor interval="2m" timeout="20s" \
> meta migration-threshold="10"
ERROR: ocf:heartbeat:ldirectord: no such resource agent
But it seems all files exist
lrwxrwxrwx 1 root root 20 2010-02-10 16:11
/etc/ha.d/resource.d/ldirectord -> /usr/sbin/ldirectord
lrwxrwxrwx 1 root root 22 2010-02-10 16:11 /sbin/rcldirectord ->
/etc/init.d/ldirectord
-rwxr-xr-x 1 root root 8032 2010-02-10 15:38
/usr/lib/ocf/resource.d/heartbeat/ldirectord
-rwxr-xr-x 1 root root 139459 2010-02-10 15:38 /usr/sbin/ldirectord
How can the RA for ldirectord been enabled?
Looks like the meta-data doesn't work for the RA always:
[1]hex-10:~ > OCF_ROOT=/usr/lib/ocf
/usr/lib/ocf/resource.d/heartbeat/ldirectord meta-data
2010/02/11_12:55:36 WARNING: /usr/sbin/ldirectord/ldirectord.cf not
found, ldirectord not installed
Can you please file a bugzilla for that. That error message above
should also be less misleading.
Thanks,
Dejan
Thanks for your reply in advance.
Thomas.
------------------------------------------------------------------
sent via tiri messaging - based on horde/imp/dspam/amavis and more
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
--
tiri GmbH
Lauenburger Str. 31a
21493 Schwarzenbek
Tel. 04151 8674995
Fax. 04151 8674996
Net. http://www.tiri.li
Geschäftsführer: Anja Baumann, Thomas Baumann
Sitz Schwarzenbek, Amtsgericht Lübeck, HRB 8837 HL
------------------------------------------------------------------
sent via tiri messaging - based on horde/imp/dspam/amavis and more
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
------------------------------------------------------------------
sent via tiri messaging - based on horde/imp/dspam/amavis and more
--- ocf/resource.d/heartbeat/ldirectord 2010-02-10 15:38:51.000000000 +0100
+++ ocf.tiri/resource.d/heartbeat/ldirectord 2010-02-14 14:19:42.000000000
+0100
@@ -48,8 +48,8 @@
. ${OCF_ROOT}/resource.d/heartbeat/.ocf-shellfuncs
-LDIRCONF=${OCF_RESKEY_configfile:-/usr/sbin/ldirectord/ldirectord.cf}
-LDIRECTORD=${OCF_RESKEY_ldirectord:-/etc/ldirectord}
+LDIRCONF=${OCF_RESKEY_configfile:-/etc/ha.d/ldirectord.cf}
+LDIRECTORD=${OCF_RESKEY_ldirectord:-/usr/sbin/ldirectord}
meta_data() {
cat <<END
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems