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 » Issue in handling mq enablement (WMBpattern in Active/active

Post new topic  Reply to topic
 Issue in handling mq enablement (WMBpattern in Active/active « View previous topic :: View next topic » 
Author Message
girish_kulkarni
PostPosted: Fri Mar 23, 2012 10:58 pm    Post subject: Issue in handling mq enablement (WMBpattern in Active/active Reply with quote

Apprentice

Joined: 08 Oct 2010
Posts: 32

Let me explain you first our architecture.

We have WMB 7 active- active configuration and a hardware load balancer which will distribute the requests to two brokers depending on the load.

Now, I have a flow which enables the backend mq service into web service for service requester(Same as mq enablement request-response pattern in wmb 7.0.0.0).

In this case, my problem is, assume a web service client request is routed by the load balancer to broker1, which will put request message to backend request queue and response message from backend service picked up by another broker queue manager's queue then original web service request which is holding session at broker 1 will result in timeout.

Please give your ideas how to handle such flows in such architecture during such scenarios.

Environment:

WMB 7.0.0.0
WMQ 7.0.1
Hardware load balancer.

Thank you very much for your help in advance.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sat Mar 24, 2012 1:59 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

there's no reason anything will load balance the response message.

Unless you don't construct the request message correctly.

This has nothing to do with your load balancers or your active-active configuration.

This is that you do not understand the basics of the MQ request/reply pattern.
Back to top
View user's profile Send private message
girish_kulkarni
PostPosted: Mon Mar 26, 2012 4:17 am    Post subject: Reply with quote

Apprentice

Joined: 08 Oct 2010
Posts: 32

thanks for ur reply mqjeff,

Actually I am developing a web service wrapper flow in message broker on a
backend mq service. My doubt is

if web service request goes to broker1, message flow which will construct
the mq request message and puts into the request queue of backend system( different queue manager) through mq cluster to non cluster queue manager communication.
But, if the response message from backend system comes to broker2 queue manager then think http session on broker 1 will get timeout.

My broker1's queue manager and broker2's queue manager are in cluster.


Can you plz guide me how to handle such situation.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 26, 2012 4:44 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

girish_kulkarni wrote:
Can you plz guide me how to handle such situation.


By ensuring the request message is correctly constructed, and the reply message is correctly constructed.

As my most worthy associate points out this is basic WMQ request/response.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Mar 26, 2012 5:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
girish_kulkarni wrote:
Can you plz guide me how to handle such situation.


By ensuring the request message is correctly constructed, and the reply message is correctly constructed.

As my most worthy associate points out this is basic WMQ request/response.


Again, let's be clear.

You are not understanding the basics of how an WMQ Request/Reply pattern works.

Your flows that are constructing the response messages are DOING THE WRONG THING. They SHOULD NOT rely on cluster definitions to deliver the message.

Go look at the Sample.

Go look at the MQ Info Center.

Read, Think, Try, Learn.
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 » Issue in handling mq enablement (WMBpattern in Active/active
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.