Error occurs when you deploy with idsideploy tool

When you deploy a replica or a peer in a replication environment by using the idsideploy tool, an error might occur. You can resolve this issue by ensuring that there is only one replication subentry.

When you deploy a replica or a peer in a replication environment by using the idsideploy tool, if the tool detects more than one replication subentry that contains the same serverID value for the attribute ibm-replicaServerId with the attribute ibm-replicationServerIsMaster set to true, the tool gives an error.

For any replication context, multiple replication subentries are not required, only one replication subentry is required. For example, if the entries are made as shown in the following example, idsideploy fails.
dn: ibm-replicaServerId=Peer1,ibm-replicaGroup=default, ou=ounit1, o=sample
objectclass: top
objectclass: ibm-replicaSubentry
ibm-replicaServerId: Peer1
ibm-replicationServerIsMaster: true
cn: Peer1 
description: Peer1

dn: cn=Peer1_entry,ibm-replicaGroup=default, ou=ounit1, o=sample
objectclass: top
objectclass: ibm-replicaSubentry
ibm-replicaServerId: Peer1
ibm-replicationServerIsMaster: true
cn: Peer1_entry 
description: Peer1
To rectify the problem in this example, you must create only one entry.