|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to remove a client trigger monitor |
« View previous topic :: View next topic » |
Author |
Message
|
pasha.mq |
Posted: Fri Sep 21, 2012 4:55 pm Post subject: How to remove a client trigger monitor |
|
|
Newbie
Joined: 12 Sep 2012 Posts: 9
|
Hi, I have a situation where 2 client trigger monitors are listening to a single queue on the remote MQ server. My requirement is to stop/shutdown one of the client trigmons and prevent it from running while letting the other one to run. I am not sure how to do it.
I tried killing the runmqtmc process that polls the init queue, but it is getting restarted automatically after few minutes. So my question are:
1. What is the correct way of decommisioning/shutting down a client trigmon and prevent it from triggering?
2. What process is restarting the client trigmon process(runmqtmc) after it was manually killed by a mqm user.
3. There is a script which contains the code to start the runmqtmc process. I am thinking that some process is executing that script to restart the runmqtmc. Not sure how to find it.
I read the mq documentation and it says trigmon ends only when qmgr is shutdown. But i cant shutdown the qmgr, because I still want the trigmon on the other m/c to run.
Appreciate your insight on this. Thanks. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Sep 21, 2012 5:07 pm Post subject: Re: How to remove a client trigger monitor |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
pasha.mq wrote: |
1. What is the correct way of decommisioning/shutting down a client trigmon and prevent it from triggering? |
If you disable the triggered queue, no more triggers will fire.
pasha.mq wrote: |
2. What process is restarting the client trigmon process(runmqtmc) after it was manually killed by a mqm user. |
Can't tell from here. Read on...
pasha.mq wrote: |
3. There is a script which contains the code to start the runmqtmc process. I am thinking that some process is executing that script to restart the runmqtmc. Not sure how to find it. |
Run a search/find (platform-dependent) files that contain runmqtmc.
pasha.mq wrote: |
I read the mq documentation and it says trigmon ends only when qmgr is shutdown. But i cant shutdown the qmgr, because I still want the trigmon on the other m/c to run. |
True, if the trigger monitor runs as a service of the qmgr. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
pasha.mq |
Posted: Fri Sep 21, 2012 5:22 pm Post subject: Re: How to remove a client trigger monitor |
|
|
Newbie
Joined: 12 Sep 2012 Posts: 9
|
bruce2359 wrote: |
pasha.mq wrote: |
1. What is the correct way of decommisioning/shutting down a client trigmon and prevent it from triggering? |
If you disable the triggered queue, no more triggers will fire. |
Thanks Bruce. I know this method, but I can't do it, because, it will stop all the client trig mons polling that queue. My objective is to stop only one of the client trig mons running on the app server, without making any changes to appln queue trigger setup on the MQ server. fyi - both the client trig mons are connected to the QM queue via the same channel. So, I cant even stop the channel. Appreciate your response. Thanks. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Sep 21, 2012 10:13 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Think rationally. Hopefully you have allocated different channels for each client trigger monitor. Shut down the channel of the one you want to evict.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mvic |
Posted: Sat Sep 22, 2012 2:19 am Post subject: Re: How to remove a client trigger monitor |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
pasha.mq wrote: |
1. What is the correct way of decommisioning/shutting down a client trigmon and prevent it from triggering? |
Simply end it and then choose not to start it.
Quote: |
2. What process is restarting the client trigmon process(runmqtmc) after it was manually killed by a mqm user. |
Maybe it is being started from a cron job.
If you are out of other ideas, look into whatever auditing/monitoring your OS gives you.
Quote: |
3. There is a script which contains the code to start the runmqtmc process. I am thinking that some process is executing that script to restart the runmqtmc. Not sure how to find it. |
So 3 is an answer to 2? I don't think we can tell you what starts your script - if you can't solve this, get help from the OS, as in 2 above.
Quote: |
I read the mq documentation and it says trigmon ends only when qmgr is shutdown. But i cant shutdown the qmgr, because I still want the trigmon on the other m/c to run. |
What is the page URL for that? Trigger monitors are MQ applications - you start them when you want them to run, and stop them when you want them to stop. And yes, when the the qmgr ends, the trigger monitor to end because it is an MQ application. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|