Author |
Message
|
saneben |
Posted: Wed Aug 24, 2005 1:57 am Post subject: WMQ 5.3 on AIX 5.x in an HACMP 5.1 environment |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Hi,
I need to install WMQ 5.3 on AIX 5.x in an HACMP 5.1 environment.
I have gone through the manuals and search the Web. I found that IBM has a support pack MC63.
The software versions required are:
» WebSphere MQ V5.3 running in a supported software environment and
Either
» HACMP Version 4.3.1 or 4.4.0
or
» HACMP/ES Version 4.4.0.3
Hardware and networking requirements are those supported by HACMP.
My concern is that do we need to install the same Queue Manager with the same name say Test in both the nodes of HACMP
Will the HACMP take over if one server is down and point to the other server. Will we not loose messages during the failover?
Any suggestions & links about this topic is welcome. |
|
Back to top |
|
 |
ashoon |
Posted: Wed Aug 24, 2005 3:00 am Post subject: |
|
|
Master
Joined: 26 Oct 2004 Posts: 235
|
Hello - you will need to 'install' queue managers on all HACMP nodes... actually on the failover nodes you are simply configuring MQ to recognize TEST as a possible queue manager that can be run on that node.
As for losing messages - you will not loose persistant committed messages as the queue manager's log and queue files are placed on shared storage accessible by both nodes allowing for access and log replay by MQ on failover nodes.
Ch. 5.3.2 here might help - http://www.redbooks.ibm.com/abstracts/sg246328.html?Open |
|
Back to top |
|
 |
hopsala |
Posted: Wed Aug 24, 2005 3:04 am Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
Quote: |
Will the HACMP take over if one server is down and point to the other server. Will we not loose messages during the failover? |
Yes it will. No you won't.
All your questions have already been answered a thousand times and more, use the search button for "HACMP".
If something is still unclear, post and yee shall be answered. |
|
Back to top |
|
 |
saneben |
Posted: Wed Aug 24, 2005 3:33 am Post subject: |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Thanks for your replies. I have a clarification. I have one QM in each node. Should this QM be clustered ( MQ clustered) as well as HACMP for a 24 * 7 operation. Right now we have two nodes and they are HACMP. I have downloaded the support pack and reading the documentation. Chapter 1 tells about MQseries clusters, so I am raising this issue.
Regards
Sanjiv |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 24, 2005 3:44 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
In an HACMP failover situation, what happens is that only one instance of a queue manager is ever running.
If it goes down on one node, then it is brought up on the other node.
So you can't really MQ cluster the two instances of the same queue manager with each other.
MQ Clustering has different advantanges and uses than HACMP/hardware clustering. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
saneben |
Posted: Wed Aug 24, 2005 4:25 am Post subject: |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Thanks for your immediate reply. Please clarify one point, does this scenario explained Active/Active configuration as explained in the document. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 24, 2005 4:30 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
No.
Active/Active means that you will have both nodes running queue managers.
You will NOT have both nodes running instances of the same queue manager.
So, like
Box A
QMgr1 (running)
QMgr2 (passive, waiting for failover)
Box B
QMgr1(passive, waiting for failover)
QMgr2(running) _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ashoon |
Posted: Wed Aug 24, 2005 4:35 am Post subject: suggested reading |
|
|
Master
Joined: 26 Oct 2004 Posts: 235
|
|
Back to top |
|
 |
saneben |
Posted: Sat Aug 27, 2005 2:44 am Post subject: |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Thanks for your replies. I was gone through the documents.I was discussing HACMP for MQ with the AIX admin and we wants to run MQ with active/active set up only. But I have one only queue Manager test . Is it possible to create an alias QM for test and run in active/active mode?
I have explained to him that with one QM we can run with the Active / standby set up only. Any links to support this or any suggestions
Regards
Sanjiv |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Aug 27, 2005 4:41 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It is entirely possible to create more than one queue manager on the same machine.
See my earlier example with Qmgr1 and Qmgr2. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Aug 27, 2005 7:23 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
And if you need it to look like the same to the outside world you can do either Aliasing the qmgrs or clustering.
Check out the intercommunications manual about aliasing.
Make qm2 on box 2 believe it is qm1 on box 2 ... and so on...
Make qm1 on box 1 believe it is qm2 on box 1 ....
Check out the using clusters manual...
Enjoy  |
|
Back to top |
|
 |
saneben |
Posted: Tue Aug 30, 2005 4:35 am Post subject: |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Hi
We have started to configure MQ in the Active/standby mode with HACMP support pack for AIX mc 63. Now for starting the queue manager scripts I have added code to start trigger monitor, listener in file rc.local.This is working fine when I start the queue manager.
Now in stop Queue Manager script, I want to add stop listener and trigger monitor how to add them in rc.local file? or should I create a separate file?
Please explain
Regards
Sanjiv |
|
Back to top |
|
 |
saneben |
Posted: Mon Sep 05, 2005 5:10 am Post subject: |
|
|
Voyager
Joined: 04 Apr 2004 Posts: 96
|
Hi,
Can anyone list the possible test cases of HACMP on AIX with Websphere MQ 5.3. Running in the Active/standby mode with one QM
These are following test cases done by me so far
1) Start the queue manager in node a, stop the queue manager
2) Mount the /HAMQ in node b and start the queue manager successfully stop the QM
3) Mount the /MQHA back to node a. and start the queue manager
4) Put 1000 persistent messages to a queue in node a stop the queue manager
5) Mount the /HAMQ in node b , start the queue manger check if the 1000 messages is there it is present.
We are mounting manually as the script are not yet automated with HACMP
Please add any more test cases
Regards
Sanjiv |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Sep 05, 2005 7:52 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What are the business requirements you are trying to satisfy with your test cases?
What types of failure conditions are you supposed to handle? what terms of service are you supposed to meet?
These drive your test cases.
I could tell you to test that your system could handle 10,000 messages in a minute without any failure. But if your business requirements only required that you handle 10,000 messages a month, it would be a waste of your time to test for anything else. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vennela |
Posted: Mon Sep 05, 2005 10:05 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
All you are doing is making sure QMGR can start on both machines.
What about connectivity from outside |
|
Back to top |
|
 |
|