In this procedure, initialize the configuration data instance on Directory Server 1. The previously created replication agreement will replicate the data to Directory Server 2.
Initialization is not required on both instances when configuring for MMR.
As a root user, log in to the DirectoryServer–1 host machine.
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 DirectoryServer-1.example.com -p 1389 dc=example,dc=com DirectoryServer-2.example.com:1389 Enter "cn=Directory Manager" password: d1rm4n4ger 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 DirectoryServer-1.example.com -p 1389 dc=example,dc=com DirectoryServer-2.example.com:1389 Enter "cn=Directory Manager" password: d1rm4n4ger Sent 1 entries... Sent 2 entries... Completed initialization of "DirectoryServer-2.example.com:1389"; May 15, 2007 1:53:32 PM |
Run dsconf show-repl-agmt-status again to verify that the replication agreements are now initialized.
# ./dsconf show-repl-agmt-status -h DirectoryServer-1.example.com -p 1389 dc=example,dc=com DirectoryServer-2.example.com:1389 Enter "cn=Directory Manager" password: d1rm4n4ger Configuration Status : OK Authentication Status : OK Initialization Status : OK Status: : Enabled Last Update Date : Jul 12, 2007 8:47 PM |
Log out of the DirectoryServer–1 host machine.