Author |
Message
|
raj |
Posted: Tue Nov 16, 2004 7:21 am Post subject: Re-start QM |
|
|
Centurion
Joined: 31 Mar 2002 Posts: 104
|
I am going to re-start a QM in the production environment first time in my life. Though i have read the STOP,START procedures in the Admin book i am bit nervous.
I have the following steps.
1)endmqm QM
once QM is ended
2) strmqm QM.
Is this correct?Or any other steps to follow.
Thanks
Rajesh |
|
Back to top |
|
 |
vennela |
Posted: Tue Nov 16, 2004 7:33 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Look for any trigger monitors running on that QMGR
Look for the command server running on that QMGR
Make sure you bring the trigger monitors and command servers after you restart the QMGR.
Also look at other options of ending the QMGR (like i for immediate). |
|
Back to top |
|
 |
Anirud |
Posted: Tue Nov 16, 2004 7:37 am Post subject: |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
I would do an
Code: |
endmqm -i <qmgrname> |
But, don't forget to check for applications using MQ are also stopped.
In our environment, we have an application which uses MQ and needs to be stopped before the queue manager is recycled.
Hope this helps.
Good Luck. |
|
Back to top |
|
 |
csmith28 |
Posted: Tue Nov 16, 2004 7:37 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Yes, but,.....
once the strmqm has finished you will want to make sure you have a the command server is running:
dspmqcsv = display mq command server
strmqcsv = start the mq command server
endmqcsv = to end the mq command server
Then check to make sure your Trigger Monitor is up if you are using Triggering:
ps -ef | grep runmqtrm
and unless you have an mqm entry in your /etc/services file you will want to make sure your Listener Process is started and running on the appropriate port.
It would probably be best if you check the runmqlsr process and arguments before you run the endmqm command so you will know what arguments to use once the MQManager is back up. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
csmith28 |
Posted: Tue Nov 16, 2004 8:00 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Oh and,.....
Once the MQManager has ended:
ps -ef | grep mqm and kill any remaining MQ Processes, endmqm will not stop a Listener process.
Check for any stale shared memory segments and semaphores. As mqm run:
amqiclen, or as root,
ipcs | grep mqm
remove these using
ipcrm -s ***** -s ****
ipcrm -m *** -m **** (the ***'s represent the schmid)
I prefer the ipc commands myself. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
raj |
Posted: Tue Nov 16, 2004 8:22 am Post subject: Thanks |
|
|
Centurion
Joined: 31 Mar 2002 Posts: 104
|
Guys,
Thank you very much .
Thanks
Raj  |
|
Back to top |
|
 |
|