CLI part for Issue 2424 (Impact of generation ID on binary copy).
New two subcommands have been added to dsreplication:
Usage:
$ dsreplication pre-external-initialization --help
dsreplication pre-external-initialization {options}
This subcommand must be called before initializing the contents of all the replicated servers using the tool import-ldif or the binary copy method for replication to work. You must specify the list of Base DNs that will be initialized and you must provide the credentials of any of the servers that is being replicated. After calling this subcommand, you must initialize the contents of all the servers in the topology and after the initialization is over you must call the subcommand {post-external-initialization}.
Global Options: See "dsreplication --help"
SubCommand Options:
-h, --hostname {host}
Directory server hostname or IP address
-p, --port {port}
Directory server port number
-Z, --useSSL
Use SSL for secure communication with the server
-q, --useStartTLS
Use StartTLS to secure communication with the server
-l, --only-local
Use this option when only the contents of the specified directory server will be initialized with an external method (import-ldif command or binary copy)
$ dsreplication post-external-initialization --help
Usage: dsreplication post-external-initialization {options}
This subcommand must be called after initializing the contents of all the replicated servers using the tool import-ldif or the binary copy method for replication to work. You must specify the list of Base DNs that have been initialized and you must provide the credentials of any of the servers that is being replicated. See the usage of the subcommand {pre-external-initialization} for more information.
Global Options:
See "dsreplication --help"
SubCommand Options:
-h, --hostname {host}
Directory server hostname or IP address
-p, --port {port}
Directory server port number
-Z, --useSSL
Use SSL for secure communication with the server
-q, --useStartTLS
Use StartTLS to secure communication with the server