ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Re-start QM

Post new topic  Reply to topic
 Re-start QM « View previous topic :: View next topic » 
Author Message
raj
PostPosted: Tue Nov 16, 2004 7:21 am    Post subject: Re-start QM Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Tue Nov 16, 2004 7:33 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Anirud
PostPosted: Tue Nov 16, 2004 7:37 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
csmith28
PostPosted: Tue Nov 16, 2004 7:37 am    Post subject: Reply with quote

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
View user's profile Send private message
csmith28
PostPosted: Tue Nov 16, 2004 8:00 am    Post subject: Reply with quote

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
View user's profile Send private message
raj
PostPosted: Tue Nov 16, 2004 8:22 am    Post subject: Thanks Reply with quote

Centurion

Joined: 31 Mar 2002
Posts: 104

Guys,

Thank you very much .

Thanks
Raj
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Re-start QM
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.