1 .TH SLURPD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2006 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slurpd \- Standalone LDAP Update Replication Daemon
8 .B LIBEXECDIR/slurpd [\-d debug\-level]
9 .B [\-f slapd\-config\-file] [\-r slapd\-replog\-file]
10 .B [\-t temp\-dir] [\-o]
15 is used to propagate changes from one slapd database to another. If
16 slapd is configured to produce a replication log,
19 replication log and sends the changes to the slave
22 via the LDAP protocol.
24 is typically invoked at boot time, usually out of
29 normally forks and disassociates itself from the invoking tty,
30 then reads the replication log (given either by the
34 config file, or by the
37 If the replication log file does not exist or is empty,
39 goes to sleep. It periodically wakes up and checks to see if there
40 are any changes to be propagated.
44 notices that there are changes to propagate to slave
46 instances, it locks the replication log, makes its own private copy,
47 releases the lock, and forks one copy of itself for each replica
49 to be updated. Each child process binds to the slave
58 config file, and sends the changes.
62 for details on the standalone LDAP daemon.
64 Note that slurpd reads
70 to obtain other configuration settings (such as TLS settings).
73 .BI \-d " debug\-level"
74 Turn on debugging as defined by
76 If this option is specified, even with a zero argument,
78 will not fork or disassociate from the invoking terminal. Some general
79 operation and status messages are printed for any value of \fIdebug\-level\fP.
80 \fIdebug\-level\fP is taken as a bit string, with each bit corresponding to a
81 different kind of debugging information. See <ldap.h> for details.
83 .BI \-f " slapd\-config\-file"
84 Specifies the slapd configuration file. The default is
85 .BR ETCDIR/slapd.conf .
87 .BI \-r " slapd\-replog\-file"
88 Specifies the name of the
90 replication logfile. Normally, the name
91 of the replication log file is read from the
93 configuration file. The file should be located in a directory
94 with limited read/write/execute access.
97 option allows you to override this. In conjunction with the
99 option, you can process a replication log file in a "one\-shot" mode. For
102 has encountered errors in processing a replication log,
103 you can run it in one\-shot mode and give the rejection file name as
104 the argument to the \-r option, once you've resolved the problem which caused
105 the replication to fail.
108 Run in "one\-shot" mode. Normally,
110 processes the replog file
111 and then watches for more replication entries to be appended. In
114 processes a replication log and exits.
118 copies the replication log to a working directory before processing it.
119 The directory permissions should limit read/write/execute access as
120 temporary files may contain sensitive information.
121 This option allows you to specify the location of these temporary files.
123 .BR LOCALSTATEDIR/openldap-slurp .
127 and have it fork and detach from the terminal and process
128 the replication logs generated by
142 configuration file, and turn
143 on voluminous debugging which will be printed on standard error, type:
147 LIBEXECDIR/slurpd -f ETCDIR/slapd.conf -d 255
155 .BR slapd.replog (5),
158 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
161 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
163 is derived from University of Michigan LDAP 3.3 Release.