Tests Replication Agent connection configurations and network connectivity.
test_connection [conn_name]
test_connection
This command tests all Replication Agent connections, including the primary data server connection, the primary Replication Server connection, and the RSSD connection (if so configured).
test_connection PDS
This command tests only the Replication Agent connection for the primary data server.
When test_connection is invoked with no option, Replication Agent tests all of its connections by attempting to log in to the corresponding server for each connection, using the connection parameters stored in its configuration file.
When test_connection is invoked with either the RS or PDS keyword, Replication Agent tests the specified connection.
connection type (connectivity driver and protocol) – pds_connection_type
database name – pds_database_name
data server name – pds_server_name
Data source name (ODBC drivers only) – pds_datasource_name
host machine name – pds_host_name
port number – pds_port_number
user login access – pds_password and pds_username
Database name – rssd_database_name (RSSD only)
Replication Server data source (as specified in the Replication Server primary database connection) – rs_source_db and rs_source_ds (Replication Server only)
Host machine name – rs_host_name (and rssd_host_name)
Network packet size – rs_packet_size (Replication Server only)
Port number – rs_port_number (and rssd_port_number)
User login access – rs_password, rs_username (and rssd_password and rssd_username)
Type Connection ---- ---------- PDS succeeded RS succeeded (2 rows affected)
If the connection status is failed, check the Replication Agent system log to determine the cause of the failure.
See the Replication Agent Administration Guide for information about setting up Replication Agent connection configuration parameters.
See Configuration Parameters for information about specific connection configuration parameters.
The test_connection command is valid when the Replication Agent instance is in the Admin, Replicating, or Replication Down states.