Forum Discussion

Iain_McGuire_11's avatar
Iain_McGuire_11
Icon for Nimbostratus rankNimbostratus
Aug 02, 2006

Redirecting hosted sites on availablily (not servers)

Can someone clarify if the following is possible? My feeling is it's not, using only LTMs, although I'd be happy to hear otherwise.

 

 

Our customer currently has two IIS servers, which between them host about 20 virtual websites, each with their own domain name. We currently load balance based on the availability of the webserver, based on it's IP. They would like to be able to stop a site on one server, and have traffic just for that site be redirected to the second server.

 

 

They're thinking they could put a text file in the root directory of each site, and check for the availability of the site by doing a GET for that file. I believe I can write an iRule to do that, but if it's not available (because the SITE, not the SERVER, is offline), it will mark the member as down, won't it? At which point no traffic will be sent to that IP address, until it successfully GETs the file.

 

 

Is there a way of achieving this? Being able to mark a site on a shared IP as down, but other sites on the same IP as up?

 

 

13 Replies