Author |
Message
|
santosh.veerlapati |
Posted: Mon Jun 01, 2009 10:57 pm Post subject: MQ cluster setup |
|
|
Voyager
Joined: 19 Jun 2008 Posts: 87
|
Hi
I have a MQ Cluster setup , having 4 queue managers, and i made one queue in all 4 queue managers shared to cluster, and i m making one queue manager as a gateway , and i m communicating to the cluster with that gateway queue manager and dropping the messages into the cluster,
after it does load balancing and i m getting the messages in all 4 queues which i shared into the queue manager cluster,
now i have a doubt that, do we need to lookup all these queues individually and run our application at each queue manager, that requires running my application at 4 places looking into each queue,
instead of this
do we have any central queue which looks at the clustered queues in all 4 queue managers and we can run our application only at this place,,
is there any thing exist like above in Websphere MQ
can anybody help me out in this
thanks in advance
santosh Kumar Veerlapati |
|
Back to top |
|
 |
AkankshA |
Posted: Mon Jun 01, 2009 11:20 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
If your application will run only one instance then why do you need Load balancing....
load balancing is done in order to distribute load amongst various instances of application to achieve set SLA.....
and keep in mind that if sequence of msgs is IMP then load balancing is not for you... _________________ Cheers |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jun 01, 2009 11:33 pm Post subject: Re: MQ cluster setup |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
santosh.veerlapati wrote: |
do we have any central queue which looks at the clustered queues in all 4 queue managers and we can run our application only at this place |
I'm uncertain why you'd load balance messages across 4 queues, then try and read them with a single application instance - how is that load balanced? Load balancing in my world is splitting the load across different application instances & servers to increase throughput.
But to answer your question any application can only get messages from a queue local to the one it's connected to. So if you've 4 queues on 4 queue managers you need 4 application instances.
Unless your cluster is on z/OS where you might use a QSG, if your site permits such a thing. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Tue Jun 02, 2009 12:10 am Post subject: Re: MQ cluster setup |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Vitor wrote: |
...But to answer your question any application can only get messages from a queue local to the one it's connected to. So if you've 4 queues on 4 queue managers you need 4 application instances... |
Or, to throw another pebble into the pond and watch the ripples, why not use a client application to ripple through the queues?  _________________ 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 |
|
 |
Vitor |
Posted: Tue Jun 02, 2009 12:32 am Post subject: Re: MQ cluster setup |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
exerk wrote: |
Vitor wrote: |
...But to answer your question any application can only get messages from a queue local to the one it's connected to. So if you've 4 queues on 4 queue managers you need 4 application instances... |
Or, to throw another pebble into the pond and watch the ripples, why not use a client application to ripple through the queues?  |
Or have the one application instance establish 4 client connections?
Still sort of eliminates the load balancing though.... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Tue Jun 02, 2009 12:40 am Post subject: Re: MQ cluster setup |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Vitor wrote: |
...Or have the one application instance establish 4 client connections? |
Which is what I meant, but put much less eloquently by me...
Vitor wrote: |
...Still sort of eliminates the load balancing though.... |
At application level, agreed.
It seems to me that santosh.veerlapati wants 'centralised' load balancing  _________________ 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 |
|
 |
Vitor |
Posted: Tue Jun 02, 2009 12:45 am Post subject: Re: MQ cluster setup |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
exerk wrote: |
It seems to me that santosh.veerlapati wants 'centralised' load balancing  |
Ye canna change the laws o' physics!
And even if you could, why would you want to? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Tue Jun 02, 2009 12:49 am Post subject: Re: MQ cluster setup |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Vitor wrote: |
exerk wrote: |
It seems to me that santosh.veerlapati wants 'centralised' load balancing  |
Ye canna change the laws o' physics!
And even if you could, why would you want to? |
Did not someone once say "...because it's there..."? I think we have both sat in meetings where someone comes up with an absolutely wizard idea, which left us dumb-struck. _________________ 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 |
|
 |
Vitor |
Posted: Tue Jun 02, 2009 12:52 am Post subject: Re: MQ cluster setup |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
exerk wrote: |
Did not someone once say "...because it's there..."? I think we have both sat in meetings where someone comes up with an absolutely wizard idea, which left us dumb-struck. |
Yes, of course, the "requirement"! As the example of the genius I quoted here recently.
My blind spot is clearly larger than normal this morning.... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
santosh.veerlapati |
Posted: Tue Jun 02, 2009 3:27 am Post subject: |
|
|
Voyager
Joined: 19 Jun 2008 Posts: 87
|
thanks
for all of u r replies, i will discuss this one with my archeitect and analyst
thanks alot.. |
|
Back to top |
|
 |
|