1OCF_HEARTBEAT_SLAPD(7)        OCF resource agents       OCF_HEARTBEAT_SLAPD(7)
2
3
4

NAME

6       ocf_heartbeat_slapd - Manages a Stand-alone LDAP Daemon (slapd)
7       instance
8

SYNOPSIS

10       slapd [start | stop | monitor | meta-data | validate-all]
11

DESCRIPTION

13       Resource script for Stand-alone LDAP Daemon (slapd). It manages a slapd
14       instance as an OCF resource.
15

SUPPORTED PARAMETERS

17       slapd
18           Full path to the slapd binary. For example, "/usr/sbin/slapd".
19
20           (optional, string, default "/usr/sbin/slapd")
21
22       ldapsearch
23           Full path to the ldapsearch binary. For example,
24           "/usr/bin/ldapsearch".
25
26           (optional, string, default "ldapsearch")
27
28       config
29           Full path to a slapd configuration directory or a slapd
30           configuration file. For example, "/etc/ldap/slapd.d" or
31           "/etc/ldap/slapd.conf".
32
33           (unique, optional, string, no default)
34
35       pidfile
36           File to read the PID from; read from olcPidFile/pidfile in config
37           if not set.
38
39           (optional, string, no default)
40
41       user
42           User name or id slapd will run with. The group id is also changed
43           to this user's gid, unless the group parameter is used to override.
44
45           (optional, string, no default)
46
47       group
48           Group name or id slapd will run with.
49
50           (optional, string, no default)
51
52       services
53           LDAP (and other scheme) URLs slapd will serve. For example,
54           "ldap://127.0.0.1:389 ldaps:/// ldapi:///"
55
56           (unique, optional, string, default "ldap:///")
57
58       watch_suffix
59           Suffix (database backend) that will be monitored for availability.
60           Multiple suffixes can be specified by providing a space separated
61           list. By providing one or more suffixes here, the ignore_suffix
62           parameter is discarded. All suffixes will be monitored if left
63           blank.
64
65           (optional, string, no default)
66
67       ignore_suffix
68           Suffix (database backend) that will not be monitored for
69           availability. Multiple suffixes can be specified by providing a
70           space separated list. No suffix will be excluded if left blank.
71
72           (optional, string, no default)
73
74       bind_dn
75           Distinguished Name used to bind to the LDAP directory for testing.
76           Leave blank to bind to the LDAP directory anonymously.
77
78           (optional, string, no default)
79
80       password
81           Password used to bind to the LDAP directory for testing.
82
83           (optional, string, no default)
84
85       parameters
86           slapd may be called with additional parameters. Specify any of them
87           here.
88
89           (optional, string, no default)
90
91       stop_escalate
92           Number of seconds to wait for shutdown (using SIGTERM) before
93           resorting to SIGKILL
94
95           (optional, integer, default 15)
96
97       maxfiles
98           Maximum number of open files (for ulimit -n)
99
100           (optional, string, no default)
101

SUPPORTED ACTIONS

103       This resource agent supports the following actions (operations):
104
105       start
106           Starts the resource. Suggested minimum timeout: 20s.
107
108       stop
109           Stops the resource. Suggested minimum timeout: 20s.
110
111       monitor
112           Performs a detailed status check. Suggested minimum timeout: 20s.
113           Suggested interval: 60s.
114
115       validate-all
116           Performs a validation of the resource configuration. Suggested
117           minimum timeout: 20s.
118
119       meta-data
120           Retrieves resource agent metadata (internal use only). Suggested
121           minimum timeout: 5s.
122

EXAMPLE CRM SHELL

124       The following is an example configuration for a slapd resource using
125       the crm(8) shell:
126
127           primitive p_slapd ocf:heartbeat:slapd \
128             op monitor depth="0" timeout="20s" interval="60s"
129

EXAMPLE PCS

131       The following is an example configuration for a slapd resource using
132       pcs(8)
133
134           pcs resource create p_slapd ocf:heartbeat:slapd \
135             op monitor depth="0" timeout="20s" interval="60s"
136

SEE ALSO

138       http://clusterlabs.org/
139

AUTHOR

141       ClusterLabs contributors (see the resource agent source for information
142       about individual authors)
143
144
145
146resource-agents UNKNOWN           03/09/2020            OCF_HEARTBEAT_SLAPD(7)
Impressum