Forum Discussion
Robert_Landrito
Nimbostratus
Aug 04, 2009browser-handled site failover
Greetings,
I'm trying to find a way to do a seamless site failover that may or may not involve GTM techniques. The current setup is:
-site 1, ltm 9.4.5
-site 2, ltm 9.4.5
-two A records for mysite.com.
This is basic http, and lets assume for simplicity that the website is static and mirrored at both sites. A standard http profile is attached and the client is Internet Explorer. With multiple A records, the idea was to have Internet Explorer failover to site 2, in the event that site 1 goes down (or vice versa).
We find, however, that IE will only retry an alternate DNS record if the 3-way TCP handshake for a request fails. As far as I know, since LTM 9.x is a full proxy, the three way handshake always succeeds, even if all of the backend members of a particular VIP are down. I can use an iRule to send an RST on the CLIENT_ACCEPTED event, but this event is only called after the 3-way TCP handshake has completed. We did find that if a VIP was manually disabled (through the GUI or iControl), that the 3-way handshake will then fail, and we found that the browser did failover in this case.
We then considered a GTM option. In our setup, we found that GTM responded correctly to a downed site, and thereafter only published the IP address of the good site. But this does not help those clients who are already making requests, or that have IP addresses already cached locally.
We are now considering the following:
1) user defined trigger ("/config/user_alert.conf") to administratively disable a VIP on the line "No members available for pool ". The problem with this is that no log is generated when a pool comes back online. VIPs would therefore have to be reenabled manually.
2) use an external monitor that checks the availability of a pool, and administratively enable/disable VIPs accordingly. Our problem with this is that external monitors can get expensive. Our configs are already quite large and we'd like to avoid adding more load to the LTMs.
3) use a foreign external monitoring system that uses iControl and/or SNMP to monitor pool status, and enable/disable VIPs. Polling too often would add unwanted load to the LTMs and there would be a delay in detecting pool status.
I'm open to any suggestions or input anyone can provide. Thanks !
5 Replies
Sort By
- Ian_SmithRet. EmployeeUse the Fallback Host setting in the HTTP config to issue a 302 redirect that will result in the "other" LTM virtual server destination IP.
- bart_stough_826
Nimbostratus
We are running into a similar problem, has anyone tried this successfully? - bart_stough_826
Nimbostratus
We are running into a similar problem, has anyone tried this successfully? - Hamish
Cirrocumulus
Basically, its not going to work very well... This is why load balancers came along in the first place many years ago (before irules etc). It was an easy way to control the balance of traffic (better than RR dns because its harder to fake), and more importantly it provides for availability. - Ian_SmithRet. Employee@Hamish - It works fine.
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