Copy data to the replica

After creating the replica, you must now export the topology from the master to the replica.

  1. On the master server create an LDIF file for the data. To copy all the data contained on the master server, do the following:
    1. In iSeries Navigator, expand Network.
    2. Expand Servers.
    3. Click TCP/IP.
    4. Right-click IBM Directory Server and select Tools, then Export File.
    5. Specify the output LDIF file name (for example masterfile.ldif), optionally specify a subtree to export (for example subtreeDN), and click OK.
  2. On the machine where you are creating the replica, do the following:
    1. Ensure that the replicated suffixes are defined in the replica server's configuration.
    2. Stop the replica server.
    3. Copy the LDIF file the replica and do the following:
      1. In iSeries Navigator, expand Network.
      2. Expand Servers.
      3. Click TCP/IP.
      4. Right-click IBM Directory Server and select Tools, then Import File.
      5. Specify the input LDIF file name (for example masterfile.ldif), optionally specify if you want to replicate data, and click OK.
      The replication agreements, schedules, credentials (if stored in the replicated subtree) and entry data are loaded on the replica.
    4. Start the server.