ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Clustering » A basic clustering question

Post new topic  Reply to topic
 A basic clustering question « View previous topic :: View next topic » 
Author Message
skytorch
PostPosted: Mon Jun 10, 2002 1:02 pm    Post subject: A basic clustering question Reply with quote

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
View user's profile Send private message
kolban
PostPosted: Mon Jun 10, 2002 4:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
nimconsult
PostPosted: Tue Jun 11, 2002 12:35 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
paul0al
PostPosted: Thu Jun 13, 2002 9:48 am    Post subject: Reply with quote

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
View user's profile Send private message
bduncan
PostPosted: Thu Jun 13, 2002 10:07 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
paul0al
PostPosted: Tue Jun 18, 2002 9:36 am    Post subject: Reply with quote

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
View user's profile Send private message
oz1ccg
PostPosted: Wed Jun 19, 2002 1:24 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » A basic clustering question
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.