I need some help on cluster load balancing
Let me first explain how i have setup my cluster.
Two Servers Server1 and Server2
Four Queue Managers - QM1 & QM3 on Server1 and QM2 & QM4 on Server2
Created a cluster first with QM3 & QM4 and both hold full repositories.
Then added QM1 to the cluster from Server1 and QM2 to the cluster from Server2.
Created Identical Queues in both QM1 & QM2.
Copied the client connection table of QM3 which has connection of QM4 to my local client machine.
Now if i try to put messages to the cluster. MQ puts messages only to the queues in QM1, it does not do a round robbin and put messages to the queues in both QM1 & QM2.
I am not sure where i am going wrong , please help.
Joined: 20 May 2001 Posts: 107 Location: Zurich Financial Services
It is possible that the initial qmgr is always able to service the requests and so the round-robin algorithm does not need to kick in. The algorithm does not put one message to each qmgr in turn within the cluster, it continues to send to a qmgr whilst it is able to process the messages effectively. You will start to see sharing under higher volumes or if the initial qmgr goes offline for example.
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
Well does your application close the queue and reopen it ?? Becuase once it has a successful connection it will not switch Queue Managers. Also
Iam not certain but I dont think you can get client applications to use the cluster worload balancing , becuase you etiher have to use the MQSERVER env variabel or if you use the channel table and it has the queue manager name in the channel definitions.
_________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
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