Help Q Replication and Event Publishing

WebSphere MQ objects required for bidirectional or peer-to-peer replication (two remote servers)

To replicate transactions in both directions between two servers, you define two sets of the same WebSphere® MQ objects that are required for unidirectional replication. There is one exception: Only one queue manager is required on each system.

For example, assume that you plan to replicate transactions between Server A and Server B in both directions. You create the WebSphere MQ objects that link the Q Capture program at Server A with the Q Apply program at Server B. You also create the WebSphere MQ objects that link the Q Capture program at Server B with the Q Apply program at Server A. Server A and Server B each connect to a single queue manager on the systems where they run.

The following lists show the objects that are required for bidirectional or peer-to-peer replication between two remote servers. Because the queue manager is not part of the replication server but runs on the same system, the objects are grouped by system:

Non-channel objects at System A

Non-channel objects at System B

Channel objects

Channel objects from System A to System B
  • A sender channel that is defined within the queue manager at System A
  • An associated local transmission queue at System A
  • A matching receiver channel that is defined within the queue manager at System B
Channel objects from System B to System A
  • A sender channel that is defined within the queue manager at System B
  • An associated local transmission queue at System B
  • A matching receiver channel that is defined within the queue manager at System A

Figure 1 shows the WebSphere MQ objects that are required for bidirectional or peer-to-peer Q Replication between two remote servers.

Figure 1. WebSphere MQ objects required for bidirectional or peer-to-peer Q Replication between two remote servers.. You must create two sets of the same WebSphere MQ objects that are required to connect a Q Capture program and a Q Apply program in unidirectional Q Replication. One set of objects handles replication in one direction, and the other set of objects handles replication in the opposite direction. Only one queue manager is required at each system.Diagram of WebSphere MQ objects that connect two servers in a bidirectional or peer-to-peer Q Replication setup


Send your feedback | Information roadmap | Replication group on My developerWorks

Update icon Last updated: 2011-10-21