Name

ocf:slapd — Manages a Stand-alone LDAP Daemon (slapd) instance

Synopsis

[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]

Description

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

Supported Parameters

OCF_RESKEY_slapd=Full path to slapd binary

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

OCF_RESKEY_ldapsearch=Full path to ldapsearch binary

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

OCF_RESKEY_config=Full path to configuration directory or file

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

OCF_RESKEY_pidfile=File to read PID from

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

OCF_RESKEY_user=User name or id slapd will run with

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.

OCF_RESKEY_group=Group name or id slapd will run with

Group name or id slapd will run with.

OCF_RESKEY_services=LDAP (and other scheme) URLs to serve

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

OCF_RESKEY_watch_suffix=Suffix that will be monitored for availability.

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.

OCF_RESKEY_ignore_suffix=Suffix that will not be monitored for availability.

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.

OCF_RESKEY_bind_dn=Distinguished Name used to bind to the LDAP directory for testing.

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

OCF_RESKEY_password=Password used to bind to the LDAP directory for testing.

Password used to bind to the LDAP directory for testing.

OCF_RESKEY_parameters=Any additional parameters to slapd.

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

OCF_RESKEY_stop_escalate=Seconds before stop escalation to KILL

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


SUSE Linux Enterprise High Availability Extension High Availability Guide 11 SP3