Peer-to-peer replication

There can be several servers acting as masters for directory information, with each master responsible for updating other master servers and replica servers. This is referred to as peer replication. You can use the information and example provided here to know more about it.

Peer replication can improve performance, availability, and reliability. Performance is improved by providing a local server to handle updates in a widely distributed network. Availability and reliability are improved by providing a backup master server ready to take over immediately if the primary master fails. Peer master servers replicate all client updates to the replicas and to the other peer masters, but do not replicate updates received from other master servers.
Note: Conflict resolution for add and modify operations in peer-to-peer replication is based on Timestamp. See Replication conflict resolution.
Note: In a Peer-to-peer replication setup with one replica server for each peer-master, if the primary master fails, the proxy server directs the requests to the backup master server. However, the proxy server will not fall back to the primary master until the backup master server fails.
The following figure shows an example of peer-to-peer replication:
Figure 1. Peer-to-peer replication

This figure illustrates a peer replication hierarchy. Two peer servers are shown with data paths to two replica servers.