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 Installation/Configuration Support » How to connect a client application to multiple servers?

Post new topic  Reply to topic
 How to connect a client application to multiple servers? « View previous topic :: View next topic » 
Author Message
hooman24
PostPosted: Sun Jul 30, 2017 10:14 am    Post subject: How to connect a client application to multiple servers? Reply with quote

Apprentice

Joined: 09 Aug 2014
Posts: 25

We are going to connect a client application(using MQ Client) to multiple MQ servers. As I understand we should use CCDT for this purpose.
My problem is how should I create CCDT file. since we have multiple MQ servers if I use RUNMQSC and DEF CLNTCONN on one server only it will create a single file for just that MQ Server And It seems that CCDT file is a binary file that could not be edited so that I can add other channel definitions for other MQ servers.
My question is how should I create CCDT file that contains all MQ server channel definitions.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Jul 30, 2017 2:38 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9392
Location: US: west coast, almost. Otherwise, enroute.

On a client, use runmqsc -n option to create and maintain a ccdt on that client.

Some IT shops dedicate qmgr instance solely to create ccdt's. The admin can then rename the ccdt, and export it to a specific client or clients. This is my favorite ccdt admin method.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Sun Jul 30, 2017 4:08 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2491
Location: Melbourne, Australia

bruce2359 wrote:
On a client, use runmqsc -n option to create and maintain a ccdt on that client.

Some IT shops dedicate qmgr instance solely to create ccdt's. The admin can then rename the ccdt, and export it to a specific client or clients. This is my favorite ccdt admin method.

We use dedicated temporary qmgrs. The qmgr is created & started, define channel commands are run, take a copy of CCDT file (/var/mqm/qmgrs/QMGRNAME/@ipcc/AMQCLCHL.TAB) to a name based on the app, then stop & delete the qmgr. It only takes a few seconds. There are programs available that allow CCDTs to be created and edited, but we've stuck with this legacy method that works out of the box.
_________________
Glenn
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Sun Jul 30, 2017 4:41 pm    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

hooman24,

Just to be clear, in case the previous answers still left some doubt. When you define a CCDT on a Queue Manager there is no restriction that all created CLNTCONN definitions must point to the Queue Manager you are making the definition on. So, on QMA you can define CLNTCONN channels that point to QMB, QMC, QMD etc. Clearly any SVRCONN channels you define must belong to that Queue Manager but not CLNTCONNs.

The only other thing to be aware of is to define your CLNTCONNs on a Queue Manager that is not newer than your client machines.

Cheers,

Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
hooman24
PostPosted: Sun Jul 30, 2017 9:12 pm    Post subject: Reply with quote

Apprentice

Joined: 09 Aug 2014
Posts: 25

Thanks for all of the replies. REALLY helpful.
Back to top
View user's profile Send private message
rammer
PostPosted: Mon Jul 31, 2017 12:07 am    Post subject: Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

PaulClarke wrote:


The only other thing to be aware of is to define your CLNTCONNs on a Queue Manager that is not newer than your client machines.
Paul.


Morning, Fully understand the statement but in real life is that practical?

Its possible many people are running MQ 8 for example and have client connections connecting in from old versions of Client. In this case is there a compatibility option for older versions of clients?

You can see the issue that Central System upgrade MQ Server but clients and customers are unwilling to pay for upgrade of client software and testing etc?

Thanks in advance
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Jul 31, 2017 12:16 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Support pac MO72 has an option to generate the CCDT at a particular level such as v6, or v7.

This might serve as a means to generate versions CCDTs for older clients.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Jul 31, 2017 3:07 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Additionally, there is THIS TECHNOTE, an abstract of which states:

Update on July 2016:
There are 2 APARs that allow OLDER MQ clients to use NEWER CCDT files!
These APARs relax the restriction by allowing newer CCDTs to be used on older clients but with the caveat that the older client cannot make use of any of the newer channel attributes. These attributes will assume their default values when the CCDT is negotiated with the queue manager.
_________________
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
mqjeff
PostPosted: Mon Aug 07, 2017 7:09 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

... what do you mean by "connect to multiple MQ servers"?

Do you mean "only one at a time, but maybe a different one at different times" ?

Or do you mean "many at the same time"?
_________________
chmod -R ugo-wx /
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 Installation/Configuration Support » How to connect a client application to multiple servers?
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.