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 » MQ Cluster Design

Post new topic  Reply to topic
 MQ Cluster Design « View previous topic :: View next topic » 
Author Message
objectthinker06
PostPosted: Wed Apr 07, 2010 7:49 pm    Post subject: MQ Cluster Design Reply with quote

Novice

Joined: 15 Aug 2006
Posts: 15

There are two Java/JMS applications: A (Sender App) and B (Receiver App) integrated using WMQ v7.0.1 with QMGR.A and QMGR.B respectively. Both the q mgrs are in a cluster CLS.T. There is a local queue LQ1 on both q mgrs and are shared in the cluster CLS.T. My question is would this enable messages sent by app A be received by app B? If yes, how? and how can work load balancing be enabled?

I tried the following setup which is more logical to understand and it works. However, I'm not sure how load balancing can be enabled?

a) QMGR.A and QMGR.B are in cluster CLS.T
b) Created Remote Q defn. for LQ1 on QMGR.A
c) Created Local Q for LQ1 on QMGR.B
d) Messages put by app A on the remote Q: LQ1 make it to app B

Which design is recommended? If this design has to scale horizontally - say on application B side by adding one more machine then do we create the q mgr with the same name i.e. QMGR.B on the newly added machine and join them to the cluster CLS.T?

Thanks,
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Apr 07, 2010 9:18 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

EDIT: Just re-read the post, so...

objectthinker06 wrote:
There are two Java/JMS applications: A (Sender App) and B (Receiver App) integrated using WMQ v7.0.1 with QMGR.A and QMGR.B respectively. Both the q mgrs are in a cluster CLS.T. There is a local queue LQ1 on both q mgrs and are shared in the cluster CLS.T. My question is would this enable messages sent by app A be received by app B? If yes, how? and how can work load balancing be enabled?

I tried the following setup which is more logical to understand and it works. However, I'm not sure how load balancing can be enabled?

a) QMGR.A and QMGR.B are in cluster CLS.T
b) Created Remote Q defn. for LQ1 on QMGR.A
c) Created Local Q for LQ1 on QMGR.B
d) Messages put by app A on the remote Q: LQ1 make it to app B


I don't think you understand clustering properly. If app A is only on server A, remove the LQ1 queue instance on server A. As the only instance of LQ1 is then on server B, the messages have only one destination and the cluster resolves where that destination is so no QREMOTE is required.

objectthinker06 wrote:
Which design is recommended?


What do you mean, design? You haven't stated any designs, just stated what you have done.

objectthinker06 wrote:
If this design has to scale horizontally - say on application B side by adding one more machine then do we create the q mgr with the same name i.e. QMGR.B on the newly added machine and join them to the cluster CLS.T?


Don't EVER try to put two queue managers of the same name in the same cluster, not unless you want the mother of all messes to try and clear up! You add QMGR.C and create an instance of LQ1 in that queue manager, and share it in the cluster. The cluster work load algorithm will do the rest provided you have the DEFBIND attribute correctly set.

Please re-read the Clustering manual, and follow through on some of the examples.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Apr 08, 2010 3:36 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Moved to Clustering forum.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
sumit
PostPosted: Thu Apr 08, 2010 8:16 am    Post subject: Re: MQ Cluster Design Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

objectthinker06 wrote:
My question is would this enable messages sent by app A be received by app B? If yes, how? and how can work load balancing be enabled?

What do you mean by load balacing here? If your only requirement is to send message from app A (one qmgr) to app b (another qmgr) then it doesn't need load balancing.
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
bruce2359
PostPosted: Thu Apr 08, 2010 9:14 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

and it doesn't need clustering.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » MQ Cluster Design
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.