HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
You can use the import transaction synchronization facility only when the source and target systems are both Datareplicator.
To use this facility, all of the following conditions must be satisfied:
If you are using any of the following OSs, the target HiRDB's version must be 07-03 or later:
If the system uses HiRDB Datareplicator Extension, data integrity cannot be guaranteed for a global transaction because HiRDB Datareplicator Extension does not support the XA interface.
To use this facility, you must provide a data linkage identifier for each back-end server of the source HiRDB. In this case, the data linkage identifiers must be provided as a synchronous import group. You must also place an event control table (hde_dtbl) at the source back-end servers.
The following figure shows an example of a configuration when the import transaction synchronization facility is used.
Figure 3-40 Example of a configuration when the import transaction synchronization facility is used
A global transaction that is extracted from a single source HiRDB must be received by a single target system. Therefore, the maximum number of back-end servers where a table subject to data linkage is placed is equal to the maximum number of global transactions that can be received by a single target Datareplicator (if the target system is UNIX, the maximum is 128; if it is Windows, the maximum is 63).
A back-end server that is not subject to extraction is not a target of a global transaction. As shown in the figure below, if a synchronous import group includes a data linkage identifier that corresponds to a back-end server that is not subject to extraction, import processing does not progress because the system waits for synchronization.
Figure 3-41 Example of configuration where the system waits for synchronization
When this facility is used, a single target system can receive only one global transaction. A single target system can receive both global and non-global transactions. The following figure shows an example of a configuration.
Figure 3-42 Example of a configuration of source and target systems (1)
A single global transaction can also be sent to multiple target identifiers. You can specify whether a global transaction is to be sent for each target identifier. The following figure shows an example of a configuration.
Figure 3-43 Example of a configuration of source and target systems (2)
As shown in the figure below, a set of target identifiers cannot be distributed to multiple target systems. With this configuration, synchronization is not guaranteed.
Figure 3-44 Example of a configuration that cannot be synchronized
The following table shows the operands that must be specified in order to use the import transaction synchronization facility.
Table 3-19 Operands to be specified in order to use the import transaction synchronization facility
| PP | Definition file | Operand | Description |
|---|---|---|---|
| HiRDB | System common definition | pd_rpl_reflect_mode = uap#1 | Outputs transaction branch information (needed for Datareplicator to achieve this facility) to the system log file. For details, see the manual HiRDB Version 9 System Definition. |
| Datareplicator | Import system definition | syncgroup001#2 | Constitutes a synchronous import group. |
| Transmission environment definition | reflect_mode = uap#3 | Sends transaction branch information to the target Datareplicator. | |
| eventsync | Specifies the number of the synchronous event (that triggers issuance of COMMIT by the synchronous import group). |
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.