Author |
Message
|
mca |
Posted: Sun Apr 01, 2018 6:18 pm Post subject: Connecting to multiple MQ Queue Managers using CCDT |
|
|
Disciple
Joined: 09 Mar 2005 Posts: 196
|
We have a new project requirement for the JMS application to connect to multiple Queue Managers (two QMs) to provide load balancing and high availability. We tried putting F5 load balancer in front of MQ, but that did not solve the purpose. We are asked to setup CCDT.
We have two Queue managers hosted on different Linux servers containing the SVRCONN channels that the JMS application on another Linux server is connecting to.
The JMS application team is asking us to copy the CCDT file to their client machine location. But we have two CCDT files from two separate Queue Managers. Upon doing some reading last few days, realized the way to address this is to create Queue Manager Group but the documentation is not basic enough for me to understand how to do this.
Can someone help me out by providing solution on how to do this (provide application team CCDT file info containing two QM connections) or any detailed documentation helps. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Apr 02, 2018 4:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The documentation is in the manual.
Basically you define 2 svrconn channels (with unique names), one on each qmgr. You then define the corresponding clntconn channel and give both channels the same qmname. You connect using the ccdt and '*qmname'.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mca |
Posted: Mon Apr 02, 2018 7:53 am Post subject: |
|
|
Disciple
Joined: 09 Mar 2005 Posts: 196
|
The documentation is confusing but your reply sounds simple and promising.
I have two Queue Managers defined that the JMS application connects using bindings...
OMSQM1
OMSQM2
Defined one SVRCONN on each Queue Manager
SVRCONN1 on OMSQM1
SVRCONN2 on OMSQM2
I am lost after this... |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Apr 03, 2018 8:20 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
mca wrote: |
The documentation is confusing but your reply sounds simple and promising.
I have two Queue Managers defined that the JMS application connects using bindings...
OMSQM1
OMSQM2
Defined one SVRCONN on each Queue Manager
SVRCONN1 on OMSQM1
SVRCONN2 on OMSQM2
I am lost after this... |
Now define your clntconn channels (either on the same qmgr or without a qmgr just referencing the CCDT)
One clntconn channel for SVRCONN1 with CONNAME(xxx) QMNAME OMSQM
One clntconn channel for SVRCONN2 with CONNAME(yyy) QMNAME OMSQM
These will go into your CCDT.
Connect using the CCDT URL and *OMSQM as queue manager name.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
MQMB&WAS |
Posted: Tue Apr 10, 2018 10:12 am Post subject: |
|
|
Centurion
Joined: 12 Jun 2016 Posts: 130
|
With this configuration, does the app connect to the 2 qmgrs concurrently? or to only 1 qmgr based on availability ? |
|
Back to top |
|
 |
exerk |
Posted: Tue Apr 10, 2018 11:26 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
THIS ARTICLE expands on fjb_saper's answer, as does THIS ONE. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
|