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 » Clustering » QM as a member of two clusters

Post new topic  Reply to topic
 QM as a member of two clusters « View previous topic :: View next topic » 
Author Message
kinf1
PostPosted: Tue Apr 04, 2006 7:00 pm    Post subject: QM as a member of two clusters Reply with quote

Novice

Joined: 15 Mar 2006
Posts: 15

Hi,

How can I make a queue manager a member of two clusters? And,how can i communicate between the two clusters with the help of the common queue manager.

Thanks.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 04, 2006 7:33 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Read the clustering manual and all your questions will be answered. !!
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Nizam
PostPosted: Tue Apr 04, 2006 7:59 pm    Post subject: Reply with quote

Disciple

Joined: 10 Feb 2004
Posts: 160

Look into the CLUSNL attribute of the queue manager.
_________________
Nyzam
IBM Cert. Solution Designer - WBIMB V5
IBM Cert. Administrator - WBIMB V5
IBM Cert. Administrator - WebSphere MQ V5.3
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Wed Apr 19, 2006 11:48 pm    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

to intercommunicate between two clusters (let's say CL1 and CL2) you need the following:

a q definition (e. g. alias q) which is a member of CL1 and points to a target queue in CL2

another q definition (e. g. alias q) which is a member of CL2 and points to a target queue in CL1

Sample:

qmgr QM1 (member of CL1)
qmgr QM2 (member of CL2)
gateway qmgr QMGW (member of CL1 and CL2)

local q Q1 on QM1 (member of CL1)
local q Q2 on QM2 (member of CL2)

alias q Q12 on QMGW (member of CL1) with base q Q2
alias q Q21 on QMGW (member of CL2) with base q Q1

Remember, the queues Q12 and Q21 must be defined with DEFBIND(NOTFIXED) (otherwise the target will be only resolved to qs local to qmgr QMGW).
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Ivans
PostPosted: Thu Apr 20, 2006 12:27 am    Post subject: Reply with quote

Apprentice

Joined: 03 Jan 2006
Posts: 48
Location: Hursley

Quote:
Look into the CLUSNL attribute of the queue manager.


A queue manager can also be a member of more than one cluster without using CLUSNL, by using separate channels for each cluster.

Regards,
Ian
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Thu Apr 20, 2006 12:36 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

Ivans wrote:
Quote:
Look into the CLUSNL attribute of the queue manager.


A queue manager can also be a member of more than one cluster without using CLUSNL, by using separate channels for each cluster.

Regards,
Ian

And if the CLUSNL attribute is used, you need it to set up for the channel - not for the QMgr (QMgrs only have a REPOSNL attribute, if they are repositories for more than one cluster).
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
EddieA
PostPosted: Thu Apr 20, 2006 7:16 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
Remember, the queues Q12 and Q21 must be defined with DEFBIND(NOTFIXED) (otherwise the target will be only resolved to qs local to qmgr QMGW).

The choice of DEFBIND will depend on the application architecture. It does not have to be NOTFIXED.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Tue Apr 25, 2006 6:55 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

EddieA wrote:
Quote:
Remember, the queues Q12 and Q21 must be defined with DEFBIND(NOTFIXED) (otherwise the target will be only resolved to qs local to qmgr QMGW).

The choice of DEFBIND will depend on the application architecture. It does not have to be NOTFIXED.

Cheers,


EddieA,

in the scenario I described above it must be defined with DEFBIND(NOTFIXED)! Otherwise the alias queues Q12 and Q21 would not resolve to the queues Q1 and Q2 !

This is because the queues are not local to the QMgr QMGW (where the queues Q12 and Q21 reside).

You find the description in the manual "Queue Manager Clusters", chapter 4 "How queue manager clusters work" and it does not depend on the application's architecture (in this case):

Quote:
When you open a queue you need to set DEFBIND to either (NOTFIXED) or
(QDEF) because if it is left as the default (OPEN) the queue manager will resolve
the alias definition to the bridge queue manager that hosts it, and the bridge will
not forward the message on.

_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » QM as a member of two clusters
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.