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 IBM MQ Support » How to Batch start/stop of Trigger Monitor service

Post new topic  Reply to topic
 How to Batch start/stop of Trigger Monitor service « View previous topic :: View next topic » 
Author Message
jkuehn
PostPosted: Wed Jul 07, 2004 10:46 am    Post subject: How to Batch start/stop of Trigger Monitor service Reply with quote

Newbie

Joined: 17 Dec 2003
Posts: 4
Location: Halifax, Nova Scotia, Canada

I have reviewed the knowledge base and the Admin guide but I cannot figure this one out. Is there a way to batch script a (the) Trigger Monitor service to stop and then to start. I can do this only through MQServices Explorer at this time.

We have a TCP connection issue where connection to MQ is lost and the Server Connection Channel fails. At this point, the Trigger monitor process is still running. However the MQ Java process to take messages from a monitored queue on first appearance of a message no longer works. The Java process fails with a memory read or write exception.

We are running MQ 5.3, CSD05 which is supposed to fix the TCP connection problem but does not.

I need to stop the Trigger Monitor to clear the Open Input count, clear the messages on the Trigger initiation queue, and then start the Trigger monitor services as a manual workaround.

Can anyone tell me how to do this?
_________________
John Kuehn
Senior Software Product Analyst
ITOS Systems Enablement
Maritime Life Assurance Co.
(902) 453-7307
jkuehn@maritimelife.ca
Back to top
View user's profile Send private message Send e-mail Visit poster's website
RogerLacroix
PostPosted: Wed Jul 07, 2004 1:22 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Look up amqmdain - it does what want.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Wed Jul 07, 2004 2:12 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Actually, Roger, amqmdain doesn't allow you to stop and start trigger monitors as far as I know.

http://www.mqseries.net/phpBB2/viewtopic.php?t=14605
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Jul 07, 2004 2:57 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hummm, scratch, scratch.

You can create a trigger monitor service with amqmdain but you cannot stop and start it!! Very strange of IBM.

Well then, the cleanest way that I can think of is to Get Inhibit the INITQ for the trigger monitor but after resetting Get Inhibit attribute, I don't know how to start it.

Maybe SupportPac MA7K will install as a regular Windows service and then you could use net start xxxx and net stop xxxxx.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
JasonE
PostPosted: Thu Jul 08, 2004 1:31 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

As you said, there is no way to start and stop the child services of a queue manager from the command line - its something 'missing' from amqmdain, I guess. One would imagine it is the sort of thing that would be resolved in the future

Therefore the only way I can think of is to either use the support pack or srvany to produce a service, and make the service depend on the MQ service, and you can start and stop it independantly. Or to restart the trigger monitor, amqmdain end, amqmdain start the qmgr...!
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Thu Jul 08, 2004 8:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Jason, CSD08 maybe.??
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
JasonE
PostPosted: Thu Jul 08, 2004 8:47 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

You have high hopes for fixpack 8

Unfortunately fixing bugs is easier than changing product externals, so changes to published interfaces to things like amqmdain need to go through the development cycle, and wouldnt be considered for a current release...
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jul 08, 2004 9:48 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

But 'bugs' are just undocumented features, right?

So if this is an unimplemented feature, it clearly can't be documented...

Which must make it a bug!
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Thu Jul 08, 2004 1:07 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Jeff, I like your logic.

Regards,
Roger
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to Batch start/stop of Trigger Monitor service
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.