slapdrepl

The slapdrepl command creates a replication log file for the replication daemon slurpd to use when creating a new replica. It extracts entry information from the data base directory (databasedir) and creates appropriate replica entries. All parameters are optional. If you do not supply any parameters, slapdrepl generates replica entries for all databases and for all replica (slave) servers.


Syntax

 
slapdrepl [ -i databasedir ] [ -v ] [ -d ] [ -c slapdconf ]\
[ -p previousconf ] [ -o replogfile ] [ -w ] [ -h replserver [ , replserver ]...\ [ , replserver ] ]
 

The parameters of this command are:

-d  

Full debug mode. Debugging information is written to standard output.  

-v  

Use verbose mode, with diagnostics written to standard output.  

-i databasedir  

Create a replication log for the data store held in databasedir.  

-c slapdconf  

Specifies the slapd configuration file to use. The default is /etc/opt/SUNWconn/ldap/current/slapd.conf.  

-p previousconf  

The previous configuration file. If you specify a previous configuration file, replica information is generated for replicas that are new, meaning the previously saved configuration.  

-o replogfile  

The name of the replication log file to create. The default is defined in the slapd configuration.  

-w  

Overwrite existing information in the replication log file.  

-h replserver  

The name of the replica server for which you want to generate a replication log file. You can specify any number of replica servers.  




Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.