GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OCF_HEARTBEAT_SLAPD(7) OCF resource agents OCF_HEARTBEAT_SLAPD(7)

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

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

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

slapd
Full path to the slapd binary. For example, "/usr/sbin/slapd".

(optional, string, default "/usr/sbin/slapd")

ldapsearch

Full path to the ldapsearch binary. For example, "/usr/bin/ldapsearch".

(optional, string, default "ldapsearch")

config

Full path to a slapd configuration directory or a slapd configuration file. For example, "/etc/ldap/slapd.d" or "/etc/ldap/slapd.conf".

(unique, optional, string, no default)

pidfile

File to read the PID from; read from olcPidFile/pidfile in config if not set.

(optional, string, no default)

user

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.

(optional, string, no default)

group

Group name or id slapd will run with.

(optional, string, no default)

services

LDAP (and other scheme) URLs slapd will serve. For example, "ldap://127.0.0.1:389 ldaps:/// ldapi:///"

(unique, optional, string, default "ldap:///")

watch_suffix

Suffix (database backend) that will be monitored for availability. Multiple suffixes can be specified by providing a space separated list. By providing one or more suffixes here, the ignore_suffix parameter is discarded. All suffixes will be monitored if left blank.

(optional, string, no default)

ignore_suffix

Suffix (database backend) that will not be monitored for availability. Multiple suffixes can be specified by providing a space separated list. No suffix will be excluded if left blank.

(optional, string, no default)

bind_dn

Distinguished Name used to bind to the LDAP directory for testing. Leave blank to bind to the LDAP directory anonymously.

(optional, string, no default)

password

Password used to bind to the LDAP directory for testing.

(optional, string, no default)

parameters

slapd may be called with additional parameters. Specify any of them here.

(optional, string, no default)

stop_escalate

Number of seconds to wait for shutdown (using SIGTERM) before resorting to SIGKILL

(optional, integer, default 15)

maxfiles

Maximum number of open files (for ulimit -n)

(optional, string, no default)

This resource agent supports the following actions (operations):

start

Starts the resource. Suggested minimum timeout: 20s.

stop

Stops the resource. Suggested minimum timeout: 20s.

monitor

Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 60s.

validate-all

Performs a validation of the resource configuration. Suggested minimum timeout: 20s.

meta-data

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.

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" 

The following is an example configuration for a slapd resource using pcs(8)

pcs resource create p_slapd ocf:heartbeat:slapd \
  op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="60s" 

http://clusterlabs.org/

ClusterLabs contributors (see the resource agent source for information about individual authors)
04/12/2022 resource-agents 4.10.0

Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.