| Author | 
		  Message
		 | 
		
		  | xmitq | 
		  
		    
			  
				 Posted: Tue Oct 14, 2003 4:17 am    Post subject: Starting the MA0C broker automatically | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bower5932 | 
		  
		    
			  
				 Posted: Tue Oct 14, 2003 5:13 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | xmitq | 
		  
		    
			  
				 Posted: Tue Oct 14, 2003 5:38 am    Post subject: Starting MA0C Broker automatically | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Tue Oct 14, 2003 5:59 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | xmitq | 
		  
		    
			  
				 Posted: Tue Oct 14, 2003 6:03 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Tue Oct 14, 2003 6:08 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | EddieA | 
		  
		    
			  
				 Posted: Tue Oct 14, 2003 8:52 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |