Author |
Message
|
mqmike |
Posted: Thu Nov 11, 2004 4:05 am Post subject: Shared memory/semaphores |
|
|
Acolyte
Joined: 09 Jul 2004 Posts: 63
|
I'm wanting to upgrade an AIX box from MQv5.2 to MQv5.3 with CSD05. I've read a section in the CSD readme that instructs you to remove any shared memory or semaphores before applying maintenance.
Two questions:
1) Shall I do this by using ipcs | grep mqm to check for semaphores.
Then remove them using ipcrm -s 'pid'.
2) Do I need to do the same process when upgrading to MQv5.3 or only before I apply the CSD?
Thanks in advance |
|
Back to top |
|
 |
KeeferG |
Posted: Thu Nov 11, 2004 5:05 am Post subject: |
|
|
 Master
Joined: 15 Oct 2004 Posts: 215 Location: Basingstoke, UK
|
I think this means you should run "/opt/mqm/bin/amqiclen -x" as a root user.
amqiclen is a utility to clear up any semaphores etc
Take a look at http://www.mqseries.net/phpBB2/viewtopic.php?t=264&highlight=amqiclen for more information on the utility. You should only need to run it once. _________________ Keith Guttridge
-----------------
Using MQ since 1995 |
|
Back to top |
|
 |
Tibor |
Posted: Thu Nov 11, 2004 6:18 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
KeeferG wrote: |
I think this means you should run "/opt/mqm/bin/amqiclen -x" as a root user. |
...or even as mqm user. |
|
Back to top |
|
 |
vennela |
Posted: Thu Nov 11, 2004 7:14 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
Tibor |
Posted: Fri Nov 12, 2004 1:43 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
vennela wrote: |
If you want to do a hard ipcrm here is a sample script. |
Vennela,
This script can crash your qmgrs when you use more on a box. Contrastly, amqiclen utility will be work in a multiple qmgr environment without any side-effect.
Tibor |
|
Back to top |
|
 |
|