Why is demote 2?  Do you have any carp interfaces in INIT?

Note that demote takes precedence over advskew.

What does "ifconfig -g carp", "ifconfig carp" and "netstat -s -p carp"
look like on both machines?


On 3-3-2012 19:26, PP;QQ P(P8P?P8QP8P= wrote:
> I permormed tcpdump on appropriate vlan on BOTH SERVERS, I see on
> "advskew=200" announces. MASTER with advskew=0 does not do any
> advertisement.
> 
> 22:22:37.296866 CARPv2-advertise 36: vhid=60 advbase=1 advskew=200 demote=2
> (DF) [tos 0x10]
> 22:22:39.096900 CARPv2-advertise 36: vhid=60 advbase=1 advskew=200 demote=2
> (DF) [tos 0x10]
> 
> 2 MARTA 2012 G. 16:14 POLXZOWATELX Otto Moerbeek <o...@drijf.net> NAPISAL:
> 
>> On Fri, Mar 02, 2012 at 02:53:31PM +0500, ???? ??????? wrote:
>>
>>> no, I copied hostname.carpXX, just added "advskew 200"
>>> parameters are the same.
>>
>> To be 100% sure, also look at ifconfig carpXX on both machines.
>>
>>        -Otto
>>>
>>> 2 MARTA 2012 G. 15:25 POLXZOWATELX Otto Moerbeek <o...@drijf.net>
>> NAPISAL:
>>>
>>>> On Fri, Mar 02, 2012 at 01:53:17PM +0500, ???? ??????? wrote:
>>>>
>>>>> hello!
>>>>>
>>>>> we are running CARP-ed load balancers (carp over different vlans).
>>>>> it was running just great with 6 carp addresses.
>>>>>
>>>>> when we added 7th, randomly we get MASTERs on both server for certain
>>>> carp
>>>>> interface. After reboot we can get different carp interface on dual
>>>> MASTER
>>>>> state, and so on.
>>>>> carp negotiations are ok, tcpdump shows them all. both peers see each
>>>> other.
>>>>>
>>>>> if I put one interface to BACKUP state, it goes to mASTER soon.
>>>>>
>>>>> we are runnung 5.0/amd64
>>>>>
>>>>> Cheers,
>>>>> Ilya Shipitsin
>>>>
>>>> Carefully compare the address lists (including masks) on both
>>>> machines. Likely they are not the same.
>>>>
>>>>        -Otto

Reply via email to