Page created: 6 Nov 2019
|
Page updated: 25 Mar 2020
| 1 min read
8.0 Product PingDirectory Administration User task Product documentation Content Type Software Deployment Method IT Administrator Administrator Audience Directory Capability
-
With all servers online, the dsreplication pre-external-initialization
command must be run once against any server in the topology. This stops replication
for the domain. No writes are made by clients to any of the servers.
$ bin/dsreplication pre-external-initialization --hostname austin01.example.com \ --port 1389 --baseDN dc=example,dc=com --adminUID admin \ --adminPassword password --no-prompt
-
Using import-ldif, replace the data for dc=example,dc=com.
Make sure that the input LDIF is free of any replication attributes by using
the --excludeReplication option. The --overwriteExistingEntries
option is necessary to overwrite the existing data for the domain.
For example, to perform the import-ldif with the server offline:
$ bin/import-ldif --ldifFile new-data.ldif --backendID userRoot --excludeReplication --overwriteExistingEntries
-
Initialize the other servers in the topology with dsreplication initialize,
using the server which has the new data as the source host. For example:
$ bin/dsreplication initialize --hostSource austin01.example.com --portSource 1389 \ --hostDestination budapest01.example.com --portDestination 1389 \ --adminUID admin --adminPassword password --baseDN dc=example,dc=com \ --no-prompt
-
Run dsreplication post-external-initialization once from any server in the topology.
All servers in the topology must be online:
$ bin/dsreplication post-external-initialization --hostname austin01.example.com \ --port 1389 --baseDN dc=example,dc=com --adminUID admin \ --adminPassword password --no-prompt