03-10-2008 01:49 PM - edited 03-05-2019 09:39 PM
I have 2 webservers serving the exact same content and want to provide failover. Both webservers are connected to catalyst L3 switches and I was thinking of using some combination of STP and etherchannels to accomplish this.
Currently we have a software solution which isn't working very well and one of my CCNA friends suggested I try this.
I'm VERY new to Cisco equipment so if any of you could give me a hint on where to go or if I'm doing it wrong that would help a lot.
Load balancing would be a plus but if not we'll stick with Round Robin with a short TTL
Thanks,
Nick
Solved! Go to Solution.
03-10-2008 02:27 PM
One option you have is called "Anycast".
The theory is you have multiple "services" with the same IP address, and you advertise that address to a router. If the service goes off line, the route gets pulled.
This is used extensively with DNS servers on the internet. Here's how it works:
Create a loopback interface on the linux boxes (both/all), and assign the address that users use will be using to access the site (same address on both boxes).
Using a routing protocol that can run on the linux boxes (and supports same cost load balancing), advertise that route to the router.
As long as one of the servers is up the route is advertised to the network and valid.
Dan
03-10-2008 02:02 PM
Couple of questions:
Do the web servers serve static content only, or dynamic as well?
What os are the servers running?
Dan
03-10-2008 02:14 PM
They have dynamic content but it can be treated as static, there are no persistent sessions or anything like that.
I'm running them both on Redhat Enterprise Linux 4
03-10-2008 02:27 PM
One option you have is called "Anycast".
The theory is you have multiple "services" with the same IP address, and you advertise that address to a router. If the service goes off line, the route gets pulled.
This is used extensively with DNS servers on the internet. Here's how it works:
Create a loopback interface on the linux boxes (both/all), and assign the address that users use will be using to access the site (same address on both boxes).
Using a routing protocol that can run on the linux boxes (and supports same cost load balancing), advertise that route to the router.
As long as one of the servers is up the route is advertised to the network and valid.
Dan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide