-ping

Description

Verifies that the connection 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:

  • ALL – inbound and outbound routes.

  • IBMMQ – IBM Websphere MQ messaging system.

  • TIBCO – TIBCO messaging system.

  • JMS – JMS messaging system.

  • DATABASE – server in which the database resides.

  • REPLICATION – Replication Server System Database (RSSD).

  • INBOUND – inbound source configuration (for example, server or messaging system).

  • OUTBOUND – outbound destination configuration (for example, server or messaging system).

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