Author |
Message
|
saneben |
Posted: Mon Mar 03, 2008 11:47 am Post subject: Set up MQ cluster in active/active mode on top of AIX HACMP |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Hi,
In the organization I work for we have a new project with two AIX machines running on HACMP in active / active mode.I have been asked to design and setup the WebSphere MQ 6.0 Cluster Environment working in active / active mode to run on top of the HACMP for load balancing and high availablity.
The plan is to setup the MQ cluster with two Queue Managers in the cluster (QM1, QM2 for workload management if I install Q1 on AIX server1 and Q2 on AIX server2.
the Unix administrator is willing to give a separate IP for the MQ and also a shared disk to hold the MQ log files and have the persistent messages.
My concern is how an external application connect to the cluster and whether they will be a load balance done by MQ.
I have gone through the HACMP support for MQ series and I am confused a bit as it tells about a failover which I think it is active /passive mode).
Please give any link about about setting up MQ cluster with HACMP in active /active mode
Regards |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Mar 03, 2008 11:53 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You need to immediately separate in your mind "HA Cluster" and "MQ Cluster".
Then you need to read the MQ Clusters manual.
And remember that "active/active" is just "overlapping active/passive". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vennela |
Posted: Tue Mar 04, 2008 1:58 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
And then the support pack MC91(I think) |
|
Back to top |
|
 |
saneben |
Posted: Wed Mar 05, 2008 9:39 pm Post subject: |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
After reading the document on the support pack MC91 for AIX HACMP , I want to use both the systems
The plan is to install Queue Managers QM1 in server1 on port 1414 and QM2 on server2 port 1415
we will install each QM on a separate shared disk to hold the MQ log files and have the persistent messages.
After setting up like the above can we build a MQ cluster on this so that if QM is fails the other QM takes over?
Regards |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 06, 2008 2:33 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
saneben wrote: |
After setting up like the above can we build a MQ cluster on this so that if QM is fails the other QM takes over? |
jefflowrey wrote: |
You need to immediately separate in your mind "HA Cluster" and "MQ Cluster". |
MQ Clustering does not provide "takeover" or "failover". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
saneben |
Posted: Fri Mar 07, 2008 5:25 am Post subject: |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Thank Jeff for your comments
If we set up like the above configuration if one machine fails both the queue managers will run on a single node so that the external applications can still connect there is a downtime only for the QM to move from one node to another.
Now if the queuemanager qM1 log file is corrupted or cannot start for some reason how to set up so that the external application can still connect?
The point is we do not want a single point of failure.
Any suggestions /comments are welcome
Regards |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Mar 07, 2008 5:32 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
MQ applications don't connect to "a cluster". They always and only connect to a single qmgr. Or more, if your app designers are really really confused - but please don't do that.
There are a variety of techniques for allowing an application to connect to different qmgrs based on what's available. Most of them have actually been discussed in great detail here.
There are likely a redbook or two on the subject as well.
Before you do anything else, you either need to hire a consultant, or spend a good bit of time reading & searching.
Again, you need to keep HA clustering and MQ clustering entirely separate. Then you need to make sure you know how your applications connect to queue managers -either in bindings or client - and how that impacts your design. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
saneben |
Posted: Sun Mar 09, 2008 8:25 am Post subject: |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Hi Jeff,
Thanks for the prompt reply,
Actually to explain you we have an IBM person supporting us for the datapower. It will get the message in text format and convert to XML format.
We need to set up MQ so that datapower can connect and process messages.
I will set up an HACMP cluster with two queue managers on each node
Regards |
|
Back to top |
|
 |
|