|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Different QMGR instances with different User ID |
« View previous topic :: View next topic » |
Author |
Message
|
puvvada |
Posted: Wed Sep 10, 2003 12:41 pm Post subject: Different QMGR instances with different User ID |
|
|
Apprentice
Joined: 01 Apr 2002 Posts: 27
|
Hi,
Here is what I created.
Environment : AIX 4.3.3
MQ Series ver 5.2 CSD04
1. created user id umq01, made a member of mqm group
2. created user id umq02, made a member of mqm group
3. login as umq01 and created a QMgr QM1. Since I wanted the logs to be created in a different directory I updated the mqs.ini file and logs are created at /work/QM1/var/mqm/log
4. started the QM1 using umq01 id. and it started.
5. Similarly I created QM2 using umq02 id and the logs at /work/QM2/var/mqm/log and started the QM2 and it works fine.
6. I checked the IPCS resources using ipcs | grep umq01 and I couldn't find any, but when I tired with ipcs | grep mqm, I could see all of them.
The main idea is to isolate the shared memory of different QMGr's. Now QM1 is having problems and after I stop the QMgr I want to clear any shared memory or semaphores related to it, which I am not able to and the only way is to stop all the QMgrs including QM2 and then clear all the shared memory and start all on them.
The main reason of creating QMgrs with different user id is so that shared memory will be created by that user id. Instead all are created by mqm. Is there a way to overcome this ?. Has anyone encountered similar kind and is there a solution.
Thanks,
- puvvada |
|
Back to top |
|
 |
vennela |
Posted: Wed Sep 10, 2003 12:59 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
If all you are trying to achieve is to clear shared memories of only a particular QMGR by doing this, then I think you don't have to do this.
There is a command called amqiclen which would do this. I don't see it in the docs but if you do a search on it in this forum you will get a bunch of results. |
|
Back to top |
|
 |
harwinderr |
Posted: Tue Sep 16, 2003 2:19 am Post subject: |
|
|
 Voyager
Joined: 29 Jan 2002 Posts: 90
|
The owner of IPC resources created by WMQ will always be "mqm". The reason for this is all the WMQ binaries have the set User ID bit on. That means all the binaries will be run under the owner mqm irrespective of any user starting them.
Later
HR  |
|
Back to top |
|
 |
Keka |
Posted: Tue Sep 16, 2003 5:52 am Post subject: |
|
|
Voyager
Joined: 28 Dec 2002 Posts: 96
|
Also As per the suggestion of vennela, using amqclen might no resolve your issue as I never got it working in 5.2. I am not sure if this is working better in 5.3
my $.02. _________________ Keka |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|