Failover IP router

Manuel Arostegui Ramirez manuel at todo-linux.com
Sat Dec 1 08:17:23 UTC 2007


El Martes, 27 de Noviembre de 2007 22:15, Steven Buehler escribió:
> I have been googleing for this, but can't seem to find the right answer.
> What I am trying to do is to create a failover router on a redhat box.
> 1.  website.com will be on 2 servers
> 2.  website.com has one IP address
> 3.  redhat box router will have the 1 IP address for website.com on it.
> 4.  website.com server1 will be on 192.168.1.10
> 5.  website.com server2 will be on 192.168.1.11
> 6.  If website.com server1 fails, website.com server2 will take over.
>
> We are not worried about cookies that have been set on server1 to be moved
> to server2.  We are just worried about the second machine taking over. 
> What would be better is if it could be a load balancing setup so that it
> will use both servers, but if one fails, people will not notice it because
> the other server will then be taking all of the requests.
>
> I have googled for "Linux failover iptables router" and a few other
> combinations of words, but what I keep finding is failover for the outbound
> connections.  Having 3 Nic cards 1 going to one ISP, 1 going to another ISP
> and one going to the internal network.  Maybe I am just using the wrong
> wording.  Any url links for instructions would be appreciated.
>
> Thank You

Why not installing LVS+Keepalive for instance?
I had the same scenario some months ago (aside from the fact that cookies were 
importatn, but keepalived did the trick with that)

If you need any help either woth LVS or Keepalive, let me know or let this 
list know.

Hope this helps
Manuel.

-- 
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.




More information about the redhat-list mailing list