Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: phranque
thank you! :)
I've accomplished this in the past with switches that support load balancing, or even two F5 BigIP Load balancers and replicated data. Lets assume in a basic setup, you have one machine running DNS and your website in Location A, and a "mirror" of that in Location B.
What you would do is put a load-balance-capable switch or a BigIP in each data center and assign your IP addresses to it (use internal IP's for your machines that are behind the load balancer). Configure BOTH load balancers to always send traffic to "SERVER A" and if "SERVER A" is down, send traffic to "SERVER B".
Your DNS entries will point to the load balancer IP's, not the server IP's - the load balancer will send the traffic where it's supposed to.
Then, at the registrar, set up your two name servers pointing to each of the two DNS IP's. This way no matter what DNS the user happens to pick up, they will ALWAYS be sent to "SERVER A" unless Server A is down, in which case they'll be directed to SERVER B.
In order for this situation to fail, you would have to have a hardware or connectivity issue simultaneously in both data centers.
thanks for your response. Im sorry I failed to say that I already have the replicated data on both the hosting companies. i dont quite know what "load-balance-capable switch or a BigIP" is, but I'll try to find out. Im not sure if I will be allowed to do this in the backup hosting company because my because server is a shared server from what I know even the IP is actually being shared by multiple domains unlike my primary which is dedicated... any suggestions!
thank you sooooooooo much, I really appreciate it!
Load balancing is a switch or device's ability to "middle-man" traffic and determine the final destination. Say you have multiple servers that all run the same website. Your load balancer would have an IP address, and that's the IP that would be assigned to the DNS. When someone hits that IP or any domains that point to it, the load balancer determines which server of the 10 to send the data to.
F5 is a company that makes load balancers, and BigIP is one of their products. You can configure these any number of ways ... automatically divide the traffic evenly among the servers you've configured, or have it always send traffic to one specific server and if it goes down start sending it to another one.
Check out F5's site snipped or Network Liquidators for good used ones snipped. Also check out ebay, you can find deals there too but you'd be on your own for configuring it.
[edited by: DaveAtIFG at 5:13 pm (utc) on April 5, 2004]
[edit reason] Commercial URLs removed [/edit]