📄 slurpd.8
字号:
.TH SLURPD 8C "20 August 2000" "OpenLDAP LDVERSION".\" $OpenLDAP: pkg/ldap/doc/man/man8/slurpd.8,v 1.3.12.6 2000/10/17 19:32:55 kurt Exp $.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved..\" Copying restrictions apply. See COPYRIGHT/LICENSE..SH NAMEslurpd \- Standalone LDAP Update Replication Daemon.SH SYNOPSIS.B LIBEXECDIR/slurpd [\-d debug\-level].B [\-f slapd\-config\-file] [\-r slapd\-replog\-file].B [\-t temp\-dir] [\-o] [\-k srvtab\-file].B .SH DESCRIPTION.LP.B Slurpdis used to propagate changes from one slapd database to another. Ifslapd is configured to produce a replication log, .B slurpdreads thatreplication log and sends the changes to the slave .B slapdinstancesvia the LDAP protocol..B slurpdis typically invoked at boot time, usually out of.BR /etc/rc.local ..LPUpon startup,.B slurpdnormally forks and disassociates itself from the invoking tty,then reads the replication log (given either by the.I replogfiledirective in the .B slapdconfig file, or by the.RB \- rcommand-line option).If the replication log file does not exist or is empty,.B slurpdgoes to sleep. It periodically wakes up and checks to see if thereare any changes to be propoagated..LPWhen.B slurpdnotices that there are changes to propagate to slave .B slapdinstances, it locks the replication log, makes its own private copy,releases the lock, and forks one copy of itself for each replica.B slapdto be updated. Each child process binds to the slave .B slapdas theDN given by the.I binddnoption to the.I replicadirective in the.B slapdconfig file, and sends the changes..LPSee.BR slapd (8)for details on the standalone LDAP daemon..SH OPTIONS.TP.BI \-d " debug\-level"Turn on debugging as defined by.I debug\-level.If this option is specified, even with a zero argument,.B slurpdwill not fork or disassociate from the invoking terminal. Some generaloperation and status messages are printed for any value of \fIdebug\-level\fP.\fIdebug\-level\fP is taken as a bit string, with each bit corresponding to adifferent kind of debugging information. See <ldap.h> for details..TP.BI \-f " slapd\-config\-file"Specifies the slapd configuration file. The default is.BR ETCDIR/slapd.conf ..TP.BI \-r " slapd\-replog\-file"Specifies the name of the .B slapdreplication logfile. Normally, the nameof the replication log file is read from the .B slapdconfiguration file. The file should be located in a directorywith limited read/write/execute access.The.B \-roption allows you to override this. In conjunction with the.B \-ooption, you can process a replication log file in a "one\-shot" mode. Forexample, if .B slurpdhas encountered errors in processing a replication log,you can run it in one\-shot mode and give the rejection file name asthe argument to the \-r option, once you've resolved the problem which causedthe replication to fail..TP.B \-oRun in "one\-shot" mode. Normally, .B slurpdprocesses the replog fileand then watches for more replication entries to be appended. Inone\-shot mode, .B slurpdprocesses a replication log and exits..TP.BI \-t " temp\-dir".B slurpdcopies the replication log to a working directory before processing it.The directory permissions should limit read/write/execute access astemporary files may contain sensitive information.This option allows you to specify the location of these temporary files. The default is.BR LOCALSTATEDIR/openldap-slurp ..TP.BI \-k " srvtab\-file"Specify the location of the kerberos srvtab file which contains keysfor the replica .I slapdinstances. Overrides the srvtab argument to thereplica directive in the .I slapdconfiguration file..SH EXAMPLESTo start .I slurpdand have it fork and detach from the terminal and processthe replication logs generated by.I slapd,just type:.LP.nf.ft tt LIBEXECDIR/slurpd.ft.fi.LPTo start .I slurpdwith an alternate .I slapdconfiguration file, and turnon voluminous debugging which will be printed on standard error, type:.LP.nf.ft tt LIBEXECDIR/slurpd -f ETCDIR/slapd.conf -d 255.ft.fi.LP.SH "SEE ALSO".BR ldap (3),.BR slapd.replog (5),.BR slapd (8).LP"OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/).SH ACKNOWLEDGEMENTS.B OpenLDAPis developed and maintained by The OpenLDAP Project (http://www.openldap.org/)..B OpenLDAPis derived from University of Michigan LDAP 3.3 Release.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -