test_connection

Description

Tests Replication Agent connection configurations and network connectivity.

Syntax

test_connection [conn_name]

Note(For Oracle only) When the Replication Agent is configured to connect to ASM (an asm_tns_connection is configured with a non-null value that is not the default value), test_connection includes an additional line of output that describes the version of ASM being connected to. When asm_tns_connection is not configured, no ASM entry is listed in test_connection output.

Parameters

conn_name

The keyword for a Replication Agent connection to be tested. Valid keywords are:

  • PDS – primary data server

  • RS – primary Replication Server (and RSSD, if so configured)

NoteIf the value of the use_rssd configuration parameter is true, the test_connection command tests Replication Agent connectivity to the RSSD when it tests connectivity to the Replication Server. If the value of the use_rssd configuration parameter is false, the test_connection command does not test Replication Agent connectivity to the RSSD.

Examples

Example 1

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).

Example 2

test_connection PDS

This command tests only the Replication Agent connection for the primary data server.

Usage

See also

ra_config, ra_statistics, ra_status