Author |
Message
|
sebastia |
Posted: Mon Oct 04, 2010 8:40 am Post subject: how to CRTMQM on (2nd node of) Sun Cluster |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Hi. I have to install MQ on "Sun Cluster 3.1", and all I know is HACMP.
There (HACMP), we had HACRTMQM (on first node) and HALNKMQM (on 2nd node), and I understand the differences ...
Here (Sun Cluster) I read I have to run "CRTMQM" twice ... as there is no "special" command to run on second node.
The FileSystem is on an external disk, and gets mounted directo to "/var/mqm/" on the active node.
My question is : how do I do to create the queue manager on the second node ?
a) crtmqm again ... and ignoring errors ?
b) crtmqm again ... and overwriting 1-st node instance ?
c) just copy MQ.INI + nx QM.INI ?
Thanks for any ideas. |
|
Back to top |
|
 |
exerk |
Posted: Mon Oct 04, 2010 10:10 am Post subject: Re: how to CRTMQM on (2nd node of) Sun Cluster |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
sebastia wrote: |
...Here (Sun Cluster) I read I have to run "CRTMQM" twice ... as there is no "special" command to run on second node... |
What documentation are you following? Is this a multi-instance queue manager you're creating? _________________ 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 |
|
 |
bruce2359 |
Posted: Mon Oct 04, 2010 12:08 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
a) crtmqm again ... and ignoring errors ? |
Errors?? You received error messages? What were they? Did you research the error messages? What did they mean? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
sebastia |
Posted: Tue Oct 05, 2010 7:41 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Hi all .. and EXERC and BRUCE ...
1) the documentation I am following is
>>> http://dlc.sun.com/pdf/819-1083/819-1083.pdf
from Sun website
2) I had no errors when I wrote the question, as I had not been on site yet. I was missing HALNKMQM ...
Now I can say I was there. And did it work.
And quite magically, you do CRTMQM only once, on one of the nodes of the cluster, as the documentation says in non-clear terms.
As the external disc containing /var/mqm/ is moved from one node to the other, when the cluster does balance to second node, the MQ software (installed in /opt/mqm/) finds automagically MQS.INI and few QM.INI files, so it starts working with the queues without problem.
So, my conclusion is that HACMP people did not know how to manage how to mount an external filesystem to /var/mqm/ ... (???) or had other directives. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Oct 05, 2010 7:46 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
HACMP allows you to fail an individual queue manager from an MQ install to another machine.
If you move the entire /var/mqm folder to another machine, you are moving all of the queue managers under that /var/mqm.
This is the reason for halnkmqm AFAIK, to establish the identity of a specific qmgr in a second mqs.ini file, rather than moving the entire mqs.ini file. |
|
Back to top |
|
 |
aditya.aggarwal |
Posted: Mon Oct 25, 2010 11:58 am Post subject: |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
For Sun Cluster HA setup...
1. Configure the MQ resources under cluster
2. Link /var/mqm to /global/mqm...
3. use crtmqm .............. <qmgrname> to create qmgr on both servers.
4. Start qmgr.
during failover it is Sun Cluster resourcegroup which will start qmgr on other node automatically. |
|
Back to top |
|
 |
aditya.aggarwal |
Posted: Mon Oct 25, 2010 11:59 am Post subject: |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
one more thing for linking filesystem you have to use normal unix link command. ... |
|
Back to top |
|
 |
|