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 » WebSphere Message Broker (ACE) Support » Another Question about Client Trigger Monitor

Post new topic  Reply to topic
 Another Question about Client Trigger Monitor « View previous topic :: View next topic » 
Author Message
DanielSonFocus
PostPosted: Tue Jul 19, 2005 9:22 am    Post subject: Another Question about Client Trigger Monitor Reply with quote

Apprentice

Joined: 05 Jun 2005
Posts: 35
Location: Louisville, Kentucky

Hi,

im running "runmqtmc" on an AIX box and it's pointing to a QM/INIT_Q on a remote machine.. runmqtmc works fine and my app is being triggered correctly. My question is, how do i ensure that runmqtmc will be running all the time. I'm thinking i'll write a script that keeps grepping for runmqtmc in "ps -ef" and start it up again in case it comes down... are there any best practices that address the issue of runmqtmc going down?
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Jul 19, 2005 11:30 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I don't know about UNIX, on Windows I have used a BAT file that runs the client trigger monitor in a loop - so if it ends it starts again. I put a 30 second delay in the loop so that it would not restart too quickly (as the queue manager might be down).

However IBM more recently made the Windows client trigger monitor available as a Windows service, and there are various ways to check that services are running.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Jul 20, 2005 2:50 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

It depends how important it is for the applications be to triggered in a timely fashion. If you can afford for the trigger monitor to be down for up to five minutes, I'd setup a cron job that ran every five minutes and check (via ps) that the trigger monitor is running.

This way, you don't have to worry about your "checked' job itself going down. (I suppose you could have a continuously running checker job and then have a cron job that runs to check that the checker job is running )
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
elvis_gn
PostPosted: Wed Jul 20, 2005 3:54 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

I have never worked on AIX so can some one clarify this doubt:

In windows we can set a trigger monitor which will reun the moment the queue manager is started...and will run until QM stops.

Is this not possible in AIX...or am i not seeing the whole picture here ??
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Jul 20, 2005 4:05 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

elvis_gn wrote:
I have never worked on AIX so can some one clarify this doubt:

In windows we can set a trigger monitor which will reun the moment the queue manager is started...and will run until QM stops.

Is this not possible in AIX...

You can configure custom services with MQ in Unix, I believe. If so, it would be possible to configure a custom service that ran runmqtrm in sync with the QM.

elvis_gn wrote:
or am i not seeing the whole picture here ??


Yes, you're missing the fact that he's using runmqtmc and said "Client". So the QM is on another machine... very hard to coordinate services across machines.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
DanielSonFocus
PostPosted: Wed Jul 20, 2005 7:54 am    Post subject: Reply with quote

Apprentice

Joined: 05 Jun 2005
Posts: 35
Location: Louisville, Kentucky

Thanks for all the input.. i think Wayne's solution makes the most sense. ill run a cron job that checks if "runmqtmc" is running, if not it will restart the process.
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 » WebSphere Message Broker (ACE) Support » Another Question about Client 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.