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 » General Discussion » Stop a trigger monitor

Post new topic  Reply to topic
 Stop a trigger monitor « View previous topic :: View next topic » 
Author Message
casedin
PostPosted: Mon Nov 19, 2007 3:55 am    Post subject: Stop a trigger monitor Reply with quote

Newbie

Joined: 03 Nov 2007
Posts: 7

Hi, all!

Is there a command on MQSeries to stop only one trigger monitor?

On the doc, the only way of stopping a trigger is stopping the Queue Manager.
In my opinion it would be great if mqseries had a command like end trigger mon.

Thanks,
Carla
Back to top
View user's profile Send private message
Nigelg
PostPosted: Mon Nov 19, 2007 4:05 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

If the trigger monitor is running as a service, use the STOP SERVICE command.
Alternatively:
press CTRL-C in the window where the trigger monitor is running
GET DISABLE the initiation queue
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Nov 19, 2007 4:25 am    Post subject: Re: Stop a trigger monitor Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

casedin wrote:
On the doc, the only way of stopping a trigger is stopping the Queue Manager.
In my opinion it would be great if mqseries had a command like end trigger mon.


It's only a process. Stop it using the normal metods. In some cases, stopping the queue manager won't stop it.....

Note that there's no requirement for you to use the supplied trigger monitor - it just makes the most sense in 99% of cases. So it can't be run as a queue manager object in the way the listener can (which has no user written analog).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
casedin
PostPosted: Mon Nov 19, 2007 5:15 am    Post subject: Reply with quote

Newbie

Joined: 03 Nov 2007
Posts: 7

I forgot to mention:

I'm v6 on Unix (HP-UX and AIX).

Sorry, I didn't understand....
I`ve created a queue with process and initiation queue.
For start a trigger monitor I use the comand:
runmqtrm -m QM -q initiationqueue

You're suggesting to convert this runmqtrm to a service controled by a QM?
I`ve never done this before.
tks,
Carla
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Nov 19, 2007 5:24 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

casedin wrote:
You're suggesting to convert this runmqtrm to a service controled by a QM?


Vitor wrote:
it can't be run as a queue manager object


It can however be run as a service (on Windows) or a demon (on Unix). In both cases (and for the reasons I outlined) it can't be controlled by the queue manager.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gunter
PostPosted: Mon Nov 19, 2007 7:30 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

Nigelg wrote:
press CTRL-C in the window where the trigger monitor is running
GET DISABLE the initiation queue


If the process is running in the background, kill with SIGINT will do the same for you.
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
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 » General Discussion » Stop a trigger monitor
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.