ibm-replicaSubentry object class in a replication topology

Understanding the behavior of the ibm-replicaSubentry object class (ReplicaSubEntry) in a replication topology can help you identify and troubleshoot replication errors.

When a directory server that is in a replication environment starts, it compares its server ID against the server IDs in the replicaSubEntry entry. If the server ID matches, then as per the attribute value of ibm-replicationServerIsMaster, the server either plays the role of a supplier or consumer. If the server ID does not match, the server assumes that it is a consumer in a replication topology.

If replicaSubEntry is defined, then the respective server ID provided with the attribute ibm-replicaServerId becomes supplier or consumer, which depends on the attribute value of ibm-replicationServerIsMaster.

For example:
cn=server1,ibm-replicaGroup=default,o=ibm,c=us
objectclass : top
objectclass : ibm-replicaSubentry
ibm-replicaServerId : Server1
ibm-replicationServerIsMaster : TRUE
cn : server1
Here replicaSubEntry means that the server with the server ID server1 is a supplier server in the replication topology.
cn=server2,ibm-replicaGroup=default,o=ibm,c=us
objectclass : top
objectclass : ibm-replicaSubentry
ibm-replicaServerId : Server2
ibm-replicationServerIsMaster : FALSE
cn : server2

Here replicaSubEntry means that the server with the server ID server2 is a consumer server in the replication topology.

Note: If replicaSubEntry is not present for a server in a replication topology, then it is assumed that the server is a consumer in a replication topology.