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 Discussion » WebSphere Edge Server as load balancer to MQ?

Post new topic  Reply to topic
 WebSphere Edge Server as load balancer to MQ? « View previous topic :: View next topic » 
Author Message
smeunier
PostPosted: Thu Jun 08, 2006 12:08 pm    Post subject: WebSphere Edge Server as load balancer to MQ? Reply with quote

Partisan

Joined: 19 Aug 2002
Posts: 305
Location: Green Mountains of Vermont

I'm building and MQ environment which needs to be in the 99.999% availibility range. To do do so, I will have two servers partitioned each with multiple LPARS. The LPARS will be HACMP configured and the queue managers will be clustered Thus:

Server1 - LPAR1(MQA) LPAR2(MQB-Backup)
Server2 - LPAR1(MQB) LPAR2(MQA - Backup)

The X( cross over) configuration should cover the extreme availability circumstances. I would like to add Loadbalancing to the two servers to further enhance distrubution of workload and availability by adding a Linux server runing Websphere Edge Server (network dispatching) so client connectivity will be distrubuted across the ACTIVE/ACTIVE configuration described above. My question is: Can this be done? I cannot seem to find information on whether the Edge load balancing can be used in a MQ environment for client connectivity. Is this possible and has anyone any experience in doing this. Can you point me somewhere or describe breifly how a MQ client connects in this environment anf how the connection gets handed off to the MQ Manager?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 08, 2006 12:15 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't use any sort of network loadbalancing for MQ Client connections, or even regular MQ channels.

Each side of an MQ channel keeps track of the number of messages that it has sent and received (even client connection channels). If the two sides disagree, the connection is stopped.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
markt
PostPosted: Thu Jun 08, 2006 12:21 pm    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

Network loadbalancing is fine for client connections, as long as you're not using the XA client. It cannot be used for qmgr/qmgr channels.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 08, 2006 12:24 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Really?

I'm sure you mean that it's not okay if the load balancer moves the connection once it's been established?

I guess I learned something today.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
markt
PostPosted: Thu Jun 08, 2006 12:44 pm    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

connection == socket ... if the socket breaks, so does the hconn. so you have to go back through MQCONN again, which is when rebalancing might happen. although there some technologies that move active sockets to different systems, that's not how regular loadbalancers work.
Back to top
View user's profile Send private message
smeunier
PostPosted: Fri Jun 09, 2006 4:49 am    Post subject: Reply with quote

Partisan

Joined: 19 Aug 2002
Posts: 305
Location: Green Mountains of Vermont

Trying to balance out the replies here. MQ Server to server loadbalancing cannont be contained with a network load balancer, but MQ Client connectivity can through SVRCONN and/or CLNTCONN channels?

Is this a correct statement? If so could you share a few words on how a MQ Client application connects to a load balancer server and how that connection gets offloaded(or redirected) to a MQ QMGR.

---------------> QMGR A
Application ----->Loadbalancer Server -
---------------> QMGR B
This messes with my head, because on a client connection, you basically specify some system affinity(hostname,port,qmgr). So unless the loadbalancer server, does a look up and redirection to a different server ththen feeds that back to the Client and say no, you are connecting here instead................ just a little vodoo magic happening, I need to get my head around. Any words would help.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jun 09, 2006 3:28 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

u don't specify the QM name

make the port # the same on both QMs

aim your connection at an IP that gets u to the load balancer and let the the load balancer decide which MQ server u end up connecting to.
_________________
Peter Potkay
Keep Calm and MQ On
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 Discussion » WebSphere Edge Server as load balancer to MQ?
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.