Verify the Replication Agent instance

This section describes how to verify a Replication Agent instance, which includes the following sequence of tasks:

  1. Update the Replication Server interfaces file with the Replication Agent location.

  2. Verify the connection to the Replication Agent.

  3. Verify the Replication Agent connection to Oracle.

StepsTo verify the Replication Agent

  1. Using dsedit, update the Replication Server interfaces file to include an entry for the Replication Agent location.

    NoteYou can use any TDS client utility (isql, isqlApp, or SQLAdvantage) that you prefer.

  2. Verify the connection to the Replication Agent:

    1. Open a command window in the $SYBASE directory of your Replication Server installation.

    2. Set the environment variables by sourcing the SYBASE.csh file.

    3. Use the isql utility to log in to Replication Agent:

      isql –Usa –P –Smyra
      

      NoteThe following verification steps are optional because they were done when you verified the resource file.

  3. Verify the Replication Agent connection to Replication Server:

    1. Enter this command:

      test_connection RS
      
      go
      
    2. The following is displayed:

       Type Connection ---- ---------- RS   succeeded(1 row affected)
      
    3. If the result indicates a failure, either the server is not responding or the connection properties (host, port, user, or password) are incorrect.Verify the host and port configuration values, and manually log in to the Replication Server as the configured user to determine which property is incorrectly defined.

      For more information, refer to the Replication Agent Administration Guide, Chapter 2, “Setup and Configuration,” in the section titled, “Testing network connectivity.”

  4. Verify the Replication Agent connection to the primary Oracle database:

    1. Enter this command:

      test_connection PDSgo
      

      This message appears:

      Type Connection ---- ---------- PDS  succeeded(1 row affected)
      
    2. If the result indicates a failure:

      • The server is not responding, or

      • The connection properties; tnsnames.ora connection name is incorrect.

      Check the tnsnames.ora file and tnsnames configuration values, and manually log in to the primary Oracle database as the configured user to find which property is incorrectly defined.

      For more information about connection failures, see the Replication Agent Administration Guide section titled, “Testing network connectivity.”