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 » Need help to Terminate runmqtrm trigger monitor in Linux

Post new topic  Reply to topic
 Need help to Terminate runmqtrm trigger monitor in Linux « View previous topic :: View next topic » 
Author Message
chenna.hari
PostPosted: Fri Aug 13, 2010 1:39 am    Post subject: Need help to Terminate runmqtrm trigger monitor in Linux Reply with quote

Centurion

Joined: 21 Mar 2009
Posts: 103

Hi,

we have the Queue on which Trigger monitor is enabled. I need to run the command runmqtrm to start triggering in terminal in linux.

Can any one help how to terminate the trigger monitor runmqtrm command in a terminal in Linux
Back to top
View user's profile Send private message
zonko
PostPosted: Fri Aug 13, 2010 2:28 am    Post subject: Reply with quote

Voyager

Joined: 04 Nov 2009
Posts: 78

Press CTRL-C on the console on which the trigger monitor is running
OR
Set the initq to GET(DISABLED)
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Aug 13, 2010 2:31 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Or 'kill'.

I forget if runmqtrm honors MQFB_QUIT out of the box or not. not a hard change to make, though.
Back to top
View user's profile Send private message
chenna.hari
PostPosted: Fri Aug 13, 2010 6:18 am    Post subject: Reply with quote

Centurion

Joined: 21 Mar 2009
Posts: 103

iam running runmqtrm in /opt/mqm/bin/ in linux terminal

the command is
runmqtrm -m Queuemanager -q initiationqueue

so do i need to press CTRL+C key to terminate this process?????

Please kindly confirm.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Aug 13, 2010 8:50 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

The trigger monitor should be run as a background process.
You can get the QMGR to do it for you by the appropriate config commands.
OR you can start it yourself as you have done.
However the example you gave will run it as a 'foreground' process.
Just re run the command again and put an & (ampersand) character at the end of the command.
Then it will sit in the background until you logout.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
chenna.hari
PostPosted: Fri Aug 13, 2010 10:03 am    Post subject: Reply with quote

Centurion

Joined: 21 Mar 2009
Posts: 103

Thanks.

so do i need to run the command in a terminal as below?

runmqtrm -m Queuemanager -q initiationQueue &

and i dont want this command to be terminated if i logout, this command should be run always.

do i need to kill the runmqtrm process if i want to stop and start the Queuemanager??
and also can you please tell how can i kill this runmqtrm.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Aug 13, 2010 10:31 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Which is why you can set the Trigger Monitor up us a servce in the QM.
Back in the old days there were lots of issues about things like this. If you search the MQ forums here you will find them in all their glory.

What you want is really how the QM processes themselves run.
Your Linux SysAdmin should be able to help you start the Trigger Monitor off if you don't want to run it in the QM Context.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Aug 13, 2010 11:09 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

mods please move this to a different forum, it's not a Broker question.

chenna.hari - you really do need to be discussing this with your systems administration team. They are in a much better position to assist you with this than we are, in particular with explaining how unix shells work and how to manage long running processes.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Aug 13, 2010 12:48 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

when you shut down the qmgr the trigger monitor will shutdown automatically. Same thing if you set the trigger monitor queue to get disabled.
runmqtrm is a well behaved program...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Need help to Terminate runmqtrm trigger monitor in Linux
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.