Re: keepalived with ipv6 - HowTo ?!

"Brane F. Gračnar" <[email protected]> Tue, 4 Jan 2011 17:46:02 +0100
Newsgroups gmane.linux.keepalived.announce
Message-ID <[email protected]>
On Tuesday 04 of January 2011 14:06:48 Zeller, Jan (ID) wrote:
> Dear list,
> 
> i try to setup keepalived v1.2.1 with IPv6 but it does not work :(
> 
> keepalived.conf (on master)
> 
> vrrp_instance VI_1 {
>  state MASTER
>  interface eth0
>  virtual_router_id 1
>  priority 100
> 
>  authentication {
>  auth_type PASS
>  auth_pass password
>  }
> 
>  virtual_ipaddress {
>   myprefix:dead:beef:0:1/64 dev eth0 label eth0:0
>  }
> }
> 
> virtual_server myprefix:dead:beef:0:1 3128 {
>        lb_algo dh
>        lb_kind DR
>        protocol TCP
> 
>        real_server myprefix:5054:ff:fe66:7122 3128 {
>                TCP_CHECK
>                {
>                 connect_port 3128
>                 connect_timeout 5
>                }
>        }
> 
>        real_server myprefix:5054:ff:feab:9f2a 3128 {
>                TCP_CHECK
>                {
>                 connect_port 3128
>                 connect_timeout 5
>                }
>        }
> }

My suggestion: Use keepalived for IP address management, use something else 
for load balancing. Haproxy is excellent for balancing HTTP and TCP sessions 
plus it can also monitor it's backends for health.

Works for me :)

Cheers, Brane

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl