{"id":607,"date":"2011-12-02T08:07:47","date_gmt":"2011-12-02T08:07:47","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2011\/12\/02\/brocade-adx-healthcheck-elements\/"},"modified":"2021-07-24T18:23:36","modified_gmt":"2021-07-24T18:23:36","slug":"brocade-adx-healthcheck-elements","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/Loadbalancers\/Brocade\/brocade-adx-healthcheck-elements.html","title":{"rendered":"Brocade ADX – Healthcheck Elements"},"content":{"rendered":"
HealthCheck elements provides the ability to perform boolean based expressions against your healthchecks (AND, OR, and NOT).
In this example we will configure a health check that bring up http on webserver1 if :<\/p>\n
First of all we create 2 match lists that define the content that you wish to match.<\/p>\n
http match-list matchlist1
default down
up simple \"STRING1\" log
http match-list matchlist2
default down
up simple \"STRING2\" log<\/pre>\nNext we create 2 healthcheck elements and assign the preivouly created matchlists to them.
Once this is done we create an additional healthcheck boolean elment, using our 2 previous healthcheck elements. We then assign the AND based boolean expression to it.<\/p>\nhealthck hc1 tcp
dest-ip 192.168.1.20
port http
protocol http
protocol http url \"GET \/\"
protocol http content-match matchlist1
l7-check
healthck hc2 tcp
dest-ip 192.168.1.21
port http
protocol http
protocol http url \"GET \/\"
protocol http content-match matchlist2
l7-check
healthck hcboolean boolean
and hc1 hc2<\/pre>\nOur healthcheck boolean is then assigned to our Virutal Server.<\/p>\n
server real webserver1 192.168.1.10
port http
port http healthck hcand
port http keepalive
port http url \"HEAD \/\"
server real webserver2 192.168.1.20
port http
port http keepalive
port http url \"HEAD \/\"<\/pre>\nCommands<\/strong><\/h2>\n
The following commands are especially useful in confirm the status and troubleshooting match-list based health-checks.<\/p>\n
\n
- show healthck<\/li>\n
- show healthck statistics<\/li>\n
- server no-real-l3-check<\/li>\n
- server no-periodic-arp<\/li>\n
- server no-fast-bringup<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"
HealthCheck elements provides the ability to perform boolean based expressions against your healthchecks (AND, OR, and NOT).In this example we will configure a health check that bring up http on webserver1 if : the string STRING1 is matched within the content retrieved via a HTTP GET \/ from server 192.168.1.20 the string STRING2 is matched … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"yoast_head":"\n
Brocade ADX - Healthcheck Elements - Fir3net<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n