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 » IBM MQ Installation/Configuration Support » Starting the MA0C broker automatically

Post new topic  Reply to topic
 Starting the MA0C broker automatically « View previous topic :: View next topic » 
Author Message
xmitq
PostPosted: Tue Oct 14, 2003 4:17 am    Post subject: Starting the MA0C broker automatically Reply with quote

Novice

Joined: 07 Oct 2003
Posts: 16
Location: London

As part of a project I need to start our MA0C broker automatically whenever the NT 4 SP6 machine is rebooted. We are using 5.3 CSD 4.

Does anyone know which registry setting is required to automatically start the broker, or do I have to set up triggering on the system.broker.control.queue?

Thanks in advance
xmitQ
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Tue Oct 14, 2003 5:13 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I just checked out the MA0C manual. It recommends two ways to start the broker - manually and triggering.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
xmitq
PostPosted: Tue Oct 14, 2003 5:38 am    Post subject: Starting MA0C Broker automatically Reply with quote

Novice

Joined: 07 Oct 2003
Posts: 16
Location: London

Thanks, I remember reading that the broker can be started automatically when the machine is rebooted. However I cannot remember where I read it.

I am currently starting is manually, by may have in look at the trigger option if no one can help.
Back to top
View user's profile Send private message Send e-mail
mrlinux
PostPosted: Tue Oct 14, 2003 5:59 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

You can use the srvany.exe to turn it into an NT Service and this will get you the automatic startup
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
xmitq
PostPosted: Tue Oct 14, 2003 6:03 am    Post subject: Reply with quote

Novice

Joined: 07 Oct 2003
Posts: 16
Location: London

Thank you.

I will try this. I assume there is room within the service for the queue manager parameters?

strmqbrk -m qmgrname
Back to top
View user's profile Send private message Send e-mail
mrlinux
PostPosted: Tue Oct 14, 2003 6:08 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Yes you can specify any parameters you need. I have used in the past to
call a batch file and inside the batch file:

call program (program only returns under a failure)
sleep 15 minutes
goto call program .

This provides an easy restart if the queue manager is restarted.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Tue Oct 14, 2003 8:52 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

For NT, you can also add it as a 'Custom Service' in the Services GUI. That gives the ability to start and stop it at the same time as the Queue Manager.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » IBM MQ Installation/Configuration Support » Starting the MA0C broker automatically
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.