Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

Monitoring poolmember thru html return code

We like to change the way the loadbalancers monitor the poolmembers. Currently, the LB check if a specific port is available/accessible. To give us some flexibility to exclude a poolmember temporarily, we want the LB to check an URL and verify the html return code.

I will give an example. The LB should: • check an URL something like http://rbcdevesh210:8081/alive/1.0/alive; • verify the html return code is ‘200’; • use the response time to determine which poolmember is the fastest.

May I ask if this is possible?

0
Rate this Question
Comments on this Question
Comment made 1 week ago by Dan Pacheco 169

You are describing two separate features. First is a “http health monitor” to send an http request and receive a http status code back. Secondly distribution method “response time”.

There are several knowledge base articles that describe how to set up health checks in detail. https://support.f5.com/csp/article/K2167

If you still have questions after reading this post back.

0
Comment made 1 week ago by Dan Pacheco 169

Also don’t forget to use the full http hostname, not just the short name that you have in your example above.

0
Comment made 1 week ago by markymark 2

Ok, how about using the response time to determine which poolmember is the fastest? Do we have this kind of feature in F5?

0

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

To check if response code is 200 for URL http://rbcdevesh210:8081/alive/1.0/alive use following configuration

send string

 GET /alive/1.0/alive HTTP/1.1\r\nHost: rbcdevesh210:8081\r\nConnection: Close\r\n\r\n

and in receive string

HTTP/1.[01] 200

to load balance with priority based on response speed, use fastest(member) load balancing method

0