Sun Directory Server 5.2 6-Way MMR – part 6 – Create replication agreements
Up until now, we’ve been preparing each of our instances to participate in MMR; at this point, we create the replication topology and the replication agreements.
Being as each of our 6 instances will be masters, and with Directory Server 5.2, there is a limit of 4 masters in an MMR, a bit of creativity must be employed. Each of the master instances will replicate each of its back-end databases (user/group, o=internet, o=pab, o=piserverdb, o=comms-config and o=netscaperoot) to each of its immediate peer instances, meaning those that are numbered sequentially lower and higher; as well as another instance that is neither sequentially lower or higher.
The replication agreement list is defined below.
ds0 -> ds5 / ds1 / ds3
ds1 -> ds0 / ds2 / ds4
ds2 -> ds1 / ds3 / ds5
ds3 -> ds2 / ds4 / ds0
ds4 -> ds3 / ds5 / ds1
ds5 -> ds4 / ds0 / ds2
So, the instances on the instance ds0 will replicate each of its back-end databases to ds5, ds1 and ds3. Being as each master has only 3 MMR replication agreements per backend, they each believe they are in a 4-way MMR; while in actuality, there are 6 masters serving the data.
For information on how to create the actual replication agreement LDIF; please follow my instructions.




