Table of Contents
This chapter describes the overview and configuration of MultipleRM.
According to basic Tmax policy, XA servers in a server group can only access the single RM, which is set for the server group, to process a transaction. However, if one process uses multiple RMs, it is impossible to handle it with a single transaction. Extended server library functions are required to enable a transaction to use multiple RMs or instances of an RM. The existing TCS and UCS server libraries can be used to support MultipleRM.
This section describes the transaction processing on XA server and MultipleRM application server.
The following shows transaction processing on an XA server.
The XA server executes xa_open at startup, and xa_start → 'RM Process' → xa_end when requesting a service. The xa_prepare and xa_commit are executed by the TMS of the server group of the XA server.
The XA server, which was developed using MultipleRM configuration, executes a transaction by accessing multiple RMs.
The following shows the transaction processing on a MultipleRM application server.
The MultipleRM application server executes xa_open on all registered RMs at startup. When requesting a service, CLH issues XIDs according to the number of RMs and the server executes xa_start on all RMs using the XIDs. When terminating the service, the MultipleRM application server executes xa_end on all RMs. Any other tasks are processed in the existing way through the registered TMS that executes xa_prepare and xa_commit.
The following are MultipleRM limitations.
Does not support COUSIN configuration.
The following functions are not supported.
tpsuspendtx
tpresumetx
Only Oracle and Tibero databases are supported.