|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Cluster problems |
« View previous topic :: View next topic » |
Author |
Message
|
Kjell |
Posted: Mon Mar 25, 2002 1:50 am Post subject: |
|
|
Acolyte
Joined: 26 Feb 2002 Posts: 73
|
Hi
I have two boxes :B1 hosting qmgr QMB1, and B2 hosting qmgr QMB2. I have created cluster CLUSTER1 and incorporated these two qmr:s in the cluster.
I then created a local queue on QMB1. I called it QL.Q1. I made it available in cluster CLUSTER1. I did the same thing on QMB2, implying that I have the queue both as local(attached to CLUSTER1) and as cluster, on both machines.
Now I want above two boxes to receive messages from B3 in a round-robin shape.
So on box B3 I allocate qmgr QMB3 and I have it join cluster CLUSTER1.
What happens now is that in the MQ Explorer under QMB3 the queue QL.Q1 occurs TWICE. One occurence with hosting qmgr QMB1 and one occurence with hosting qmgr QMB2. Is this correct?
My next concern is, how to test the Round-Robin? I can do "put test message" on the QMB3occurences, but I have to "manually Round-robin" the put:s, meaning put messages on both the occurenses on QMB3. I also found that in the MQ API exerciser I cannot put anything on QMB3, since no queues are available on QMB3. Obvously the API exerciser does not recognised cluster queues.
Or am I doing something wrong?
Rgds Kjell |
|
Back to top |
|
 |
mrlinux |
Posted: Mon Mar 25, 2002 5:25 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
You can use the Sample programs amqsput to test the round robin
_________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
EddieA |
Posted: Mon Mar 25, 2002 10:43 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
The 2 instances of the Queue in the Explorer on QM3 is correct. One for each QM that haosts it
Any program that puts to a queue can be used to test, but remember to change the Queue attribute first:
The default Open option is MQOO_BIND_AS_Q_DEF.
The default Queue property is DEFBIND(OPEN).
This means that once you Open a Cluster Queue, all MQPUTs to that queue will go to the same instance if you don't change DEFBIND.
Cheers,
_________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|