-ping

Description

Verifies that the connection configuration information is configured successfully by pinging the connection.

Syntax

ratool -ping <connection_name> <ping_type>

Parameters

connection_name

The name of the connection for which you are verifying the configuration information.

ping_type

The type of connection you are pinging to verify connection configuration information. Valid values for ping_type are:

Examples

Example 1

To verify both the inbound and outbound configuration for the connection RepToJMS by pinging both inbound and outbound routes:

ratool -ping RepToJMS
ratool -ping RepToJMS ALL

Example 2

To verify the inbound configuration for connection RepToJMS by pinging the inbound device (for example, server or messaging system):

ratool -ping RepToJMS INBOUND

Example 3

To verify the outbound configuration for connection to RepToJMS by pinging the outbound destination device (for example, server or messaging system):

ratool -ping RepToJMS OUTBOUND

Example 4

To verify the replication configuration for a connection to RepToJMS by pinging Replication Server:

ratool -ping RepToJMS REPLICATION

Example 5

To verify the JMS configuration for connection to RepToJMS by pinging the JMS messaging system:

ratool -ping RepToJMS JMS

Usage

If you do not specify ping_type, the value defaults to ALL.