table of contents
OCF_HEARTBEAT_SLAPD(7) | OCF resource agents | OCF_HEARTBEAT_SLAPD(7) |
NAME¶
ocf_heartbeat_slapd - Manages a Stand-alone LDAP Daemon (slapd) instance
SYNOPSIS¶
slapd [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
Resource script for Stand-alone LDAP Daemon (slapd). It manages a slapd instance as an OCF resource.
SUPPORTED PARAMETERS¶
slapd
(optional, string, default "/usr/sbin/slapd")
ldapsearch
(optional, string, default "ldapsearch")
config
(unique, optional, string, no default)
pidfile
(optional, string, no default)
user
(optional, string, no default)
group
(optional, string, no default)
services
(unique, optional, string, default "ldap:///")
watch_suffix
(optional, string, no default)
ignore_suffix
(optional, string, no default)
bind_dn
(optional, string, no default)
password
(optional, string, no default)
parameters
(optional, string, no default)
stop_escalate
(optional, integer, default 15)
maxfiles
(optional, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
monitor
validate-all
meta-data
EXAMPLE CRM SHELL¶
The following is an example configuration for a slapd resource using the crm(8) shell:
primitive p_slapd ocf:heartbeat:slapd \
op monitor depth="0" timeout="20s" interval="60s"
EXAMPLE PCS¶
The following is an example configuration for a slapd resource using pcs(8)
pcs resource create p_slapd ocf:heartbeat:slapd \
op monitor depth="0" timeout="20s" interval="60s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
03/19/2024 | resource-agents UNKNOWN |