LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: sync_threshold question

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: sync_threshold question
From: "Sebastian Vieira" <sebvieira@xxxxxxxxx>
Date: Tue, 14 Nov 2006 08:04:06 +0000
Hi,

Thank you for all the replies to my emails. I'm currently attending a 4 day
course, so i'm unable to provide you with more information or do the things
you've suggested. I'll look at them again next week, but this mail is just
to let you know i appreciate the help.

Regards,

Sebastian


On 11/10/06, Roberto Nibali <ratz@xxxxxxxxxxxx> wrote:

> I've noticed that upon a failover, not all connections are sync'd (via
> syncdaemons) to the backup director. I read in the docs for ultramonkey
> (not
> using it ... i think ... but that was the only source i could find)
> something about /proc/sys/net/ipv4/vs/sync_threshold and how to
manipulate
> this. If i understand things correctly, sync_threshold has 2 values. By
> default they are 3 and 50, meaning that after 3 packets the connection
will
> be initially synchronised. After that, each 50 sent packets will cause
the
> connection to be synchronised. That is, if i understand it correctly :)

I think this is a sound understanding of the mechanism.

> Now i recall reading somewhere that there is a certain timeout involved.
I
> mean that if no packets are sent for a certain time, the connection will
> not
> be synchronised. I don't know if this is true, but this could be the
reason

Yes, the "templates" are sent once but within the interval specified.

> for the problem i described above. If not, what else could be the reason
> then? In my test there were only 5 telnet sessions connected, so nothing
> special.
>
> These commands i have issued to start the daemons:
>
> master# ipvsadm --start-daemon master --mcast-interface=eth1 --syncid 55
> master# ipvsadm --start-daemon backup --mcast-interface=eth1 --syncid 56
>
> backup# ipvsadm --start-daemon master --mcast-interface=eth1 --syncid 56
> backup# ipvsadm --start-daemon backup --mcast-interface=eth1 --syncid 55

I don't understand correctly, when exactly are you experiencing missing
synchronisation and how does this manifest itself? Can you list a
typical use case process for us, please?

Best regards,
Roberto Nibali, ratz
--
echo
'[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users


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