Using the command line
You can issue the commands provided here at the command line to create subtree.
About this task
This scenario assumes that you are creating a new replicated subtree and that only server1
contains any entry data. All other servers are newly installed, have a configured database, and have
been started at least once for initialization purposes. The suffix of the replicated subtree must
already be configured on other servers. (Be sure to read Synchronizing two-way cryptography between server instances,
in the Administering section of the IBM® Security Verify Directory documentation before you start the server instances.)
Note: The subtree you want to create is shown here:
dn: o=sample
objectclass: organization
objectclass: ibm-replicationContext
o: sample If this entry already exists, then modify it to add
objectclass=ibm-replicationContext instead of adding the entire entry.- Create an ldif file
suffix_update.ldifwith the following information to add the objectclass=ibm-replicationContext to the already existing suffix or branch:dn: o=sample changetype: modify add: objectclass objectclass: ibm-replicationContext - Use the idsldapmodify command to modify the suffix entry on server1. On server1 issue the
following
command:
idsldapmodify -D <adminDN> -w <adminPW> -i suffix_update.ldif
This procedure is similar to the one for a single master and replica, except that the entire topology must be added to each of the servers and the content of the agreement information file is more complex. The file now includes information for the forwarding server and supplier-consumer information.
The supplier-consumer relationship for this scenario is:
- The master is a supplier to the forwarder.
- The forwarder has two roles:
- A consumer of the master
- A supplier to the replica
- The replica is a consumer of the forwarder.
To create the master (server1), a forwarder (server2), and replica (server3) for the subtree o=sample: