Re: VIP on LB hangs

simon bullen <[email protected]> Fri, 14 Aug 2009 09:18:07 +0100
Newsgroups gmane.comp.programming.load-balancing.general
Message-ID <[email protected]>
Yep Ken is right,

Track ports and VRS if you are not doing vrrp groups,

this is how I would set it up using VRgroups:-

for master:-

/c/l3/vrrp/vr 1
    ena
    ipver v4
    vrid 1
    if 1
    prio 101  (make this 100 for standby)
    addr x.x.x.x
    track
        ifs e
        l4pts e

/c/l3/vrrp/vrgroup 1
    name "ALL-VRID"
    prio 101 (make this 100 for standby)
    add 1

and if you are not using VR groups:-

/c/l3/vrrp/vr 1
    ena
    ipver v4
    vrid 1
    if 1
    prio 101 (100 on standby)
    addr x.x.x.x
    share dis
    track
        vrs e
        ports e

Ken Thurman wrote:
> You might want to enable tracking on VRS in the VRRP group settings, 
> so if you disable the rips on one switch and the VIP goes down and the 
> VSR goes into init state,  it will lower it priority and the other 
> switch will become master for all.
>
> Ken
>
> On Thu, Aug 13, 2009 at 10:00 AM, Hans Merkwurdigliebe 
> <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Hi Simon,
>
>     > if you configure /c/l3/vrrp/ vrgroups and add all you vrid's to
>     it it will
>     > keep all your traffic on a single LB rather than having it split
>
>     Imho I have already configured:
>
>     master:
>     Current VRRP settings: ON, hotstan disabled
>     Current VRRP hold off time: 0
>
>     Current VRRP Tracking settings:
>       vrs 2, ifs 2, ports 2,
>       l4pts 2, reals 2, hsrp 10 hsrv 10
>
>     Current VRRP Virtual Router Group:
>        vrid 1, if 1, prio 100, adver 1
>        disabled, preem enabled, share enabled
>        track nothing
>
>     Current VRRP virtual router settings:
>      5: vrid 5, IP_1, if 101, prio 100, adver 1, vrgroup 1
>        enabled, preem enabled, share disabled
>        track nothing
>      6: vrid 6, ..., if 102, prio 100, adver 1, vrgroup 1
>        enabled, preem enabled, share disabled
>        track nothing
>      7: vrid 7, ..., if 101, prio 100, adver 1, vrgroup 1
>        enabled, preem enabled, share disabled
>        track nothing
>      8: vrid 18, ..., if 101, prio 100, adver 1, vrgroup 1
>        disabled, preem enabled, share disabled
>        track nothing
>      9: vrid 9, ..., if 101, prio 100, adver 1, vrgroup 1
>        enabled, preem enabled, share disabled
>        track nothing
>      10: vrid 10, ..., if 102, prio 100, adver 1, vrgroup 1
>        enabled, preem enabled, share disabled
>        track nothing
>
>     Current virtual router vrgroup settings:
>      1: group name , priority 100, advertise 1, enabled
>        preemption enabled, sharing disabled
>        track virtual router 0
>        virtual routers in group :
>            5 6 7 8 9 10
>        track ports
>
>     Identical is on backup LB.
>
>     > Also all your prio's are 104 have you set prio to 101 on the
>     master ?
>
>     No I havent touch anythink. Should I change it?
>     _______________________________________________
>     lb-l mailing list
>     [email protected] <mailto:[email protected]>
>     http://vegan.net/mailman/listinfo/lb-l
>     Searchable Archive: http://vegan.net/lb/archive
>     http://lbdigest.com Load Balancing Digest
>     http://lbwiki.com Load Balancing Wiki
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> lb-l mailing list
> [email protected]
> http://vegan.net/mailman/listinfo/lb-l
> Searchable Archive: http://vegan.net/lb/archive
> http://lbdigest.com Load Balancing Digest
> http://lbwiki.com Load Balancing Wiki
>   

_______________________________________________
lb-l mailing list
[email protected]
http://vegan.net/mailman/listinfo/lb-l
Searchable Archive: http://vegan.net/lb/archive
http://lbdigest.com Load Balancing Digest
http://lbwiki.com Load Balancing Wiki