The first step in successfully resolving eDirectory or NDS replica ring inconsistencies is to document the replica rings for each of the servers that hold replicas of the partition. This can be done quickly and accurately using the features available in DSREPAIR.
After documenting the replica rings, examine them to determine if any commonalities exist. For example, each of the servers in the replica ring have FS1 and FS2 present in their rings with the correct replica types.
If no commonalities exist, the non-master replicas will have to be destroyed using DSREPAIR.
After identifying commonalities, begin using the DSREPAIR option Send All Objects to reintegrate the rings.
For example, the replica rings for a partition that exist on four servers are as follows.
Replica Type Held by Server |
Replica Type Held by Server |
Replica Type Held by Server |
Replica Type Held by Server |
|
---|---|---|---|---|
Server Name |
FS1 |
FS2 |
FS3 |
FS4 |
FS1 |
RW |
M |
SR |
|
FS2 |
RW |
M |
RW |
|
FS3 |
RW |
SR |
||
FS4 |
RW |
SR |
M |
This replica ring can be reintegrated by performing a Send All Objects operation from FS1 for the partition in question. After completion, the rings will be as follows:
Replica Type Held by Server |
Replica Type Held by Server |
Replica Type Held by Server |
Replica Type Held by Server |
|
---|---|---|---|---|
Server Name |
FS1 |
FS2 |
FS3 |
FS4 |
FS1 |
RW |
M |
SR |
|
FS2 |
RW |
M |
SR |
RW |
FS3 |
RW |
M |
SR |
|
FS4 |
|
SR |
M |
Next, you need to perform a Send All Objects operation for the same partition from FS2. After completion, the rings will be as follows:
Replica Type Held by Server |
Replica Type Held by Server |
Replica Type Held by Server |
Replica Type Held by Server |
|
---|---|---|---|---|
Server Name |
FS1 |
FS2 |
FS3 |
FS4 |
FS1 |
RW |
M |
SR |
RW |
FS2 |
RW |
M |
SR |
RW |
FS3 |
RW |
M |
SR |
RW |
FS4 |
RW |
M |
SR |
RW |
Finally, you can resolve the duplicate masters using DSREPAIR. Run the Designate a New Master option on FS4 to designate FS1 as the new master. This will reissue new timestamps for the Replica attribute values used to determine the replica ring. These new values will overwrite the existing values. After completion, the rings will be as follows:
Replica Type Held by Server |
Replica Type Held by Server |
Replica Type Held by Server |
Replica Type Held by Server |
|
---|---|---|---|---|
Server Name |
FS1 |
FS2 |
FS3 |
FS4 |
FS1 |
M |
RW |
SR |
RW |
FS2 |
M |
RW |
SR |
RW |
FS3 |
M |
RW |
SR |
RW |
FS4 |
M |
RW |
SR |
RW |