Application Delivery (ADX)

Reply
New Contributor
Posts: 2
Registered: ‎11-27-2016

load balancer configuration question

Hi,

 

So we have a F5 as well as Brocade and I was able to do this on the F5 but I am having trouble with Brocade.

Basically I have 2 Real Servers who need to be listening on Port 81 and binding through HTTP to two different VIPS

 

Server1:81
Server2:81

 

I have 2 different healthchecks (created through port policy) and 2 different VIPS

Healthcheck1
Healthcheck2

 

Vip1
Bind http server1 81 server2 81

 

Vip2
Bind http server1 81 server2 81


If I only had one VIP it works.

 

So I would have done the following.

server port-policy sdp-qahttp
  port http
  protocol http
  protocol http url "GET /sdp-qa-imalive.html"
  protocol http status-code 200 200
  retries 3

 

server port-policy cmbq-qahttp
  port http
  protocol http
  protocol http url "GET /cmpb-qa-imalive.html"
  protocol http status-code 200 200
  retries 3

 

server real CMPBWEBQA01 x.x.x.x
source-nat
source-ip x.x.x.x
port http
port http use-port-policy sdp-qahttp
port http keepalive
port 81
port 81 keepalive

 

server virtual sdp-qa x.x.x.x
sym-priority 150
dyn-sym-pri-factor 75
port http sticky
no port http translate
port http reset-on-port-fail
bind http CMPBWEBQA01 81 CMPBWEBQA02 81

 

I have tried using port-policy on port 81 and that doesn’t seem to work for some reason.

 

So I think what I need is a way to be able to use this setup on more than one VIP with a different HTTP healthcheck and same listening port.

I hope you undestand

http://sdp-qa.**filtered**.xx/

VIP: x.x.x.x

http://sdp-qa.statcan.ca/a-imalive.html
Port 80
Pool Members IPs
CMPBWEBQA01 x.x.x.x 81
CMPBWBEQA02 x.x.x.x 81


http://cmpb-qa.**filtered**.xx

VIP: x.x.x.x

http://cmpb-qa.**filtered**.xx/cmpb-qa-imalive.html
Port 80
Pool Members IPs
CMPBWEBQA01 x.x.x.x 81
CMPBWBEQA02 x.x.x.x 81

 

Thanks

Brocade Moderator
Posts: 224
Registered: ‎06-30-2010

Re: load balancer configuration question

Hi,

 

Prior to ServerIron ADX 12.4 this was acheived using an alias port as it is not possible to directly bind same server real to two VIPs, so in your example the configuration would be as follows

 

server real CMPBWEBQA01 x.x.x.x
source-nat
source-ip x.x.x.x
port http
port http use-port-policy sdp-qahttp
port http keepalive
port 81
port 81 keepalive

port 8081

 

server real CMPBWEBQA02 x.x.x.x
source-nat
source-ip x.x.x.x
port http
port http use-port-policy sdp-qahttp
port http keepalive
port 81
port 81 keepalive

port 8081

 

server virtual sdp-qa x.x.x.x
sym-priority 150
dyn-sym-pri-factor 75
port http sticky
no port http translate
port http reset-on-port-fail
bind http CMPBWEBQA01 81 CMPBWEBQA02 81

 

server virtual sdp-qa2 x.x.x.x
sym-priority 150
dyn-sym-pri-factor 75
port http sticky
no port http translate
port http reset-on-port-fail
bind http CMPBWEBQA01 8081 real-port 81 CMPBWEBQA02 8081 real-port 81

 

so in your example the configuration would be as follows The alias port, in this case 8081 can be any port number this is an arbitrary value and is used to get over the limitation.

 

Hope this helps

 

Mick


If my response has solved your query please click the "Accept as Solution" button.

Any and all information provided by me is not reviewed, approved or endorsed by Brocade and is provided solely as a convenience for Brocade customers.

All systems and all networks are different and unique. If you have a service affecting network problem, please open a TAC service request for service through Brocade, or through your OEM equipment provider.

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.