During protocol negotiation, the replication server with the highest WAN Gateway priority (priority 1 indicates the highest priority) automatically assumes the role as the WAN Gateway Server for that particular location. The Gateway Server’s main function is to route update messages from other non-gateway servers at the same location to remote WAN Gateway servers at other locations. At the destination point, the replication server with the WAN Gateway role receives update messages from other WAN gateway servers at other locations and pushes them out to all replication servers at the current location.

This setup ensures that all WAN communication flows through the WAN Gateway Servers.

The following diagram shows a basic connection configuration for updates. All of the replication servers are fully connected to each other for monitoring or server negotiation purposes.
Canvas 1 Layer 1 Identity Data Store A Austin Replication Server 1 Replica 1 Identity Data Store B Austin Replication Server 2 Replica 2 Identity Data Store C Austin Replication Server 3 Replica 3 WAN Gateway Server Identity Data Store D London Replication Server 4 Replica 4 Identity Data Store E London Replication Server 5 Replica 5 Identity Data Store F London Replication Server 6 Replica 6 WAN Gateway Server Identity Data Store H Seoul Replication Server 8 Replica 8 Identity Data Store I Seoul Replication Server 9 Replica 9 Identity Store G Seoul Replication Server 7 Replica 7 WAN Gateway Server Identity Data Store K Budapest Replication Server 11 Replica 11 Identity Data Store L Budapest Replication Server 12 Replica 12 Identity Store J Budapest Replication Server 10 Replica 10 WAN Gateway Server WAN Intra-location

If the WAN Gateway Server is temporarily unavailable because of planned or unplanned downtime, the system dynamically re-routes updates to a newly-designated WAN Gateway Server in the same location. The replication server with the next highest WAN Gateway priority number automatically assumes the WAN Gateway role. For deployments with entry-balancing Directory Proxy Servers, there is one WAN Gateway Server per data set.


By default, all servers are enabled to serve as WAN Gateways and all are set to priority 5, which makes them all equal. After replication has been enabled, you can change the WAN Gateway priority using dsconfig.