Application Delivery (ADX)

Reply
Occasional Contributor
Posts: 5
Registered: ‎11-08-2010

Match lists and HTTP health checks

I have been attempting to get a match list to work with an HTTP health check. I have two real servers setup in round-robin. They each load a very simple HTML page (index.html) that has some phrase which contains the word "Hi" on it.

We created a match list as follows:

http match-list cypressck
default down
up simple Hi

And then applied the match list to each of the real-servers in our pool:

server real FakeCypress 10.6.94.3
port http
port http url "GET /index.html"
port http content-match cypressck

server real FakeCypress2 10.6.94.4
port http
port http url "GET /index.html"
port http content-match cypressck


This check "seems" to work fine so long as /index.html contains the string that says "Hi." At least, the port is marked as healthy and traffic is load-balanced as expected.


However, when we modify the html file so that the content-match will fail for one of the servers, I immediately get port-flapping on both servers.


This is the running config:

!

context allservers

!

server remote-name FakeCypress 10.6.94.3

source-nat

port http

port http keepalive

port http url "GET /index.html"

port http status-code  200 299

port http content-match cypressck

!

server remote-name FakeCypress2 10.6.94.4

source-nat

port http

port http keepalive

port http url "GET /index.html"

port http status-code  200 299

port http content-match cypressck

!

!

server virtual Void1 10.6.93.10

sym-priority 110

sym-active

predictor round-robin

port http

bind http FakeCypress http FakeCypress2 http

!

end

Occasional Contributor
Posts: 9
Registered: ‎01-05-2010

Re: Match lists and HTTP health checks

The flapping could be happening because the healthcheck passes at layer 4, but layer 7 healthcheck fails. Please add the command 'server no-fast-bringup', this ensures both layer 4 and layer 7 are up before the server is made active.

Join the Community

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

Download FREE NVMe eBook