fir3net
PPS-Firenetbanner-780.5x190-30-03-17

Brocade ADX - Match-list Port Policy

A match-list provides the ability to content match string based values and mark the application (layer 7) based health-check as either up or down.
When assigning a match-list health-check the match-list is assigned to a port policy. This port policy is then assigned to the virtual server.

Steps

1. First we enable Layer 7 health-checks on the webserver

server real webserver1
  port http keepalive

2. When next create a match-list which will bring up the health-check if the string ALIVE is found within the content received from the HTTP /GET that is issues under the port policy.

http match-list matchlist1
  default down
  up simple "ALIVE" log

3. A port policy is created and assigned the port http and configuring to perform a HTTP GET /  and content-match against our previous match-list.

server port-policy ppolicy1
  port http
  protocol http url "GET /"
  protocol http content-match matchlist1

3. Finally the port policy is assigned to the virtual server.

server virtual VIP_192.168.1.100
  port http use-port-policy ppolicy1

Show Commands

The following show commands are especially useful in confirm the status and troubleshooting match-list based health-checks.

  • show commands
  • show http match-list
  • show server bind
  • show log

About the Author

RDonato

R Donato

Rick Donato is the Founder and Chief Editor of Fir3net.com. He currently works as a Principal Network Security Engineer and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001