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 » General IBM MQ Support » Setup queues to share messages

Post new topic  Reply to topic
 Setup queues to share messages « View previous topic :: View next topic » 
Author Message
NewMB
PostPosted: Wed May 24, 2006 11:28 am    Post subject: Setup queues to share messages Reply with quote

Apprentice

Joined: 05 Jan 2005
Posts: 42

Hi, I am having a problem on how to set up queues to share message.

Here is the scenerio:

QMgr 1, 2 and 3. They are in a cluster.

I would like to have a queue in QMgr 1 to host messages and a queue in both QMgr 2 and 3 to get (read) messages. Can someone give me a direction?

Thanks
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed May 24, 2006 11:36 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Review Queue Sharing Groups, which is only available on the mainframe. Otherwise, you can't do what you want.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
NewMB
PostPosted: Wed May 24, 2006 12:15 pm    Post subject: Reply with quote

Apprentice

Joined: 05 Jan 2005
Posts: 42

Unfortunately, I am in Windows environment. Any other suggestion?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 24, 2006 12:26 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Here's how clustering works.

On some queue manager QM1, I have a qlocal A. I share that queue in the cluster. Now, I can see both a qlocal A and a qcluster A on QM1 , if I display all the queues. On QM2 and QM3 that are in the same cluster, I can see only the qcluster A.

If I want to GET from that queue A, I have to connect to the queue manager QM1.

If I want to PUT to that queue A, I can do this while connected to any queue manager, QM1, 2 or 3. When messages are PUT to a qcluster, then the workload balancing algorithm will try to balance the message load between every qcluster of that name.

So what do you mean by "host"?

It sounds like what you want is to define a queue A on both QM2 and QM3, and then put messages from QM1.

But you will never be able to get the SAME message from BOTH QM2 and QM3. Unless you use something like MirrorQ to put to a distribution list - but bear in mind that mirrorQ is a sample program, and is not supported by IBM at all.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
NewMB
PostPosted: Wed May 24, 2006 12:33 pm    Post subject: Reply with quote

Apprentice

Joined: 05 Jan 2005
Posts: 42

Thanks for the information.

To put messages, I can use any queue managers in a cluster. But to get messages, I can only get it from the repository queue manager. I would like to get message from other Q Managers as well.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 24, 2006 12:41 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can only get messages from a queue manager that has the queue as a qlocal.

This can be any queue manager in the cluster, or many queue managers in the cluster, or all the queue managers in the cluster.
_________________
I am *not* the model of the modern major general.
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 » General IBM MQ Support » Setup queues to share messages
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.