Author |
Message
|
jim |
Posted: Mon Sep 22, 2014 10:37 am Post subject: CLUSNL |
|
|
Voyager
Joined: 26 Nov 2013 Posts: 94
|
Can we use cluster namelist to add qmgr as partial repos.
Could you please suggest on this below setup
QM1 & QM2----->Full repos TESTCLUS
QM3 & QM4------>Full repos TESTCLUS2
QM5-----> partial namelist(TCLUS) name(TESTCLUS,TESTCLUS2) |
|
Back to top |
|
 |
Vitor |
Posted: Mon Sep 22, 2014 10:51 am Post subject: Re: CLUSNL |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jim wrote: |
Can we use cluster namelist to add qmgr as partial repos.
|
You think there's another reason IBM included the parameter on the channel definition?
Beware of overlapping clusters. While perfectly feasible, they can cause hair loss (through it being ripped out during troubleshooting), premature aging, sleepleness and psychological issues. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Sep 22, 2014 10:53 am Post subject: Re: CLUSNL |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
jim wrote: |
Can we use cluster namelist to add qmgr as partial repos.
Could you please suggest on this below setup
QM1 & QM2----->Full repos TESTCLUS
QM3 & QM4------>Full repos TESTCLUS2
QM5-----> partial namelist(TCLUS) name(TESTCLUS,TESTCLUS2) |
No. A qmgr becomes a partial repository (PR) when an object (queue, channel, etc.) is defined with the CLUSTER() attribute names the cluster in which the object is to be known. _________________ 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 |
|
 |
Vitor |
Posted: Mon Sep 22, 2014 11:02 am Post subject: Re: CLUSNL |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bruce2359 wrote: |
jim wrote: |
Can we use cluster namelist to add qmgr as partial repos.
Could you please suggest on this below setup
QM1 & QM2----->Full repos TESTCLUS
QM3 & QM4------>Full repos TESTCLUS2
QM5-----> partial namelist(TCLUS) name(TESTCLUS,TESTCLUS2) |
No. A qmgr becomes a partial repository (PR) when an object (queue, channel, etc.) is defined with the CLUSTER() attribute names the cluster in which the object is to be known. |
or the CLUSNL parameter which is an option on both queues and channels _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Sep 22, 2014 11:04 am Post subject: Re: CLUSNL |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
Quote: |
A qmgr becomes a partial repository (PR) when an object (queue, channel, etc.) is defined with the CLUSTER() attribute names the cluster in which the object is to be known. |
or the CLUSNL parameter which is an option on both queues and channels |
None of which has anything to do with the CLUSTER or CLUSNL properties of the QMGR object itself. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Sep 22, 2014 11:26 am Post subject: Re: CLUSNL |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Vitor wrote: |
Quote: |
A qmgr becomes a partial repository (PR) when an object (queue, channel, etc.) is defined with the CLUSTER() attribute names the cluster in which the object is to be known. |
or the CLUSNL parameter which is an option on both queues and channels |
None of which has anything to do with the CLUSTER or CLUSNL properties of the QMGR object itself. |
I never said they did. I was pointing out that both the CLUSTER and CLUSNL parameters are available on queues and channels, as a refutation of our worthy associate's claim that you needed to use the CLUSTER attribute on a queue or a channel to make it a PR; you can use the CLUSNL attribute to make a queue manager and it's objects a PR in multiple clusters.
I also (in my original reply) expressed my disquiet that this should be done.
I have not at any point in this thread referrenced the CLUSTER or CLUSNL attributes at the queue manager level (which would make the queue manager an FR not a PR) nor do I believe the OP is doing so. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Sep 22, 2014 11:47 am Post subject: Re: CLUSNL |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
I have not at any point in this thread referrenced the CLUSTER or CLUSNL attributes at the queue manager level (which would make the queue manager an FR not a PR) nor do I believe the OP is doing so. |
The OP has mentioned nothing other than qmgrs. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Sep 22, 2014 11:51 am Post subject: Re: CLUSNL |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
The OP has mentioned nothing other than qmgrs. |
jim wrote: |
add qmgr as partial repos |
How do you add a queue manager as a partial repository except by creating a cluster sender and a cluster receiver channel? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Sep 22, 2014 12:04 pm Post subject: Re: CLUSNL |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
mqjeff wrote: |
The OP has mentioned nothing other than qmgrs. |
jim wrote: |
add qmgr as partial repos |
How do you add a queue manager as a partial repository except by creating a cluster sender and a cluster receiver channel? |
I couldn't speculate on what the OP believes. I can only work with what's been stated. |
|
Back to top |
|
 |
jim |
Posted: Mon Sep 22, 2014 6:41 pm Post subject: Re: CLUSNL |
|
|
Voyager
Joined: 26 Nov 2013 Posts: 94
|
mqjeff wrote: |
Vitor wrote: |
mqjeff wrote: |
The OP has mentioned nothing other than qmgrs. |
jim wrote: |
add qmgr as partial repos |
How do you add a queue manager as a partial repository except by creating a cluster sender and a cluster receiver channel? |
I couldn't speculate on what the OP believes. I can only work with what's been stated. |
Yes .I have create the channel like this
DEFINE CHL(TO.QM5) CHLTYPE(CLUSRCVR) CONNAME('LOCALHOST(3560)') CLUSNL(TCLUS)
DEFINE CHL(TO.QM2) CHLTYPE(CLUSSDR) CONNAME('LOCALHOST(3557)') CLUSNL(TCLUS) |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Sep 22, 2014 9:00 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Are the channels in RUNNING state? _________________ 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 |
|
 |
exerk |
Posted: Tue Sep 23, 2014 3:35 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
What are the values of CLUSNL(TCLUS)?
Best practice (as far as I am concerned) is to have separate CLUSSDR/CLUSRCVR channels per cluster than to name-list one channel in multiple clusters - it makes fault diagnosis a lot easier, and prevents you getting tied up in knots when trying to determine message flow routes when you also have a queue shared in multiple clusters. _________________ 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 |
|
 |
hughson |
Posted: Tue Sep 23, 2014 3:38 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
exerk wrote: |
What are the values of CLUSNL(TCLUS)? |
He does mention that in the question to be fair.
jim wrote: |
namelist(TCLUS) name(TESTCLUS,TESTCLUS2) |
However, I agree with the sentiment of having separate channels, one in each cluster. It makes everything easier, starting, stopping channels, telling what's gone wrong when something stops, etc.
Cheers
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
exerk |
Posted: Tue Sep 23, 2014 4:24 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
hughson wrote: |
exerk wrote: |
What are the values of CLUSNL(TCLUS)? |
He does mention that in the question to be fair.
jim wrote: |
namelist(TCLUS) name(TESTCLUS,TESTCLUS2) |
|
And yet another classic 'doh!' moment from me...  _________________ 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 |
|
 |
jim |
Posted: Tue Sep 23, 2014 7:40 am Post subject: |
|
|
Voyager
Joined: 26 Nov 2013 Posts: 94
|
bruce2359 wrote: |
Are the channels in RUNNING state? |
Nope ..The channel are not running...
I know that we can add the qmgr in partial repos by adding the channel to full qmgr.
My doubt if we define the cluster namelist object and I need to keep the qmgr in partial repository mean i will not alter the qmgr reposnl attribute. for this like clustering the cluster namelist should be full repository
pls advice |
|
Back to top |
|
 |
|