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 » Use of CLWLUSEQ(LOCAL)

Post new topic  Reply to topic
 Use of CLWLUSEQ(LOCAL) « View previous topic :: View next topic » 
Author Message
sree470
PostPosted: Thu Oct 15, 2009 4:27 pm    Post subject: Use of CLWLUSEQ(LOCAL) Reply with quote

Newbie

Joined: 09 Apr 2009
Posts: 5

Hi,

I understand that if we make CLWLUSEQ(LOCAL) for a cluster queue, all messages put using that queue manager will be stored in that queue. Though there are other cluster queues with same name in different managers messages won't flow to them.

Instead of defining a cluster queue CLWLUSEQ(LOCAL), I can define a local queue (not cluster queue).

So what is the use of CLWLUSEQ(LOCAL)?

Actually I don't see use of CLWLUSEQ. If I want messages to be local I define a local queueu. If I wanted distribution, I define a cluster queue.

Can some one provide a practical scenario?
Back to top
View user's profile Send private message
sree470
PostPosted: Thu Oct 15, 2009 4:37 pm    Post subject: Example Reply with quote

Newbie

Joined: 09 Apr 2009
Posts: 5

Let me explain a bit more before everyone jumps to conclusions about my understanding.

Queue manager Qm1 of Host H1 and Qm2 of H2 are part of cluster CL1.

1:
Cluster queue test1 defined on QM2.
Put message on H1 for queue test1. e.g.:- amqsput test1 Qm1 - executed on H1
Messages went to test1 of Qm2.

2:
Local queue test1 defined on Qm1.
Put message on H1 for queue test1.
Messages went to test1 of Qm1.

3:
Changed test1 of Qm1 to cluster queue CLWLUSEQ(local)
Put messages on H1 for queue test1.
Messages went to test1 of Qm1.

What should I do "3" instead of "2"?
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Thu Oct 15, 2009 10:04 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

because maybe other application connected to other queuemanagers want to put to test1 on QM1 too. then you need it to be in the cluster.

however, you are right, from a "local" point of view a cluster queue with CLWLUSEQ(LOCAL) is the same as a non clustered, local queue.

the more intersting part is the CLWLUSEQ(ANY), which enables you to take the local cluster queue into account for cluster workload algorithm. I think CLWLUSEQ(LOCAL) was created to make you able to work "the old way", as some application design may rely on this.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
sree470
PostPosted: Fri Oct 16, 2009 9:20 am    Post subject: Better understanding Reply with quote

Newbie

Joined: 09 Apr 2009
Posts: 5

Thanks.
Now I think I understand it better.

If I want my queue to get messages equally along with other cluster queues, I define it as cluster queue.
Also when I put messages to this queue using local QM and I want them to be consumed by only my local application, then I make it CLWLUSEQ(LOCAL).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » Use of CLWLUSEQ(LOCAL)
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.