Author |
Message
|
lenb |
Posted: Wed Mar 06, 2002 2:48 pm Post subject: |
|
|
Newbie
Joined: 05 Mar 2002 Posts: 3
|
Is there an elegant way to stop a trigger monitor on Solaris? Right now we are just killing the PID.
|
|
Back to top |
|
 |
muralidhar |
Posted: Wed Mar 06, 2002 4:27 pm Post subject: |
|
|
 Acolyte
Joined: 28 Feb 2002 Posts: 50
|
On Windows 2000 I created Trigger moniter as a MQ Service. I start and stop the service as required(usally it is always running). You can try this on solaris. |
|
Back to top |
|
 |
StefanSievert |
Posted: Wed Mar 06, 2002 5:25 pm Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
Hi,
don't know if you can call this 'elegant', but you can GET(DISABLE) the initiation queue the trigger monitor has open for input. That'll bring it down gracefully (i.e. it MQCLOSES and MQDISCs).
HTH,
Stefan
_________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
Back to top |
|
 |
RogerLacroix |
Posted: Wed Mar 06, 2002 9:20 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
I'm not sure why you want to stop the trigger monitor but if it is because you want to recycle the queue manager then don't worry. The queue manager will issue a "MQRC_Q_MGR_QUIESCING" reason code to the trigger monitor and it will end normally (assuming you are using the IBM supplied trigger monitor).
later
Roger...
|
|
Back to top |
|
 |
lenb |
Posted: Thu Mar 07, 2002 6:49 am Post subject: |
|
|
Newbie
Joined: 05 Mar 2002 Posts: 3
|
Roger
We are in a test environment and the testers want to examine the contents of the application queues prior to having the downstream processes pick up the messages. I was hoping that there was a method similar to 'endmqm' for stopping a specific trigger monitor without bouncing the Q Manager.
len |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Mar 07, 2002 6:57 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
The get disable or killing the PID is about the only 2 ways to do it without
recycling the Queue Manager
_________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Mar 07, 2002 7:38 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Why not just turn triggering off on the queue? Browse the messages, turn triggering back on, then drop one more test message (after triggerinterval has passed for TriggerFirst queues) to kickstart the triggering.
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
lenb |
Posted: Thu Mar 07, 2002 7:59 am Post subject: |
|
|
Newbie
Joined: 05 Mar 2002 Posts: 3
|
good suggestions one and all....thx |
|
Back to top |
|
 |
|