Author |
Message
|
raja_no_1 |
Posted: Mon Sep 05, 2005 2:04 am Post subject: cluster under different user |
|
|
 Apprentice
Joined: 05 Sep 2005 Posts: 34
|
Is it possible to configure MQ cluster under different user for each Qmanager under AIX? Please help.
Thanks in advance |
|
Back to top |
|
 |
sradiraju |
Posted: Mon Sep 05, 2005 2:13 am Post subject: |
|
|
 Apprentice
Joined: 08 Sep 2002 Posts: 34 Location: Chicago,IL
|
Hi raja_no_1,
I am not sure why you need clusters under different users. What exactly you are trying to acheive? What is your requirement? Please be more detail.
If its authority issue there are different ways to do it.
hth,
Somesh |
|
Back to top |
|
 |
raja_no_1 |
Posted: Mon Sep 05, 2005 2:34 am Post subject: |
|
|
 Apprentice
Joined: 05 Sep 2005 Posts: 34
|
We will be having a setup in which the same box is supposed to host the WMQI Queue manager as well as the repository Queue Managers as part of the same cluster. When shutting down QM on AIX all mqm processes does not get deleted and some of them hangs around.
Also the ipc resources does not get deleted and we have to kill it manually after greping for user ID i.e mqm
Now we do not want to remove the processes of WMQI Queue managers as well as the Repository QMs..
Is there a good way of achieving this other then by creating different user ids? |
|
Back to top |
|
 |
sradiraju |
Posted: Mon Sep 05, 2005 2:44 am Post subject: |
|
|
 Apprentice
Joined: 08 Sep 2002 Posts: 34 Location: Chicago,IL
|
Well, the short answer is NO. This is exactly the reason we dont have multiple queue managers on production boxes. And as we know queue managers use shared memory & semaphores extensively, its not a good idea to delete them while some other queue manager is running.
Did you try using "-i" option while shutting down the queue manager. Also, how do you know that mqm processes are not getting killed? Its not necessary to clear semaphores and shared memory segments always when you shutdown normally or immediately. This process is necessary only when it complains about these ipc resources.
Now coming to your answer, I did clear the ipc's of queue managers a long time ago, but its a tedious process and I took help of support. |
|
Back to top |
|
 |
hopsala |
Posted: Mon Sep 05, 2005 4:04 am Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
|
Back to top |
|
 |
raja_no_1 |
Posted: Mon Sep 05, 2005 5:44 am Post subject: |
|
|
 Apprentice
Joined: 05 Sep 2005 Posts: 34
|
amqiclen -v -c -m QM_APP_DEV_01 < /var/mqm/mqs.ini
doesnt work on my setup..I have AIX -OS
and MQ version 5.2.1. Please can someone help. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Sep 05, 2005 5:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
raja_no_1 wrote: |
amqiclen -v -c -m QM_APP_DEV_01 < /var/mqm/mqs.ini
doesnt work on my setup..I have AIX -OS
and MQ version 5.2.1. Please can someone help. |
Remember -c is display only. You need -x to remove !
Never used it on MQ 5.2 though but on 5.3 it works fine.
Anyway is there a specific reason you can't upgrade to WMQ 5.3 or WMQ 6.0 ? 5.2 has been out of support for quite a while now (over a year).
If it still doesn't work try running it under root authority...
Enjoy  |
|
Back to top |
|
 |
|