[Pacemaker] ldap: Failed actions ldap_monitor_0

Andreas Kurz andreas at hastexo.com
Sat Oct 15 18:20:02 EDT 2011


Hello,

On 10/15/2011 07:05 PM, georg at riseup.net wrote:
> Hello again,
> 
> Today I was adding ldap to my corosync/pacemaker/drbd/asterisk setup.
> Everything is fine, up and running, but now there is a message about
> failed actions in crm_mon saying that ldapd_monitor_0 failed. I wonder if
> I have to add a "op monitor interval" to lsb:slapd? But on the other hand,
> I didn't do this for lsb:asterisk, which runs just fine.
> 
> Could someone point me into the right direction?

Check the slapd script for LSB clompliance ... there is also a brief
description in the Pacemaker docs:

http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ap-lsb.html

Is there a specific reason why you are using a cluster filesystem, with
single primary DRBD setup, no fencing configured ... ?

Regards,
Andreas

-- 
Need help with Pacemaker?
http://www.hastexo.com/now

> 
> Thanks,
> Georg
> 
> node asterisk1 \
>         attributes standby="off"
> node asterisk2 \
>         attributes standby="off"
> primitive asteriskd lsb:asterisk
> primitive drbd_pbx ocf:linbit:drbd \
>         params drbd_resource="r0" \
>         op monitor interval="10s"
> primitive fixrouting lsb:fixrouting
> primitive fs_pbx ocf:heartbeat:Filesystem \
>         params device="/dev/drbd0" directory="/data" fstype="ocfs2"
> primitive ip_extern_pbx ocf:heartbeat:IPaddr2 \
>         params ip="172.251.1.126" nic="eth0" \
>         op monitor interval="10s"
> primitive ip_intern_pbx ocf:heartbeat:IPaddr2 \
>         params ip="192.168.1.93" nic="eth0" \
>         op monitor interval="10s"
> primitive ldapd lsb:slapd
> group pbx ip_intern_pbx ip_extern_pbx fixrouting fs_pbx ldapd asteriskd \
>         meta target-role="Started"
> ms ms_drbd_pbx drbd_pbx \
>         meta master-max="1" master-node-max="1" clone-max="2"
> clone-node-max="1" notify="true" target-role="Started"
> colocation pbx_on_drbd inf: pbx ms_drbd_pbx:Master
> order pbx_after_drbd inf: ms_drbd_pbx:promote pbx:start
> property $id="cib-bootstrap-options" \
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 286 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20111016/41d05d24/attachment-0003.sig>


More information about the Pacemaker mailing list