Posted: Mon Jun 25, 2007 3:15 am Post subject: Connection between client qnd QM in a Cluster
Newbie
Joined: 02 Feb 2007 Posts: 5
Hi all,
I'm new in MQ Clustering and I encoutered a problem with a client connection here is the explanation :
I wan't to make a connection between a client (which is on a WIN server ) and QMgrs ( V 5.3 on unix ) which are located in a cluster.
I have 2 QMgrs QM1 and QM2, on each QMgrs I have the same instance of the Queue QLC. The client have to poll these queues to get messages but i can't do that with the variable MQSERVER ( because I can just define 1 QMgrs ) so here is another solution ?
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
All clients only connect to a single queue manager; clustering doesn't change that. Hence to service both queues you need 2 instances for your application.
The thinking behind this is that clusters are designed for workload balancing, spilting the inbound messages between 1-n queue managers, typically sited on different machines to spread the resource load. There's no point to this if you then read all the messages with a single application instance; you might just as well save some time/resource & use a single queue manager!
Hope this clarifies things. _________________ Honesty is the best policy.
Insanity is the best defence.
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