Re: squid-2.5.STABLE5 WCCPv2 Layer2 redirect

From: Mark Foster <m.e.foster@dont-contact.us>
Date: Thu, 01 Apr 2004 10:48:38 +0100

On Monday, 29 March, 2004 19:48 +0200
Henrik Nordstrom <hno@squid-cache.org> wrote:

| On Thu, 25 Mar 2004, Mark Foster wrote:
|
|> We have WCCPv2 working with squid-2.5.STABLE5 on a pair of Apple X-serve
|> machines using Layer2 redirection on the switch so no nasty GRE tunnels
|> needed! So far, they appear to be failing over and load balancing quite
|> nicely.
|
| Interesting.
|
| Did you make a squid.conf parameter to tell the encapsulation method, or
| just hardcode what Squid annouces?

Hi again, sorry for the delay in the reply.

We haven't made a new parameter. At this time all the code is in wccpv2.c.

What we did was to patch squid with this version of the wccpv2 patch.

diff -Nur squid-2.5.PRE7/acconfig.h squid-2.5.PRE7_wccpv2/acconfig.h
--- squid-2.5.PRE7/acconfig.h Sun Apr 14 03:15:58 2002
+++ squid-2.5.PRE7_wccpv2/acconfig.h Fri Jun 14 14:22:45 2002
[etc]

>From there we have made essentially two changes to wccpv2.c:

1. squid registers with the router with forwarding method of L2 rather than
GRE. This is the biggest benefit from this because it means that we don't
have to muck about getting the packets back out of the GRE tunnel in the OS.

2. we parse more of the I_SEE_YOU packet to cope with multiple caches. In
particular we respond with ASSIGNMENT_REDIRECT with per cache bucket
allocation.

We have had this working with six caches joining and leaving the cachegroup
and all works fine. We are about to let this loose on our user community
using our group of four production caches so we'll get to see what it's
like under load.

There is a meeting today during which it will be clarified that the
University does not have any issue with surrender of its intellectual
property rights to the open source community; then we will roll our changes
in to the latest available wccpv2 patch and submit a diff for your
consideration.

Is this the latest patch?
This patch is generated from the visolve_wccpv2-s2_5 branch of s2_5 in squid
Fri Mar 19 23:20:33 2004 GMT
See http://devel.squid-cache.org/

Mark

-- 
Mark Foster, IT Services, University of Sussex, Falmer, UK. BN1 9QJ
E-mail: m.e.foster@sussex.ac.uk - VOICE/FAX: +44 1273 678902/873135
        --------------------------------------------------
"There are no such useless words as...'I didn't have a chance.'"
                                                    [Driving, HMSO]
Received on Thu Apr 01 2004 - 03:45:42 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 29 2004 - 12:00:03 MDT