PreviousNext

Designating a New Master Replica

Sometimes, for configuration management reasons, you may want to designate a different replica as a directory's master replica.

For example, you can specify a new master replica when

· A server system whose clearinghouse contains one or more master replicas will be down for an extended period of time or removed permanently from the network.

· A clearinghouse that stores one or more master replicas will be deleted from the namespace.

· You want to locate a master replica closer to where the majority of updates to the directory originate.

To designate a new master replica, use the dcecp directory modify command.

The following figure illustrates an example replica set. This replica set of the /.:/eng directory consists of three replicas: the master replica, which is stored in clearinghouse /.:/NY1_CH, a read-only replica stored in clearinghouse /.:/NY2_CH, and a read-only replica stored in clearinghouse /.:/Chicago1_CH.


Example Replica Set

The following command designates the read-only replica that is stored in clearinghouse /.:/Chicago1_CH as the directory's new master replica, designates the former master replica (stored in clearinghouse /.:/NY1_CH) as a read-only replica, and leaves the read-only replica stored in clearinghouse /.:/NY2_CH as it is.

dcecp> directory modify /.:/eng -master /.:/Chicago1_CH \
> -readonly {/.:/NY1_CH /.:/NY2_CH}
dcecp>

The following figure shows the result of the preceding command.


Example Replica Set After Master Redesignation