Pinging the Resource Manager (xa-ping)

The CRCN transaction invokes a new entry point, xa_ping, in the RM switch modules. This entry point executes a simple request to the target resource manager to check the connection state.

Ensure you have an up-to-date version of the switch module for which the ping entry is enabled.

The following table shows the functions/APIs invoked for the different resource managers:

Important: You must ensure that the resource manager allows execution of the APIs listed.
Resource manager Probe APIs
Oracle OCIPing
IBM DB2 SQLGetConnectAttr
Microsoft SQL Server SQLGetConnectAttr
IBM MQSeries MQ-open with options with option inquire on object type queue manager, and MQ-close
OCI OCIPing
ODBC SQLGetConnectAttr
PostgreSQL SQLGetConnectAttr