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 » General IBM MQ Support » Client Channel Definition Table (CCDT) for QMgr Group

Post new topic  Reply to topic
 Client Channel Definition Table (CCDT) for QMgr Group « View previous topic :: View next topic » 
Author Message
HARIVERA
PostPosted: Mon Dec 30, 2013 11:51 am    Post subject: Client Channel Definition Table (CCDT) for QMgr Group Reply with quote

Newbie

Joined: 20 Aug 2013
Posts: 5

I need a little help in defining the proper CLNTWGHT & AFFINITY values on the CCDT files for multiple projects.
For starters, we are using WAS servers, and in some cases multiple JVM’s per WAS server; the idea is to both provide load-balancing and fail-over capability.
So what I have done is to created multiple CCDT files one each from affected QMgrs each containing all CLNTCONN entries. So each QMgr (i.e. three) is defined with one SVRCONN channel and three CLNTCONN channel, each CCDT file therefore contains all three CLNTCONN definitions.
So that WAS1 using CCDT1 connected primary to QM1, and WAS2 using CCDT2 connects to QM2, and so on. In the event of one QMgr failure, the three WAS server will connect to the surviving QMgrs. Simple, Yes?
The problem is how to correctly define the two parameters (CLNTWGHT & AFFINITY) so that WAS1 will only use QM1 as its primary connection and WAS2 use QM2 as its primary connection. Since by default, (CLNTWGHT=0 & AFFINITY=PERFERRED) will force all three WAS to connect to QM1 first!
So what I have determined, with limited tested, is the following setting:
QM1 (CCDT1):
QM1.CLNT.CHL
QMNAME(QMGROUP)
CLNTWGHT(99) & AFFINITY(NONE)
QM2.CLNT.CHL
QMNAME(QMGROUP)
CLNTWGHT(1) & AFFINITY(NONE)
QM3.CLNT.CHL
QMNAME(QMGROUP)
CLNTWGHT(1) & AFFINITY(NONE)

QM2 (CCDT2):
QM1.CLNT.CHL
QMNAME(QMGROUP)
CLNTWGHT(1) & AFFINITY(NONE)
QM2.CLNT.CHL
QMNAME(QMGROUP)
CLNTWGHT(99) & AFFINITY(PERFERRED)
QM3.CLNT.CHL
QMNAME(QMGROUP)
CLNTWGHT(1) & AFFINITY(NONE)
QM3 (CCDT3):
QM1.CLNT.CHL
QMNAME(QMGROUP)
CLNTWGHT(1) & AFFINITY(NONE)
QM2.CLNT.CHL
QMNAME(QMGROUP)
CLNTWGHT(1) & AFFINITY(NONE)
QM3.CLNT.CHL
QMNAME(QMGROUP)
CLNTWGHT(99) & AFFINITY(PERFERRED)

Again, the premise being that WAS will control via Group Manager (*QMGROUP) QCF setup and pointing to the associated CCDT file (i.e. WAS1 using CCDT1) will always connect to the primary QMgr (i.e. QM1).

I hope that helps….
Back to top
View user's profile Send private message
brianb
PostPosted: Mon Dec 30, 2013 2:43 pm    Post subject: CCDT Reply with quote

Voyager

Joined: 12 May 2010
Posts: 85

Hi

I believe the latest fix pack has a fix for CCDT that will force it to use the the first entry in the conname for comma separated entries. In previous versions the CCDT selected alphabetically

Versions etc.. but may help

http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg1IV38739
And a great resource
http://www-01.ibm.com/support/docview.wss?uid=swg27020862
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 » General IBM MQ Support » Client Channel Definition Table (CCDT) for QMgr Group
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.