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 6 Clustering Scenario

Post new topic  Reply to topic
 MQ 6 Clustering Scenario « View previous topic :: View next topic » 
Author Message
martintms99
PostPosted: Thu Aug 24, 2006 2:08 pm    Post subject: MQ 6 Clustering Scenario Reply with quote

Newbie

Joined: 24 Aug 2006
Posts: 5

Hello Grandmasters and MQ experts,

I need to implement a clustering, high availability and load balancing solution with MQ 6. Though I have worked on basic clustering before, the combination of different scenarios make this setup difficult for me.

To give a background, we have thousands of clients that send messages (batch mode as well as application) to the MQ server, and the platform is HPUX. Currently the MQ server is not cluster enabled. We are looking at a three QM cluster environment, that will essentially provide HA as well as LB. We do have budget constraints and we need to get the solution implemented at the lowest possible expense, again if all the requirements can be positively met.

As for the requirements, since we have batch mode in place, the message sequence needs to be maintained. I think the solution to that in a clustering scenario is to use MQOO_BIND_ON_OPEN, however, we will have to change more than 1000 clients for that purpose.

Additionally, the client can connect to only one queue manager at a time, it needs to specify a particular queue manager and queue name during the bind call.

One of the scenarios I am thinking of is to have a gateway QM infront that will spray the requests to the two inside QMs. The G QM will not have local definition of the queues, however, the other two QMs will have local definition of the queues and thus load balancing can be implemented. Since the client can connect to only one queue manager at a time, the gateway QM becomes a single point of failure. In order to resolve this, can we use virtual IPs? If we do use V IPs, would that solution work in a three QM scenario?

The other scenario I am thinkig of is to have the gateway queue manager be part of an OS cluster whereby the standalone OS cluster member will resume the activities in case the primary cluster member becomes unavailable. However, I am not aware of the complications of having a solution like this. Would this scenario work without any problems?

Please let me know the right solution given the above environment. If you need any more details, please do let me know.

Thank you,
Martini Tims
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Aug 24, 2006 3:38 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

MQ Clustering is not an HA solution.

MQ Clients can be load balanced by a network load balancer.

MQ V6 Clustering can be tuned to eliminate the need for a gateway queue manager.

Your lowest possible expense, in my opinion, is to implement two queue managers on two servers in a mutual OS fail-over configuration using virtual IPs for the listener ports, and put a network loadbalancer in front of them to workload balance the client connections.

In this scenario, with MQ V6, you can adjust the loadbalancing on the individual queue level to ensure that batch applications always send batch data to the queue on the queue manager they have connected to, and the transactional applications can loadbalance their messages.

At least, this is what I would do if it were my budget and my project. Other people may disagree.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
martintms99
PostPosted: Fri Aug 25, 2006 11:06 am    Post subject: Reply with quote

Newbie

Joined: 24 Aug 2006
Posts: 5

Thank you Jeff for the reply.

Are you aware of any redbook or tutorial that will explain setting up the mentioned solution? As in, or, if you can let me know the steps required to setup the solution using virtual IPs.

Also, what parameters do I need to use on the queues in order to have the batch applications send the messages to the particual queue manager? Do you have a suggestion regarding which network load balancer need to be used?

This is the first time I would be setting up a cluster with V IPs and network load balancers. Your help will be much appreciated.

Thank you,
Martini Tims
Back to top
View user's profile Send private message
jeevan
PostPosted: Fri Aug 25, 2006 12:06 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

mq info centre has all the necessary information regarding mq6. Follow the Queue Manager Cluster Redbook to setup the cluster. Your network /dsn folks will help to setup VIP for you. You just need to use VIP instead of normal IPs.

Quote:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp
Back to top
View user's profile Send private message
martintms99
PostPosted: Fri Aug 25, 2006 12:30 pm    Post subject: Reply with quote

Newbie

Joined: 24 Aug 2006
Posts: 5

Thank you Jeevan for your reply.

All the folks out here are new to the W MQ clustering setup. I would have to feed in whenever we are out of ideas/possible solutions.

When we use V IP, as per my understanding, both the queue managers will have the V IP assigned to its network interfaces and at the same time they will have individual separate IPs as well. While creating the channels, listeners client connection tables and any other MQ object, which IP do we need to use? Would there be a situation where at some places we need to use the V IP and at some other places we need to use the physical IPs?

Can you suggest a network load balancer so that I can read up further on that?

Thank you,
Martini Tims
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 25, 2006 1:14 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Maybe you should hire a consultant to help you implement this.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
martintms99
PostPosted: Fri Aug 25, 2006 1:26 pm    Post subject: Reply with quote

Newbie

Joined: 24 Aug 2006
Posts: 5

The company I work for probably would fire me if I put across that suggestion.

Martini Tims
Back to top
View user's profile Send private message
jeevan
PostPosted: Fri Aug 25, 2006 7:39 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Asking the whole job makes up difficult to reply. If you read the document, try urself fisrt and ask when you have problem easy in the sense that you are ready to digest what we suggest. Like suggesting network load balancer is whole lot of work. why dun u read first, and ask if you have problem in understanding particular concept.

I hope your network guy can understand creating VIP, you just to have to use that VIP instead of normal ip/hostname. That you you are not pointing a particular machine/server rather your load balancer direct it to along them server based on some principle.

first read the document, have a design concept, how u make your cluster, try to work n your own, if you have problem in doing something, post here, people will reply you.

Also, there has been many discussion about cluster, load balancing, and other aspects of queue manager cluster. Please go through all these. Probably you will find the answer there.

good luck
Back to top
View user's profile Send private message
martintms99
PostPosted: Sun Aug 27, 2006 12:09 pm    Post subject: Reply with quote

Newbie

Joined: 24 Aug 2006
Posts: 5

Thank you, jeevan and I shall.

Martini Tims
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 6 Clustering Scenario
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.