Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 1999 11:40:03 +0300 (MSK)
From:      "Cyril A. Vechera" <cyril@main.piter.net>
To:        cmsedore@maxwell.syr.edu, freebsd-net@FreeBSD.ORG
Subject:   Re: clustering/load balancing
Message-ID:  <199903190840.LAA20486@main.piter.net>

next in thread | raw e-mail | index | archive | help
> From owner-freebsd-net@FreeBSD.ORG Fri Mar 19 05:22:59 1999
> From: Christopher Sedore <cmsedore@maxwell.syr.edu>
> To: "'freebsd-net@freebsd.org'" <freebsd-net@FreeBSD.ORG>
> Subject: clustering/load balancing
> Date: Thu, 18 Mar 1999 21:22:12 -0500
>
> OK, so I've worked some more on the IP clustering/load balancing stuff.
> I've hacked together a clustering daemon, and reworked the way that the
> kernel stuff is handled (it uses a flag and ipfw rules to do its thing).
[skip]

>
> Simple clustering for FreeBSD v0.1
> ----------------------------------
>
> This is a simple clustering system for FreeBSD.  It does load balancing
> and has basic fault tolerance provisions.
>
> How it works: load balancing
> ----------------------------
>
> The load balancing functionality is achieved by selecting hosts to
> service
> based on source IP address.  This is done using some slight
> modifications
> to the FreeBSD kernel (ARP and IP code) to accomplish two things.
>
> First, the ARP code is modified in two ways.  The first is that it is
> told

i think that there is another scheme that doesn't
require ARP-conflicts - use forwarders.

for example,

1) we have 111.111.111.111 as "cluster" ip-address

2) we have cluster dispatcher machine, that haves one external interface
    and N internal "cluster" interfaces

3) we have N computers been a real cluster parts with
    ip-addresses 10.0.0.1, 10.0.0.2 ... 10.0.0.N

4) each clusterpart computer (10.0.0.X) sets lo0 alias 111.111.111.111 

5) dispatcher forwards packet with dst=111.111.111.111 to one of
    cluster part 10.0.0.X on source IP based policy.

what do you think about it?



Sincerely your,
	Cyril A. Vechera

email:cyril@piter.net          ---------              http://sply.piter.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903190840.LAA20486>