Application Delivery (ADX)

Reply
Occasional Contributor
Posts: 6
Registered: ‎12-22-2009

Real servers with host headers on same IP

I have 2 real servers that each have a lot of web sites on them. Most of the sites are configured to run on their own IPs and do not use host headers. My problem is that I have one IP address on each real server that hosts multiple web sites using host headers in IIS.

Example

RS1 10.0.0.1:80

www.site1.com

www.site2.com

www.site3.com

RS2 10.0.0.2:80

www.site1.com

www.site2.com

www.site3.com

Is there a way to configure seperate real servers in the ServerIron for each of the host header sites? Right now I have 1 virtual server bound to 2 real servers configured with a health check to only one of the sites. If for some reason that site is down, then all of the other sites sharing that IP are down as well. My goal (i think) would be to have a VS and 2 RS for each host header site even though they share an IP/port on the real servers.

Contributor
Posts: 47
Registered: ‎07-14-2010

Re: Real servers with host headers on same IP

Hi,

Try follwoing configuration:

-------------------------

healthck www.test1.com tcp
dest-ip 10.15.0.52
port http
protocol http
protocol http url "GET /index1.htm HTTP/1.1 \r\nHost:www.test1.com\r\n\r\n"
l7-check
healthck www.test2.com tcp
dest-ip 10.15.0.52
port http
protocol http
protocol http url "GET /index1.htm HTTP/1.1 \r\nHost:www.test2.com\r\n\r\n"
l7-check
healthck b1 boolean
server real evo7 10.15.0.52
port http
port http healthck b1
port http url "HEAD /"
-------------------------

Thanks.

//Kono

Occasional Visitor
Posts: 1
Registered: ‎02-24-2011

Re: Real servers with host headers on same IP

most site health checks are looking for status 200-299. What do you do if it is a site that requires authentication? Do you just accept 401-403 or is there a way to inject user information.

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.