Previous Topic: Manually Resynchronize a DSA in a Multiwrite System

Next Topic: DISP Replication

Test Whether Two Datastores Are the Same

You may want to test whether two datastores are the same. For example, you might suspect that the synchronization has failed between two datastores.

To test whether two datastores are the same

  1. For each datastore, shut down its DSA.

    The datastores do not change while you extract the data from them.

  2. Use dxdumpdb to dump the datastores to LDIF files, as follows:
    dxdumpdb -f old.ldif old_dsa
    dxdumpdb -f latest.ldif latest_dsa
    

    Note: If you do not intend to resynchronize the datastores using these snapshots, then you can restart the DSAs now.

  3. Use ldifsort to sort the LDIF files, as follows:
    ldifsort old.ldif old_sorted.ldif
    ldifsort latest.ldif latest_sorted.ldif
    

    You now have two LDIF files that can be compared.

  4. Use ldifdelta to compare the two LDIF files, as follows:
    ldifdelta old_sorted.ldif latest_sorted.ldif
    


Copyright © 2009 CA. All rights reserved. Email CA about this topic