Use this procedure to initialize the user data instance on Directory Server 1. The previously created agreements will replicate the data to Directory Server 2.
Initialization is not required on both instances when configuring for MMR.
Log in to the ds1.sp-example.com host machine as a root user.
Run dsconf show-repl-agmt-status to verify that the replication agreements have not yet been initialized.
# cd /var/opt/mps/serverroot/ds6/bin # ./dsconf show-repl-agmt-status -h ds1.sp-example.com -p 1489 o=spusers.com ds2.sp-example.com:1489 Enter "cn=Directory Manager" password: dsmanager Configuration Status : OK Authentication Status : OK Initialization Status : NOT OK Status: : Dest. Not Initialized |
Run dsconf init-repl-dest to initialize the replication agreements.
# ./dsconf init-repl-dest -h ds1.sp-example.com -p 1489 o=spusers.com ds2.sp-example.com:1489 Enter "cn=Directory Manager" password: dsmanager Started initialization of "ds2.sp-example.com:1489"; Sep 13, 2008 9:58:08 AM Sent 2 entries. Completed initialization of "ds2.sp-example.com:1489"; Sep 13, 2008 9:58:12 AM |
Run dsconf show-repl-agmt-status again to verify that the replication agreements are now initialized.
# ./dsconf show-repl-agmt-status -h ds1.sp-example.com -p 1489 o=spusers.com ds2.sp-example.com:1489 Enter "cn=Directory Manager" password: dsmanager Configuration Status : OK Authentication Status : OK Initialization Status : OK Status: : Enabled Last Update Date : Sep 13, 2008 9:58:17 AM |