LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: keepalived backup issues

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: keepalived backup issues
From: "William Olson" <ntadmin@xxxxxxxxxxxx>
Date: Wed, 26 Apr 2006 16:34:11 -0700
In your config you only have 3 instances defined: IN1, EXT1, and EXT2  and
they are all set to state MASTER.

In my working keepalived config, I have one instance defined for each
interface, this totals 4: eth0, and eth1 on the one director and eth0 and
eth1 on the other.

So something like the following is what should work a little better(derived
from my working config):

vrrp_sync_group VG1 {
        group {
                VI_1
                VI_2
                VI_3
                VI_4
        }
}

vrrp_instance VI_1 {
    state MASTER
    interface eth0
    virtual_router_id 31
    priority 150
    advert_int 1
    authentication {
        auth_type PASS
        auth_pass password
    }
    virtual_ipaddress {
        IPs
    }
}

vrrp_instance VI_2 {
    state MASTER
    interface eth1
    virtual_router_id 32
    priority 150
    advert_int 1
    authentication {
        auth_type PASS
        auth_pass password
    }
    virtual_ipaddress {
        IPs
    }
}

vrrp_instance VI_3 {
    state BACKUP
    interface eth0
    virtual_router_id 33
    priority 150
    advert_int 1
    authentication {
        auth_type PASS
        auth_pass password
    }
    virtual_ipaddress {
        IPs
    }
}

vrrp_instance VI_4 {
    state BACKUP
    interface eth0
    virtual_router_id 34
    priority 150
    advert_int 1
    authentication {
        auth_type PASS
        auth_pass password
    }
    virtual_ipaddress {
        IPs
    }
}

Hope this helps!
-Billy Olson


<Prev in Thread] Current Thread [Next in Thread>