Posted: Wed Oct 23, 2002 4:22 am Post subject: Want to introduce a cluster to existing MQ network
Novice
Joined: 28 Nov 2001 Posts: 23 Location: EDS, Pittsburgh, PA
I have a question regarding the introduction of clustering to my currently nonclustered MQ network. I want to add 3 qmgrs in a cluster called CLBIZ as follows: Gateway,Biz1, and Biz2. Biz1 and Biz2 are identical qmgrs being used for workload balancing (specifically Biz2 is a backup to Biz1 for fail-over). I need to be able to put messages from qmgrs outside of the cluster to a queue on either Biz1 or Biz2 (depending on the availability
of either). Can I define a queue alias on qmgr Gateway that resolves to
a clustered queue that exists on both Biz1 and Biz2 using the following
definitions:
On Gateway:
Define QA(QABIZ) TARGQ(BIZ)
On Biz1:
Define QL(BIZ) CLUSTER(CLBIZ)
On Biz2:
DEFINE QL(BIZ) CLUSTER(CLBIZ)
The goal is to have qmgrs that are outside of the cluster CLBIZ be able
to direct messages to QABIZ on Gateway using normal distributed-queue messaging and then have clustered qmgr Gateway be able to forward the messages within the cluster to the queue BIZ on either Biz1 or Biz2. _________________ Don Thomas
412-203-3539
I do not see any problem in your configuration. Just make sure that you use defbind(NOTFIXED) on alias queue and use the queue open option MQOO_BIND_AS_Q_DEF.
What we do is define a qmgr definition called "ANY.CLBIZ" on the gateway queue manager. This is a qremote definition without any remote q/qmgr name defined.
On the qmgr outside the cluster, define a qremote that specified the remote qname as "BIZ" and the remote qmgr name as "ANY.CLBIZ" and a transmission queue of the gateway queue manager.
This is explained in the clustering guide under chapter 4.
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