Section: Maintenance Commands (8C)
Return to Main Contents
slurpd - Standalone LDAP Update Replication Daemon
/usr/lib/slurpd [-d debug-level]
[-f slapd-config-file] [-r slapd-replog-file]
[-t temp-dir] [-o]
is used to propagate changes from one slapd database to another. If
slapd is configured to produce a replication log,
replication log and sends the changes to the slave
via the LDAP protocol.
is typically invoked at boot time, usually out of
normally forks and disassociates itself from the invoking tty,
then reads the replication log (given either by the
directive in the
config file, or by the
If the replication log file does not exist or is empty,
goes to sleep. It periodically wakes up and checks to see if there
are any changes to be propagated.
notices that there are changes to propagate to slave
instances, it locks the replication log, makes its own private copy,
releases the lock, and forks one copy of itself for each replica
to be updated. Each child process binds to the slave
DN given by the
option to the
directive in the
config file, and sends the changes.
for details on the standalone LDAP daemon.
Note that slurpd reads
to obtain other configuration settings (such as TLS settings).
- -d debug-level
Turn on debugging as defined by
If this option is specified, even with a zero argument,
will not fork or disassociate from the invoking terminal. Some general
operation and status messages are printed for any value of debug-level.
debug-level is taken as a bit string, with each bit corresponding to a
different kind of debugging information. See <ldap.h> for details.
- -f slapd-config-file
Specifies the slapd configuration file. The default is
- -r slapd-replog-file
Specifies the name of the
replication logfile. Normally, the name
of the replication log file is read from the
configuration file. The file should be located in a directory
with limited read/write/execute access.
option allows you to override this. In conjunction with the
option, you can process a replication log file in a "one-shot" mode. For
has encountered errors in processing a replication log,
you can run it in one-shot mode and give the rejection file name as
the argument to the -r option, once you've resolved the problem which caused
the replication to fail.
Run in "one-shot" mode. Normally,
processes the replog file
and then watches for more replication entries to be appended. In
processes a replication log and exits.
- -t temp-dir
copies the replication log to a working directory before processing it.
The directory permissions should limit read/write/execute access as
temporary files may contain sensitive information.
This option allows you to specify the location of these temporary files.
The default is
and have it fork and detach from the terminal and process
the replication logs generated by
with an alternate
configuration file, and turn
on voluminous debugging which will be printed on standard error, type:
/usr/lib/slurpd -f /etc/openldap/slapd.conf -d 255
"OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
is derived from University of Michigan LDAP 3.3 Release.
- SEE ALSO
linux.jgfs.net manual pages