5.23 Replica Types

The replica types identify the type of replica and are defined in the REPLICA_TYPE typedef enumeration in the nwdsdefs.h file. Replica type determines the types of client operations that can be performed on the replica.

Flag Name

C Value

Meaning

RT_MASTER

0

Identifies this replica as the master replica of the partition. Entries can be modified; partition operations can be performed.

RT_SECONDARY

1

Identifies this replica as a secondary replica of the partition. Secondary replicas are Read/Write replicas and entries can be modified.

RT_READONLY

2

Identifies the replica as a Read-Only replica. Only the eDirectory synchronization processes can modify the information on this replica.

RT_SUBREF

3

Identifies the replica as a subordinate reference. eDirectory automatically adds these replicas to a server when the server does not contain replicas of all child partitions. Only eDirectory can modify information on this replica.