Author |
Message
|
casedin |
Posted: Mon Nov 19, 2007 3:55 am Post subject: Stop a trigger monitor |
|
|
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 |
|
 |
Nigelg |
Posted: Mon Nov 19, 2007 4:05 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Mon Nov 19, 2007 4:25 am Post subject: Re: Stop a trigger monitor |
|
|
 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 |
|
 |
casedin |
Posted: Mon Nov 19, 2007 5:15 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Mon Nov 19, 2007 5:24 am Post subject: |
|
|
 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 |
|
 |
gunter |
Posted: Mon Nov 19, 2007 7:30 am Post subject: |
|
|
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 |
|
 |
|