Bridge
QMgrs were the tricky part of the Cluster Design class.
:-)
Assume
you are sending messages from QMgrA to Q1 in cluster12. QMgrB does not
have to be a full repository for either cluster (although it helps)
and should not have any instances of the Q1. You place a QMgr alias
on QMgrB with a name of your choosing - we'll use TO.CLUSTER12 as the alias for
this example. Remember, the QMgr alias is a QREMOTE. In this case,
it is a QREMOTE with no RNAME or RQMNAME and is shared in clusterAB
only.
On
QMgrA you open Q1 with TO.CLUSTER12 as the QMgr name. The
local QMgr finds TO.CLUSTER12 in it's repository and routes the message to
QMgrB. When it gets to QMgrB, name resolution starts all over
again. QMgrB finds the alias TO.CLUSTER12 and substitutes the QMgr
name from the alias. Since the QMgr name is blank, it resolves to the
local QMgr - QMgrB. Locally, QMgrB knows about the queues in cluster12 and
will take action to distribute your messages among them.
This results in any QMgr in clusterAB being able to send to any queue in
cluster12 without knowing or caring about the specific QMgr names in
cluster12. It also results in a single point of failure for routing.
We didn't try this in class but in theory, you could put the TO.CLUSTER12 on
multiple bridge QMgrs that overlapped both clusters.
The
reason I said that it helps for QMgrB to be a full repository is that, in class,
when the message arrived on QMgrB we saw a delay in the subscription of Q1
information from the repository. This resulted in the first message or two
going to the dead queue. Once QMgrB received Q1 data from the repository,
all subsequent messages were delivered properly. Of course, in the real
world you'd test the routing before starting the applications so whether or
not QMgrB is a full repository is more of a security consideration than a
routing issue.
Also,
be sure to test the various BIND options so you understand the behavior at the
bridge QMgr. Since it's the MCA doing the open at this point, it may not
work like you think it should!
--
T.Rob
-----Original Message-----
From: eai grp [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 12:48 AM
To: [EMAIL PROTECTED]
Subject: Overlapping ClustersQueries on overlapping clusters...
If i have qmgrA and qmgrB part of clusterAB with both qmgrA and qmgrB being the repos for clusterAB
and
qmgr1 and qmgr2 part of cluster12 with both qmgr1 and qmgr2 being the repos for cluster12.What do i need to do if i must make a qmgrB a bridge qmgr?
If qmgrB is a bridge qmgr , is it a must to have it as the repos for both cluster12 and clusterAB?From what i read from some of the previous posting on Overlapping Clusters ,
is that it can be used for providing a separate class of service and security.
Is it right to have clusters overlapping because your network is large with over 250 qmgrs
and you do not want it to be single large cluster?
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
