Forum Discussion
Multiple sites one server health check
We have multiple customers sites hosted on the same web server and I'm trying to configure a health check that accurately monitors each site. We currently house about 250 customers on about 20 web servers (10 to 20 customers behind each VS) and I'm trying to get away from having to write a customized health check for each customer. The server determines which customer site to send the request to based upon the customer name in the http header. Any ideas?
1 Reply
- Brad_Parker
Cirrus
You can attached multiple HTTP/S monitors to the one pool if that's what you want to do, but that will mark a server down for all sites with that setup. You may want to consider using multiple pools each with the unique HTTP/S monitor for each site. The you can use an iRule that will do L7 load balancing for each host header, that way each site can be monitored independently when behind one VIP.
You could create each pool with the name of the host header(www.yoursite.com_pool) and use a iRule like this. You would still need a default pool for your site just in-case you don't have a pool for an unknown host hear if you want to handle that traffic with a catch all site.
when HTTP_REQUEST { pool "[string tolower [HTTP::host]]_pool" }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com