Author |
Message
|
saneben |
Posted: Tue Dec 14, 2021 12:02 pm Post subject: mq sender receiver QM to connect to cluster |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Hi,
Currently we have an MQ server queue manager A which has a connection to another mq server queue manager called B through sender and receiver channel.
There are many applications using mq client which connect to B through sever connection channels.
And the setup is working fine.
Now since we have a lot of load, we have set up of 2 new clustered queue managers like C,D on 2 new boxes
Is it possible to connect the Queue manager A to the above 2 queue managers without joining A to the cluster?
Like using a queue manager alias or ALIAS QUEUE or making some changes in the connname of the sender channel
Please provide link/ url for the above
Regards |
|
Back to top |
|
 |
gbaddeley |
Posted: Tue Dec 14, 2021 2:19 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Quote: |
Is it possible to connect the Queue manager A to the above 2 queue managers without joining A to the cluster? |
Yes, set up sender & receiver channels between A & B and A & C.
sender & receiver channels operate independently of cluster sender and cluster receiver channels.
Is there any reason why A must not be in the cluster? It would make channel administration much easier and it could take advantage of MQ cluster features. _________________ Glenn |
|
Back to top |
|
 |
saneben |
Posted: Tue Dec 14, 2021 10:41 pm Post subject: |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Thanks for your reply.
Is there any reason why A must not be in the cluster? – it is a company policy I can ask them again.
My doubt here is we have only one remote queue called RM1 on QM A, how to connect this RM1 to multiple QM C, D. Which we may be expand later
Regards |
|
Back to top |
|
 |
hughson |
Posted: Wed Dec 15, 2021 2:17 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
saneben wrote: |
My doubt here is we have only one remote queue called RM1 on QM A, how to connect this RM1 to multiple QM C, D. Which we may be expand later |
A QREMOTE definition (outside of using clustering) can only 'point' to one queue manager.
Your question appears to be, "How can I do MQ clustering without using MQ clustering".
saneben wrote: |
Is there any reason why A must not be in the cluster? - it is a company policy I can ask them again. |
Yes, do so, because they appear to want MQ Clustering functionality.
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Dec 15, 2021 2:53 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
hughson wrote: |
saneben wrote: |
My doubt here is we have only one remote queue called RM1 on QM A, how to connect this RM1 to multiple QM C, D. Which we may be expand later |
A QREMOTE definition (outside of using clustering) can only 'point' to one queue manager. |
True, but its XMITQ can route the messages to a qmgr that is in a cluster, and specify RQMNAME as a logical qmgr alias. On the cluster qmgr, the logical qmgr alias QREMOTE object has blank RQMNAME and blank XMITQ. The cluster qmgr will resolve delivery of the message to any qmgr in the cluster that has an instance of the target queue. Therefore load balancing can be done.
We use this feature quite a bit, and call it a "null" qmgr alias. _________________ Glenn |
|
Back to top |
|
 |
hughson |
Posted: Wed Dec 15, 2021 4:09 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
gbaddeley wrote: |
hughson wrote: |
saneben wrote: |
My doubt here is we have only one remote queue called RM1 on QM A, how to connect this RM1 to multiple QM C, D. Which we may be expand later |
A QREMOTE definition (outside of using clustering) can only 'point' to one queue manager. |
True, but its XMITQ can route the messages to a qmgr that is in a cluster, and specify RQMNAME as a logical qmgr alias. On the cluster qmgr, the logical qmgr alias QREMOTE object has blank RQMNAME and blank XMITQ. The cluster qmgr will resolve delivery of the message to any qmgr in the cluster that has an instance of the target queue. Therefore load balancing can be done.
We use this feature quite a bit, and call it a "null" qmgr alias. |
That's why I said "outside of using clustering". The OP wants to do this WITHOUT using clustering. _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
saneben |
Posted: Thu Dec 16, 2021 10:12 pm Post subject: |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Hi,
Can you please explain more about XMITQ can route the messages to a qmgr that is in a cluster, and specify RQMNAME as a logical qmgr alias. On the cluster qmgr, the logical qmgr alias QREMOTE object has blank RQMNAME and blank XMITQ. The cluster qmgr will resolve delivery of the message to any qmgr in the cluster that has an instance of the target queue. Therefore load balancing can be done.
Any URL can I refer.
Regards |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Dec 19, 2021 2:38 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
saneben wrote: |
Hi,
Can you please explain more about XMITQ can route the messages to a qmgr that is in a cluster, and specify RQMNAME as a logical qmgr alias. On the cluster qmgr, the logical qmgr alias QREMOTE object has blank RQMNAME and blank XMITQ. The cluster qmgr will resolve delivery of the message to any qmgr in the cluster that has an instance of the target queue. Therefore load balancing can be done.
Any URL can I refer.
Regards |
https://www.ibm.com/docs/en/ibm-mq/9.2?topic=clusters-configuring-workload-balancing-from-outside-cluster _________________ Glenn |
|
Back to top |
|
 |
|