Add a version 7 or later queue manager to existing Version 6 topic spaces
Extend an existing Version 6 publish/subscribe system to interoperate with a version 7 or later queue manager, sharing the same topic spaces.
Before you begin
You have an existing Version 6 publish/subscribe system.
You have installed IBM MQ version 7 or later on a new server and configured a queue manager.
You want to extend your existing Version 6 publish/subscribe system to work with version 7 or later queue managers.
You have decided to stabilize development of the Version 6 publish/subscribe system that uses the queued publish/subscribe interface. You intend to add extensions to the system using the version 7 or later MQI. You have no plans now to rewrite the queued publish/subscribe applications.
You intend to upgrade the Version 6 queue managers to version 7 or later in the future. For now, you are continuing to run the existing queued publish/subscribe applications on the version 7 or later queue managers.
Procedure
- Create one set of sender-receiver channels to connect the version 7 or later queue manager with one of the Version 6 queue managers in both directions.
- Create two transmission queues with the names of the target queue managers. Use queue manager aliases if we cannot use the name of the target queue manager as the transmission queue name for some reason.
- Configure the transmission queues to trigger the sender channels.
- If the Version 6 publish/subscribe system uses streams, add the streams to the version 7 or later queue manager as described in Add a stream.
- Check the version 7 or later queue manager PSMODE is set to ENABLE.
- Alter its PARENT attribute to refer to one of the Version 6 queue managers.
- Check the status of the parent-child relationship between the queue managers is active in both directions.
What to do next
Once we have completed the task, both the Version 6 and version 7 or later queue manager share the same topic spaces. For example, we can do all the following tasks.- Exchange publications and subscriptions between Version 6 and version 7 or later queue managers.
- Run your existing Version 6 publish/subscribe programs on the version 7 or later queue manager.
- View and modify the topic space on either the Version 6 or version 7 or later queue manager.
- Write version 7 or later publish/subscribe applications and run them on the version 7 or later queue manager.
- Create new publications and subscriptions with the version 7 or later applications and exchange them with Version 6 applications.