|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
A basic clustering question |
« View previous topic :: View next topic » |
Author |
Message
|
skytorch |
Posted: Mon Jun 10, 2002 1:02 pm Post subject: A basic clustering question |
|
|
 Apprentice
Joined: 10 Jun 2002 Posts: 47 Location: New York City
|
Hi,
I'm setting up a basic MQ 5.1 cluster with 2 QMs on windows 2000.
After I created a cluster via MQ Explorer Cluster wizard, I created a clustered queue Queue1 in QM1. If I connect to QM2 from a Java MQ client via Server Connection Channel and try to access Queue1, I got reason code 2085 which is "MQRC_UNKNOWN_OBJECT_NAME".
How can I read and write a cluster queue defined in QM1 from QM2 ?
Thanks.
Sky |
|
Back to top |
|
 |
kolban |
Posted: Mon Jun 10, 2002 4:18 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
You can only put (write) to a cluster shared queue, you can not get (read). |
|
Back to top |
|
 |
nimconsult |
Posted: Tue Jun 11, 2002 12:35 am Post subject: |
|
|
 Master
Joined: 22 May 2002 Posts: 268 Location: NIMCONSULT - Belgium
|
Once you have setup your cluster with QM1 and QM2, you must advertise the queues in the cluster.
On W2K, open the MQ Series explorer, open the properties of the queue, go to the tab "cluster", select "shared in cluster..." and provide the name of your cluster.
You must perform this operation for every queue that you want to advertise in the cluster.
Nicolas Maréchal
Senior Architect
NIMCONSULT |
|
Back to top |
|
 |
paul0al |
Posted: Thu Jun 13, 2002 9:48 am Post subject: |
|
|
Apprentice
Joined: 30 May 2002 Posts: 26
|
Can someone point to toward some documentation about reading (get) messages from a shared cluster queue. If getting messages from a shared cluster queue is not possible, are there any tricks or workarounds?
thanks. |
|
Back to top |
|
 |
bduncan |
Posted: Thu Jun 13, 2002 10:07 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
I'm not sure why people want to be able to MQGET messages from a clustered queue on some remote queue manager. It defeats the whole purpose of clustering. All messages end up on a queue because of an MQPUT at some point in time. The MQPUT is expensive, because it involved the message moving across a network (unless you are putting to a local queue). The MQGET on the other hand, only deals with local queues, and hence no network overhead. If your application A is connected to a local queue manager QMX, and wants to get a message from a clustered queue Q1 which happens to live on QMY, then why is your application even running on QMX? It should be running on QMY where the message is. Otherwise, why did you send it to Q1 on QMY in the first place? It should have been MQPUT to a queue on QMX since that is where the processing application is running.
I've worked very extensively with clusters over the past 2 years, and never had a need to get a message from a clustered queue on some other queue manager. The system can always be architected such that the processing applications are running on the same queue manager that the message is residing in.
Well, that's just my $.02  _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
paul0al |
Posted: Tue Jun 18, 2002 9:36 am Post subject: |
|
|
Apprentice
Joined: 30 May 2002 Posts: 26
|
I am in a situtation that messages may be on a cluster queue q1 on QMX or QMY. We want multiple queue managers for fault tolerance and load balancing. The application that retrieves messages must not be located on the same machine as QMX or QMY. Since its impossible to perform mqgets on cluster queues, what way can we setup mqseries that allows us to retrieve messages from cluster queues without placing all the the burden on the application. We do not wish to hard code the mqopen calls to retrieve messages from q1 on QMX and QMY. Would it be possible to make q1 on QMX and QMY a transmission queue that transmit messages to a queue that resides on the same machine as our application? Any suggestions would be greatly appreciated.
thanks. |
|
Back to top |
|
 |
oz1ccg |
Posted: Wed Jun 19, 2002 1:24 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
Pi Paul,
you can do nearly all what you want about MQSeries comming in from a non-cluster qmgr to a MQ-cluster, going out to a non-cluster qmgr....
It's all explaind in the Cluster guide.
Well I know it's nontrivial work to setup...
But you want workload balancing, no single point of failure... Why then introduce it again, why not place the applications on the servers ?
By one of my clients we're dealing with more clusters to fix it, and using CLWL exit to help for fault tolerance, to avoid single point of failure....
just my $0.02  _________________ Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT. |
|
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
|
|
|
|