Verifying a replication system

You need to verify that the entire replication system is working when you are about to create replication definitions or subscriptions or when you are performing diagnostics on your system. If you encounter errors, verifying your system allows you to rule out the possibility that threads or components are not running or that routes and connections are not properly set up.

To make sure that Replication Server threads are running, you can execute admin who_is_down, which displays only those threads that are not running. Alternatively, execute admin who to display information about all threads. If no threads are down, you can confirm that the replication system is working by checking the following:

  1. Verify that replication system servers and Replication Agents are running and available.

    At the primary site, log in to these servers:

    At replicate sites, log in to these servers:

  2. Use the admin show_connections command at Replication Server to verify that these routes and connections are in place:

  3. Verify the accuracy of entries in the interfaces file.

    When creating subscriptions, be sure an entry for the primary data server exists in the interfaces file for the replicate Replication Server. (If you are using atomic or non-atomic materialization, the replicate Replication Server retrieves initial rows through a direct connection to the primary data server.)

  4. Use the admin who command to verify that these Replication Server threads are running:

    For detailed information about monitoring Replication Server threads, refer to “Displaying replication system thread status”.