5.24 Replica States

The replica states indicate the current state of the replica. NetWare 4.x and NetWare 5.x, at times, use different states. For more information, see Replica Transition States (NDK: Novell eDirectory Technical Overview).

Flag Name

C Value

Meaning

RS_ON

0

Indicates that the replica is fully functioning and capable of responding to eDirectory requests.

RS_NEW_REPLICA

1

Indicates that a new replica has been added but has not received a full download of information from the master replica if NetWare 4.x or another replica if NetWare 5.x.

RS_DYING_REPLICA

2

Indicates that a replica of the partition is being deleted. In NetWare 4.x, the replica stays in this state until it synchronizes with another replica. In NetWare 5.x, indicates that the request has been received.

RS_LOCKED

3

Indicates that the replica is locked. The move partition operation uses this state to lock the parent partition of the child partition that is moving.

RS_CRT_0

4

Indicates that a partition is receiving a new master replica. This first state indicates that the old master replica has accepted the assignment to be a Read/Write replica.

Used only by NetWare 4.x.

RS_CRT_1

5

Indicates that a Read/Write replica has been accepted as the new master replica and is now in the process of informing the other replicas. Once all replicas have been informed, the replicas will be set to RS_ON.

Used only by NetWare 4.x.

RS_TRANSITION_ON

6

Indicates that a new replica has finished receiving its download from the master replica and is now receiving synchronization updates from the other replicas.

Used only in NetWare 4.x.

RS_DEAD_REPLICA

7

Indicates that the dying replica needs to synchronize with another replica before being converted to an external reference, if a root replica, or to a subordinate reference, if a nonroot replica.

Used only in NetWare 5.x.

RS_BEGIN_ADD

8

Indicates that subordinate references of the new replica are being added.

Used only in NetWare 5.x.

RS_MASTER_START

11

Indicates that a partition is receiving a new master replica. The replica that will be the new master replica is set to this state.

RS_MASTER_DONE

12

Indicates that a partition has a new master replica. When the new master is set to this state, it knows it is now the master and changes its replica type to master and the old master to Read/Write.

RS_FEDERATED

13

Reserved.

RS_SS_0

48

Indicates that a partition is going to split into two partitions. In this state, other replicas of the partition are informed of the pending split operation.

RS_SS_1

49

Indicates that the split partition operation has started. When the split is finished, the state will change to RS_ON.

RS_JS_0

64

Indicates that two partitions are in the process of joining into one partition. In this state, the replicas that are affected are informed of the join operation. The master replica of the parent and child partitions are first set to this state and then all the replicas of the parent and child. New replicas are added where needed.

RS_JS_1

65

Indicates that two partitions are in the process of joining into one partition. This state indicates that the join operation is waiting for the new replicas to synchronize and move to the RS_ON state.

RS_JS_2

66

Indicates that two partitions are in the process of joining into one partition. This state indicates that all the new replicas are in the RS_ON state and that the rest of the work can be completed.

RS_MS_0

80

Indicates that a subtree is being moved to another location in the eDirectory tree. In this state, the replicas that are affected are informed of the move request. The replicas of the new parent partition are first set to this state, and then the replicas of the subtree that is moving.

In NetWare 4, all move operations are completed in this state. In NetWare 5, once all replicas have been informed of the move request, the replicas move to the next state.

RS_MS_1

81

Indicates that a subtree is being moved to another location in the NDS tree and that all affected replicas have been notified. The replicas remain in this state until the move operations are completed.

Used only in NetWare 5.x.