ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Connecting to multiple MQ Queue Managers using CCDT

Post new topic  Reply to topic
 Connecting to multiple MQ Queue Managers using CCDT « View previous topic :: View next topic » 
Author Message
mca
PostPosted: Sun Apr 01, 2018 6:18 pm    Post subject: Connecting to multiple MQ Queue Managers using CCDT Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
fjb_saper
PostPosted: Mon Apr 02, 2018 4:15 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20695
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
View user's profile Send private message Send e-mail
mca
PostPosted: Mon Apr 02, 2018 7:53 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
fjb_saper
PostPosted: Tue Apr 03, 2018 8:20 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20695
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
View user's profile Send private message Send e-mail
MQMB&WAS
PostPosted: Tue Apr 10, 2018 10:12 am    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Tue Apr 10, 2018 11:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Connecting to multiple MQ Queue Managers using CCDT
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.