Description of problem: I'm trying to set up ocf:heartbeat:slapd resource agent, but I can't find information about it at all. Tutorials for setup are really old, and the resource agent throws error when I try to run him. I found only this example command and it fails: https://www.mankier.com/7/ocf_heartbeat_slapd >Failed Resource Actions: > * p_slapd_start_0 on virt-488 'error' (1): call=36, status='complete', >exitreason='slapd returned error.', last-rc-change='Thu Oct 6 15:32:11 2022', ?>queued=0ms, exec=109ms Can you verify that this resource agent is still viable in new RHEL versions and if there are described reproducible steps on how to set it up? How reproducible: Set up HA cluster, install all packages, and try to create slapd resource. Steps to Reproduce: 1.yum install -y openldap* 2.yum install -y sendmail 3. pcs resource create p_slapd ocf:heartbeat:slapd op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="60s" Actual results: > * p_slapd_start_0 on virt-488 'error' (1): call=36, status='complete', >exitreason='slapd returned error.', last-rc-change='Thu Oct 6 15:32:11 2022', ?>queued=0ms, exec=109ms Expected results: Users can set up slapd resource agent successfully.
Seems like we dont provide openldap-servers anymore. You can get it with EPEL on RHEL9: https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/o/
So do I understand correctly that we don't support this resource agent officially anymore, and there is no tutorial on how to set it up?
Simon, My understanding is that RHEL doesn't support slapd anymore (that's an EPEL only package), so we wouldn't provide any official support for configuration of slapd/openldap.