Deployment Example: Single Sign-On, Load Balancing and Failover Using Sun OpenSSO Enterprise 8.0

ProcedureTo Initialize the Replication Agreements

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.


Note –

Initialization is not required on both instances when configuring for MMR.


  1. Log in to the ds–1 host machine as a root user.

  2. Run dsconf show-repl-agmt-status to verify that the replication agreements are not yet initialized.


    # cd /var/opt/mps/serverroot/ds6/bin
    # ./dsconf show-repl-agmt-status -h ds-1.example.com 
     -p 1489 dc=company,dc=com ds-2.example.com:1489
    
    Enter "cn=Directory Manager" password: dsmanager
    
    Configuration Status 		: OK
    Authentication Status		: OK
    Initialization Status		: NOT OK
    
    Status:						: Dest. Not Initialized
  3. Run dsconf init-repl-dest to initialize the replication agreements.


    # ./dsconf init-repl-dest -h ds-1.example.com 
     -p 1489 dc=company,dc=com ds-2.example.com:1489
    
    Enter "cn=Directory Manager" password: dsmanager
    
    Started initialization of "ds-2.example.com:1489"; Aug 25, 2008 3:10:01 PM
    Sent 2 entries.
    Completed initialization of "ds-2.example.com:1489"; Aug 25, 2008 3:10:04 PM
  4. Run dsconf show-repl-agmt-status again to verify that the replication agreements are now initialized.


    # ./dsconf show-repl-agmt-status -h ds-1.example.com 
     -p 1489 dc=company,dc=com ds-2.example.com:1489
    
    Enter "cn=Directory Manager" password: dsmanager
    
    Configuration Status 		: OK
    Authentication Status		: OK
    Initialization Status		: OK
    
    Status:						: Enabled
    Last Update Date				:  Aug 25, 2008 3:10:08 PM