Lighttpd health monitor on F5 Big IP Load balancer

If you are trying to use F5 Big IP LTM (Local Traffic Manager) to load balance webservers running Lighttpd and have configured default http health monitor from F5, you would notice that the F5 would treat the servers as non responsive and mark then down.

This is because the send string in the default monitor is configured as GET /\r\n which is not accepted by few standard webservers like lighttpd.

Lighttpd-G5-001

A simple solution to this problem is to create a custom monitor with the help of default http monitor.

Navigate to Local Traffic –> Monitors and click either +sign next to monitors or click on Create at the top right of the window

Lighttpd-G5-002

This would open up a new monitor creation page

Lighttpd-G5-003

Fill in a name and optional description and select http from the dropdown of Type field

Lighttpd-G5-004

Now configuration fields will show up and we just need to type GET / HTTP/1.0\r\n\r\n in the Send String and click Finished to create the monitor.

Lighttpd-G5-005

Now go to the properties of Lighttpd server pool and you can see your new lighttpd health monitor listed in the available list of monitors

Lighttpd-G5-006

Now select and add it to active list of health monitors for the pool and click Update to apply the setting to start monitoring the Pool Members

Lighttpd-G5-007

You can check the Pool Member Properties to see if the new monitor is working as expected

Lighttpd-G5-008

Was that not easy ?🙂

Note: Screenshots and settings are from box running BIG-IP 11.1.0 Build 2027.0 HF2

Reference:

1. F5 Devcentral

2. F5 PDF Guide for Apache and Tomcat (Page 10 and Page 11)

3. F5 Website

Note: Cross posted from Experience – Inspire – Contribute.
Permalink

One thought on “Lighttpd health monitor on F5 Big IP Load balancer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s