| Author | Message | 
		
		  | pcelari | 
			  
				|  Posted: Fri Feb 19, 2021 7:27 am    Post subject: Use F5 to front multi-instance QM for outgoing traffic |   |  | 
		
		  | Chevalier
 
 
 Joined: 31 Mar 2006Posts: 411
 Location: New York
 
 | 
			  
				| Greetings... 
 we are setting up a F5 to front a multi-instance QM. For incoming traffic we just need to define a BIG-IP virtual server object like 192.168.9.20:1414 that routes to the active multi-instance host.
 
 But for outgoing traffic that goes through a SDR channel, how can we make them go through the F5 device as well?  By this I mean how to make the fronting F5 behave the same as the VIP that holds a floating IP in a MQAppliance pair?
 
 Appreciate any insight!
 _________________
 pcelari
 -----------------------------------------
 - a master of always being a newbie
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Fri Feb 19, 2021 3:56 pm    Post subject: |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| Have you thought about putting the F5 address into the local address field of th sender channel??  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | pcelari | 
			  
				|  Posted: Mon Feb 22, 2021 7:20 am    Post subject: |   |  | 
		
		  | Chevalier
 
 
 Joined: 31 Mar 2006Posts: 411
 Location: New York
 
 | 
			  
				| 
   
	| fjb_saper wrote: |  
	| Have you thought about putting the F5 address into the local address field of th sender channel??  |  
 Wow.. thanks so much for the insight! have some serious reading work to do...
 
 I remember doing that a few years back related to a firewall issue, but did not fully understand the reason.
 _________________
 pcelari
 -----------------------------------------
 - a master of always being a newbie
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Mon Feb 22, 2021 11:30 am    Post subject: |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| There are two major behaviors there. Whereas the listener may well bind on all interfaces (you can limit that with locladdress on the listener), the route to the qmgr may not be open on all interfaces.
 
 Choosing a specific ip address in the locladdress is a way to ensure that the return call from the other party is going to choose this address.
 
 The other part is of course specifying a range of ports to ease / enable firewall behavior when the communication gets offloaded from the main (listener) port.
 
 Have fun
  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | pcelari | 
			  
				|  Posted: Tue Mar 02, 2021 12:44 pm    Post subject: |   |  | 
		
		  | Chevalier
 
 
 Joined: 31 Mar 2006Posts: 411
 Location: New York
 
 | 
			  
				| 
   
	| fjb_saper wrote: |  
	| There are two major behaviors there. Whereas the listener may well bind on all interfaces (you can limit that with locladdress on the listener), the route to the qmgr may not be open on all interfaces.
 
 Choosing a specific ip address in the locladdress is a way to ensure that the return call from the other party is going to choose this address.
 
 The other part is of course specifying a range of ports to ease / enable firewall behavior when the communication gets offloaded from the main (listener) port.
 
 Have fun
  |  
 thanks much for sharing these! they seems to cover inbound channel and client connections.
 
 my problem is with outbound sender channels sessions. I tried to put F5-vip address in the locladdr field in a sender channel, it didn't connect. I wonder what prevents that from working. Need to do more research. It seems I don't yet have enough understanding of the underling principle behind the use of locladdr.
 _________________
 pcelari
 -----------------------------------------
 - a master of always being a newbie
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Tue Mar 02, 2021 2:13 pm    Post subject: |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| usually if you have a Virtual IP (one that follows you from one server to the other), you put that VIP into the local address. May be it doesn't work for F5 because you can't bind the process to the F5 IP.... Have you tried putting MQIPT in front of the F5?
 
 Like Internet -> MQIPT (in dmz) -> F5 - MI Qmgr  ?
 
 The MQIPT should probably then allow all 3 addresses the 2 MQ and the F5...
 Normally the F5 should handle this as a reverse proxy?
 
 
  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | pcelari | 
			  
				|  Posted: Wed Mar 03, 2021 10:22 am    Post subject: |   |  | 
		
		  | Chevalier
 
 
 Joined: 31 Mar 2006Posts: 411
 Location: New York
 
 | 
			  
				| 
   
	| fjb_saper wrote: |  
	| ... May be it doesn't work for F5 because you can't bind the process to the F5 IP....  |  
 Yes, you are right on!  The channel process can't bind to the F5 IP. I wonder how to enable that? Has anyone able to overcome this?
 
 Here's the error log:
 
 AMQ9248E: The program could not bind to a TCP/IP socket.
 
 EXPLANATION:
 The attempt to bind to socket 'a.b.c.d(0)' failed with return
 code 99. The failing TCP/IP call was 'bind'. The most likely cause of this
 problem is incorrect configuration of the TCP/IP local address or incorrect
 start and end port parameters.
 ACTION:
 Contact the system administrator. If the problem persists save any generated output files and use either the MQ Support site:
 https://www.ibm.com/support/home/, or IBM Support Assistant (ISA):
 https://www.ibm.com/support/home/product/C100515X13178X21/other_software/ibm_support_assistant, to see whether a solution is already available.  If you are unable to find a match, contact your IBM support center.
 _________________
 pcelari
 -----------------------------------------
 - a master of always being a newbie
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | YuliaVaisman | 
			  
				|  Posted: Tue Aug 10, 2021 8:23 pm    Post subject: Did you succeed to put F5 before multi-instance QMGR? |   |  | 
		
		  | Newbie
 
 
 Joined: 20 Mar 2017Posts: 2
 
 
 | 
			  
				| Did you succeed to put F5 before multi-instance QMGR? |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |