LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Some keepalived guidance needed

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Some keepalived guidance needed
From: Ian Eure <ieure@xxxxxxxxxx>
Date: Sat, 10 Sep 2005 14:05:34 -0700
Here's some sample configs I'm using:

-- snip -- master config -- snip --
global_defs {
    lvs_id director1
}

vrrp_instance INTERNAL {
    state MASTER
    interface eth0
    virtual_router_id 1
    priority 150
    advert_int 1
    authentication {
        auth_type PASS
        auth_pass hayguys
    }
    virtual_ipaddress {
        192.168.10.1
    }
}

vrrp_instance EXTERNAL {
    state MASTER
    interface eth1
    virtual_router_id 2
    priority 150
    advert_int 1
    authentication {
        auth_type PASS
        auth_pass hayguys
    }
    virtual_ipaddress {
        11.22.33.44
    }
}

vrrp_sync_group SG1 {
    group {
        INTERNAL
        EXTERNAL
    }
}
-- snip --

-- snip -- slave config -- snip --
global_defs {
    lvs_id director2
}

vrrp_instance INTERNAL {
    state SLAVE
    interface eth0
    virtual_router_id 1
    priority 150
    advert_int 1
    authentication {
        auth_type PASS
        auth_pass hayguys
    }
    virtual_ipaddress {
        192.168.10.1
    }
}

vrrp_instance EXTERNAL {
    state MASTER
    interface eth1
    virtual_router_id 2
    priority 150
    advert_int 1
    authentication {
        auth_type PASS
        auth_pass hayguys
    }
    virtual_ipaddress {
        11.22.33.44
    }
}

vrrp_sync_group SG1 {
    group {
        INTERNAL
        EXTERNAL
    }
}
-- snip --

--
Ian Eure
Developer,
eNotes.com LLC




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