Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

LTM Monitoring IIS and Webserver Binding

kgaigl
Cirrocumulus
Cirrocumulus

Hello,

we've got a VS for 2 MS IIS Webserver.

Question: if I configure the Pool with regular Nodes, the Monitor connects the Nodes with the IP Adress, right?

Then I've got a problem with the Webserver-Binding (only Bindings for hostname and Website-Name)

What if I configure the Pool with fqdn-Node? Is it sure, Monitor connects with hostname?

when I make from BIG-IP a

 

curl -k  https://webbvk1.bvk.int/Smoke-Test

 

I get the Response

 

...Smoketest...

 

but with a Pool with webbvk1.bvk.int and webbvk2.bvk.int as fqdn-Node, the members are marked as down.

webbvk1 & 2 are CNAMEs

Send-String:

 

HEAD /Smoke-Test HTTP/1.0\r\n\r\n

 

Receive-String:

 

Smoketest

 

 any Idea, where I could look for? Or a Problem with the IIS?

Thank you

1 ACCEPTED SOLUTION

kgaigl
Cirrocumulus
Cirrocumulus

Ok, now it's ok:

The IIS does not like health-Checks without User-Agent, so inserting "User-Agent: F5Monitor" was the solution

View solution in original post

6 REPLIES 6

Simply configure a new monitor with a http host header.

HEAD / HTTP/1.1\r\nHost: <hostname>\r\nUser-Agent: F5Monitor\r\nConnection: close\r\n\r\n

Replace <hostname> with the desired hostname.

Take a look here:

https://my.f5.com/manage/s/article/K2167

So, for your example, you will want an HTTP protocol and send string that supports host headers for virtual hosting support. So, in your case, it would be something like that following:

GET /Smoke-Test HTTP/1.1\r\nHost: webbvk1.bvk.int\r\nConnection: Close\r\n\r\n

kgaigl
Cirrocumulus
Cirrocumulus

Thank you, but another question:

CNAME webbvk1 is on Member A and CNAME webbvk2 is on Member B, and of course I need to monitor both Member.

when I insert the hostname in the send-string, I only monitor webbvk1, or am I wrong?

A monitor connects always to the pool members it is attached to. The send string does not affect this. You need for each send string a separate monitor and attach it individually to the pool members.

kgaigl
Cirrocumulus
Cirrocumulus

Thank you, I've got now member-specific monitors, but something's very strange here:

when I do a curl -k https://webbvk2.bvk.int/Smoke-Test , the Server response is 200, fine.

But the Server logs a 302, when the health-check is in progress, so the server is marked down.

kgaigl
Cirrocumulus
Cirrocumulus

Ok, now it's ok:

The IIS does not like health-Checks without User-Agent, so inserting "User-Agent: F5Monitor" was the solution