|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Identical channels in a cluster |
« View previous topic :: View next topic » |
Author |
Message
|
meaton78 |
Posted: Mon Jun 01, 2009 5:29 am Post subject: Identical channels in a cluster |
|
|
Centurion
Joined: 16 Oct 2008 Posts: 100
|
So last week I did something really stupid...
I needed to update a rarely used Dev box for some testing, so I ran a saveqmgr from a different (non-prod) region and modified the output so I had all of the queue and namelist definitions. However, while doing that, I forgot to remove the channel definitions. I know that this is not the best way to do this, but I was just trying to cheat and get it done fast.
So anyways, my dev box ended up getting added to the cluster for the region that I copied. My question is, is there a reason that MQ allows two queue managers to have the exact same channel definition? Is there any scenario where that would be used? The final result looked like this:
QM(TEST1)
CHANNEL(TEST2) CHLTYPE(CLUSRCVR) CONNAME(TEST2_SERVER(1414)) CLUSNL(NL.CLUSTER)
QM(TEST2)
CHANNEL(TEST2) CHLTYPE(CLUSRCVR) CONNAME(TEST2_SERVER(1414)) CLUSNL(NL.CLUSTER)
I was able to clean up my mess and definitely learned my lesson, but I'm just wondering if there is a good reason why this is allowed. Thanks |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Jun 01, 2009 5:42 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
I was able to clean up my mess and definitely learned my lesson, but I'm just wondering if there is a good reason why this is allowed. |
A lesson well-learned not in PROD.
The only restriction IBM places on identical object name definitions is that you can't have two in the same qmgr. So, no two queues named BOB, no two channels named BOB, and so on.
The why of this is that MQ does not maintain a central repository (clustering or not) anywhere to ensure that two object names don't (or won't at some future date) conflict. IBM doesn't know that you intend one day to merge two qmgrs with identical objects into a cluster. _________________ 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 |
|
 |
meaton78 |
Posted: Mon Jun 01, 2009 5:46 am Post subject: |
|
|
Centurion
Joined: 16 Oct 2008 Posts: 100
|
Thanks Bruce; that makes sense. If anything, it was a great exercise in clustering. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|