ocf:slapd — Manages a Stand-alone LDAP Daemon (slapd) instance
[OCF_RESKEY_slapd=string] [OCF_RESKEY_ldapsearch=string] OCF_RESKEY_config=string [OCF_RESKEY_pidfile=string] [OCF_RESKEY_user=string] [OCF_RESKEY_group=string] OCF_RESKEY_services=string [OCF_RESKEY_watch_suffix=string] [OCF_RESKEY_ignore_suffix=string] [OCF_RESKEY_bind_dn=string] [OCF_RESKEY_password=string] [OCF_RESKEY_parameters=string] [OCF_RESKEY_stop_escalate=integer] slapd [start | stop | monitor | validate-all | meta-data]
Resource script for Stand-alone LDAP Daemon (slapd). It manages a slapd instance as an OCF resource.
Full path to the slapd binary. For example, "/usr/sbin/slapd".
Full path to the ldapsearch binary. For example, "/usr/bin/ldapsearch".
Full path to a slapd configuration directory or a slapd configuration file. For example, "/etc/ldap/slapd.d" or "/etc/ldap/slapd.conf".
File to read the PID from; read from olcPidFile/pidfile in config if not set.
User name or id slapd will run with. The group id is also changed to this user's gid, unless the group parameter is used to override.
Group name or id slapd will run with.
LDAP (and other scheme) URLs slapd will serve. For example, "ldap://127.0.0.1:389 ldaps:/// ldapi:///"
Suffix (database backend) that will be monitored for availability. Multiple suffixes can be specified by providing a space seperated list. By providing one or more suffixes here, the ignore_suffix parameter is discarded. All suffixes will be monitored if left blank.
Suffix (database backend) that will not be monitored for availability. Multiple suffixes can be specified by providing a space seperated list. No suffix will be excluded if left blank.
Distinguished Name used to bind to the LDAP directory for testing. Leave blank to bind to the LDAP directory anonymously.
Password used to bind to the LDAP directory for testing.
slapd may be called with additional parameters. Specify any of them here.
Number of seconds to wait for shutdown (using SIGTERM) before resorting to SIGKILL