Forum Discussion

Steve_89474's avatar
Steve_89474
Icon for Nimbostratus rankNimbostratus
Apr 02, 2009

LTM monitors with IIS host headers, can it be done?

I want to set up a Monitor for an IP, but this IP is used by several different IIS Web Sites which are looking for a host header (www.app1.domain.com, www.app2.domain.com, etc.) to direct the request to the correct web site. How can I set up a monitor to determine if IIS is serving up pages on this IP?
  • you mean you want to monitor them outside the LTMs monitor?

     

     

    Thanks,

     

    CB

     

  • In BIG-IP Local Traffic Manager, I can set up something called a "Monitor". In the monitor I tell it what page to request and what the response should be if it is successful. I can then apply this monitor to a Pool as a health monitor.

     

    The problem is that this Health Monitor request gets sent to each IP/Server in the Pool, but on each server IIS is configured to use the same IP address for many different web sites. IIS is expecting to see a host header value (Ex: www.app1.somedomain.com or www.app2.somedomain.com)

     

    in order to determine which website (home directory) to direct the request to. But I don't know how to attach a host header to a BIG-IP Health Monitor.

     

    Thanks,

     

    SF
  •  

    Here is how you can create each monitor with the domain name

     

     

    send string: GET /main.html HTTP/1.1\nHost: www.app1.somedomain.com \nConnection: close\n\n

     

    receive string: Blah Blah

     

     

    Hope this helps

     

     

    CB