Author |
Message
|
nrameshmq |
Posted: Thu Sep 21, 2017 8:03 pm Post subject: MQ Power HA Configuration Aix |
|
|
Apprentice
Joined: 09 Aug 2017 Posts: 35 Location: India, Mumbai
|
Hello,
I am new to Power HA, We need to configure power HA qmgr in Active and Passive Mode.
I read some IBM Knowledge center[https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_8.0.0/com.ibm.mq.con.doc/q017850_.htm], There i found that we have to use log and qmgrs data stored in shared disk(/var/mqm/qmgrs and /var/mqm/log).
In our environment we have shared stored disk pointing to /var/mqm. Do i need to split these /var/mqm into (/var/mqm/log and /var/mqm/qmgrs) or else can i use /var/mqm directly. Do we experience any problems by using /var/mqm as single mountpoint.
Suggetions please.
Thanks....[/url] |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Sep 22, 2017 3:51 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You should consider using the options with MQ to locate data and log directories in other locations.
You should understand better the failover model of PowerHA and make sure that you are using the shared disk properly.
MI requires that shared disk be mounted on both qmgr machines at the same time. HA solutions (I don't know PowerHA so this may not be true) usually have the disk mounted on only one server at a time. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Sep 24, 2017 5:51 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Under PowerHA, /var/mqm should be on a local disk, not clustered.
The qmgr's data and log directories should be on cluster disk filesystems. Normally they are on separate disks for performance and reliability. The directories can be located anywhere, they don't have to be under /var/mqm.
/var/mqm/mqs.ini points to the qmgrs data directory.
The qmgr's qm.ini file points to its log directory. _________________ Glenn |
|
Back to top |
|
 |
nrameshmq |
Posted: Mon Sep 25, 2017 2:11 am Post subject: |
|
|
Apprentice
Joined: 09 Aug 2017 Posts: 35 Location: India, Mumbai
|
Thanks gbaddeley
MQ already installed on the system before doing cluster disk.
So /var/mqm/mqs.ini located in local storage. does it affects Power HA. If it is how to change that one to clustered storage.
thanks in advance |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Sep 25, 2017 3:51 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
nrameshmq |
Posted: Mon Sep 25, 2017 6:19 am Post subject: |
|
|
Apprentice
Joined: 09 Aug 2017 Posts: 35 Location: India, Mumbai
|
The above procedure i know. I am getting confusing with Shared disk and configuration files location. My cluster disk name /var/mqm. As per IBM it has to be like /var/mqm/log and /var/mqm/qmgrs, If i keep that /var/mqm will it impact on system.
In my environment MQ configuration file is pointed to system disk, Will that impact on Power HA. If It is how to change that. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Sep 25, 2017 9:32 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
exerk |
Posted: Mon Sep 25, 2017 9:45 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Moved to a more appropriate forum... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
gbaddeley |
Posted: Mon Sep 25, 2017 3:42 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
I prefer the following terminology:
Cluster disk = A disk file system that can be mounted on one HA node or the other HA node (but never both at the same time). This is used by PowerHA and other OS HA solutions.
Shared disk = A disk file system that can be mounted on multiple nodes at the same time. This is used by MIQM solutions.
Local disk = A disk files system that is only ever mounted on the local node. /var/mqm directory should always be on a local disk (and always available). _________________ Glenn |
|
Back to top |
|
 |
nrameshmq |
Posted: Tue Sep 26, 2017 7:23 am Post subject: |
|
|
Apprentice
Joined: 09 Aug 2017 Posts: 35 Location: India, Mumbai
|
Hi
Thank you all for your suggetions, Actually in my environment Cluster disk = A disk file system that can be mounted on one HA node or the other HA node (but never both at the same time). This is used by PowerHA and other OS HA solutions. we are using
The AIX team created clustered disk pointing to /var/mqm. Now i am going to changing that pointing.
Thanks all
Ramesh |
|
Back to top |
|
 |
JosephGramig |
Posted: Tue Sep 26, 2017 11:10 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
If you actually followed what the KC says about HA Qmgr, your file systems for the Qmgr data and log would be:
/MQHA/QM1
and there would be a data and log directories under that look here.
I hate that name and like gbaddeley said, two file systems for each Qmgr is better to keep data and log separate (even if your Qmgr is local and not HA). When they are separate, the Qmgr data cannot fill the log file system and possibly (and it does happen) corrupt your Qmgr.
Let me suggest:
/var/ibm/mqm/<QmgrName>/data
/var/ibm/mqm/<QmgrName>/log
for your HA or normal Qmgr data and log directories. When you do this, it makes your Qmgr easily "relocatable".
Once your Qmgr is corrupted, there is a high probability it is lost and you will have to recreate it. |
|
Back to top |
|
 |
nrameshmq |
Posted: Wed Sep 27, 2017 2:23 am Post subject: |
|
|
Apprentice
Joined: 09 Aug 2017 Posts: 35 Location: India, Mumbai
|
Thanks you all
For your valuable suggestions. I am going to implement in Production in coming 15 days. I will confirm soon weather it is working fine and how we implemented
Ramesh
Power is gained by sharing knowledge, not hoarding it. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Sep 27, 2017 4:09 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
nrameshmq wrote: |
Power is gained by sharing knowledge, not hoarding it. |
This is true of knowledge, but not chocolate cake. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Sep 27, 2017 4:09 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
nrameshmq wrote: |
I am going to implement in Production in coming 15 days. |
Are you going to do this in the equivalent lower environments (test, QA) and do HA fail-over and fail-back testing, before attempting in production? _________________ Glenn |
|
Back to top |
|
 |
nrameshmq |
Posted: Tue Oct 17, 2017 11:43 pm Post subject: |
|
|
Apprentice
Joined: 09 Aug 2017 Posts: 35 Location: India, Mumbai
|
Hi
I am doing this in Production environment. I will check HA failover testing.
Hope it will work fine. _________________ Ramesh
------------- |
|
Back to top |
|
 |
|