Forum Discussion

oz_109456's avatar
oz_109456
Icon for Nimbostratus rankNimbostratus
Jan 18, 2012

Healthcheck-multiple websites using headers with single ip

I have multiple similar webservers with atleast 20 different websites running in windows IIS environment. I am using headers redirect in IIS for all websites as i dont have a lot of ip addresses. All the webservers are in a single pool with virtual ip address. I would like to setup a monitor which will monitor if one of the websites on a server goes offline it will continue to accept connections for other websites and load balance instead of marking the server offline and send an email alert specifying the specific website is down on specific node in the pool.

 

  • Hi OZ,

     

     

    You can specify a host header in the HTTP/S monitor send string:

     

     

    GET /file.html HTTP/1.1\r\nHost: myhost.example.com\r\nConnection: Close\r\n\r\n

     

     

    So you can create a pool and monitor per web site. If you associate a monitor with the pool (not a node) and that pool member gets marked down, it will not affect the same IP:port configured as a member in a different pool.

     

     

    Aaron