| Author | 
		  Message
		 | 
		
		  | boaz | 
		  
		    
			  
				 Posted: Tue Aug 27, 2002 7:02 am    Post subject: Defining multiple ports with only one queue manager | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 28 May 2002 Posts: 43
  
  | 
		  
		    
			  
				In the MQSeries Clients:
 
http://www-3.ibm.com/software/ts/mqseries/library/manualsa/csqzaf/csqzaf19.htm
 
It says:  you can define multiple ports with only one queue manager..
 
How to do that? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bower5932 | 
		  
		    
			  
				 Posted: Tue Aug 27, 2002 11:27 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | boaz | 
		  
		    
			  
				 Posted: Wed Aug 28, 2002 3:34 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 28 May 2002 Posts: 43
  
  | 
		  
		    
			  
				| Thanks but I didnt find how to define multiple ports per queue manager? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | aadooley | 
		  
		    
			  
				 Posted: Wed Aug 28, 2002 6:27 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 27 Aug 2002 Posts: 6
  
  | 
		  
		    
			  
				You may want to read the reply given in the topic "Assigning a port number?????". It will point you in the right direction. _________________ Thanx,
 
 
Alicia | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | boaz | 
		  
		    
			  
				 Posted: Wed Aug 28, 2002 6:32 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 28 May 2002 Posts: 43
  
  | 
		  
		    
			  
				Thanks,
 
Seen that, But it says nothing on assigning multiple ports to ONE queue manager. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | aadooley | 
		  
		    
			  
				 Posted: Wed Aug 28, 2002 6:34 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 27 Aug 2002 Posts: 6
  
  | 
		  
		    
			  
				The queue manager uses the listeners to monitor the ports.  You have to define multiple listeners in order for the queue manager to monitor more than one port. _________________ Thanx,
 
 
Alicia | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | boaz | 
		  
		    
			  
				 Posted: Wed Aug 28, 2002 7:07 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 28 May 2002 Posts: 43
  
  | 
		  
		    
			  
				Can I add multiple listeners per one Queue Manager (on AIX) using INETD file and inetd.conf:
 
 
MQSeries1 1414/tcp
 
MQSeries2 1822/tcp
 
 
MQSeries1 stream tcp nowait mqm /mqmtop/bin/amqcrsta amqcrsta -mQM1
 
 
MQSeries2 stream tcp nowait mqm /mqmtop/bin/amqcrsta amqcrsta -mQM1
 
 
 
or:
 
runmqlsr -t tcp -m QM1 -p 1414
 
runmqlsr -t tcp -m QM1 -p 1822
 
 
What should I add to the qm.ini file under the TCP stanza? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bower5932 | 
		  
		    
			  
				 Posted: Wed Aug 28, 2002 10:27 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA 
  | 
		  
		    
			  
				Using the multiple entries in services, inetd.conf is what you want.  You can also use multiple runmqlsr's.  I don't know of anything that you would put in the TCP section of the ini file.
 
 
Also, I've always put a space between the -m and the qmgr name.  I'm not sure if it is required or not......
  Last edited by bower5932 on Wed Aug 28, 2002 10:28 am; edited 1 time in total | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Wed Aug 28, 2002 10:27 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA 
  | 
		  
		    
			  
				You dont need anything under the TCP Stanza in the qm.ini for this issue _________________ Jeff 
 
 
IBM Certified Developer MQSeries
 
IBM Certified Specialist MQSeries
 
IBM Certified Solutions Expert MQSeries | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |