Author |
Message
|
jeevan |
Posted: Sun Aug 20, 2006 3:29 pm Post subject: Connecting two cluster |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
I have defined two clusters, CLUS1 and CLUS2. qm2 belongs to both clusters. I have defined all channel and they are running perfectly. In qm2, i have created a namelist which contains both repos name. I have defined one local queue in qm2, using the namelist just defined. This queue should appear in both qm1 and qm3. It appears in qm1 but does not appear in mq3.
I rechecked every definitions. I double checked the channel they are running ok. What could go wrong? |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Aug 20, 2006 6:52 pm Post subject: Re: Connecting two cluster |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jeevan wrote: |
I have defined two clusters, CLUS1 and CLUS2. qm2 belongs to both clusters. I have defined all channel and they are running perfectly. In qm2, i have created a namelist which contains both repos name. I have defined one local queue in qm2, using the namelist just defined. This queue should appear in both qm1 and qm3. It appears in qm1 but does not appear in mq3.
I rechecked every definitions. I double checked the channel they are running ok. What could go wrong? |
It won't show in mq3 if it is not a full repository at least not until it is used  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jeevan |
Posted: Sun Aug 20, 2006 8:31 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
This is how the cluster are defined
ECHO ALTER QMGR REPOS(CLUST1) | RUNMQSC QM1
ECHO ALTER QMGR REPOS(CLUST1) | RUNMQSC QM2
ECHO ALTER QMGR REPOS(CLUST2) | RUNMQSC QM2
ECHO ALTER QMGR REPOS(CLUST2) | RUNMQSC QM3
This is the definition of the queue
ECHO define NAMELIST(CLUST1.CLUS2) NAMES( CLUST1, CLUST2) REPLACE | RUNMQSC QM2
ECHO define ql(Q2.COMMON) CLUSnl(CLUST1.CLUST2) REPLACE | RUNMQSC QM2
The Q2.COMMON queue is visible in QM1 but not in QM3. Why so?
Note: Required channels and listeners are defined and are running perfectly.
If it appears in QM1 why should not it appear in QM3?
thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Aug 21, 2006 1:25 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you want QM2 to be a repository for both clusters, you need to use the cluster namelist there, too. Right now QM2 is only a repository for CLUST2.
Also, you need to make sure that you either have two sets of cluster channels on QM2 for each cluster, or again you have set the namelist on the cluster channels. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jeevan |
Posted: Mon Aug 21, 2006 4:38 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Both QM1 and QM3 have clussdr to QM2. QM2 has a clusrcvr channel. Does no this suffice?
or do I need to use clusnl in defining the receiver channel? |
|
Back to top |
|
 |
Vitor |
Posted: Mon Aug 21, 2006 4:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jefflowrey wrote: |
Also, you need to make sure that you either have two sets of cluster channels on QM2 for each cluster, or again you have set the namelist on the cluster channels. |
_________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Aug 21, 2006 6:47 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
To be a little more clear, I mean you need one set of cluster channels for each cluster that QM2 belongs to.
Or to set the namelist in the clusnl parm of the clusrcvr. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wbimb |
Posted: Sun Aug 27, 2006 10:03 pm Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
Jeevan: I tried the same with cluster
I have 5 QMGRS : A, B, C, D, E
I have made 2 clusters: CLUS1 and CLUS2
A, B and D are part of CLUS1 and C, D are part of CLUS2
Then i created a namelist(ClusterNL) in QMGR D with NAMES as CLUS1,CLUS2
I created a local Q in QMGR D : Q.common with shared in CLUSNL.
I can the see the Q defination in A and C...but not in B....WHY THAT |
|
Back to top |
|
 |
|