Forum Discussion
Steve_89474
Nimbostratus
Apr 02, 2009LTM 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?
4 Replies
- The_Bhattman
Nimbostratus
you mean you want to monitor them outside the LTMs monitor?
Thanks,
CB - Steve_89474
Nimbostratus
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 - The_Bhattman
Nimbostratus
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 - Steve_89474
Nimbostratus
Thanks! I'll give it a try on Monday
SF
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects