How to Healthcheck on Multiple Sites

If you have multiple sites or hostnames off one IP, you will want to get a health check on each site so you can see if one site is having problems over another.  To do this, create a SubVS for each site and also content matching rules for each hostname.'

To begin, create two content rules to match two different hostnames; site1.com and site2.com.  Rules & Checking > Content Rules.

1.jpg

  Now, create the VS with two SubVS, one SubVS for each respective site.   3.JPG1. Enable Content Switching inside the parent VS under Advanced Properties

2. Assign the rules you just created to each SubVS. For each site you must click “none” then assign the proper content rule to it.'

4.JPG

5.jpg

6.jpg

For each SubVS, specify hostnames within the Real Server check parameters.  Check HTTP/1.1 Host.  After this is done, specify a host header to be sent to the real server.  

7.JPG

8.JPG

The LM sends this hostname to the real server for the healthchecks.  Verify this is the request using a packet capture.

12.JPG

This is also reflected on view/modify services tab where both SubVSs show as green and up.

13.JPG

   

Was this article helpful?

0 out of 0 found this helpful

Comments