Re: Geographic Loadbalancing..

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Geographic Loadbalancing..
From: Horms <horms@xxxxxxxxxxxx>
Date: Mon, 30 Aug 2004 12:46:00 +0900
On Thu, Aug 26, 2004 at 03:14:54PM +1000, Josh Marshall wrote:
> > I have some code to do this.
> > Basically it creates a small routing daemon, that gets
> > all its data from a list of routes you provide at run time.
> >
> > Its here
> >
> >
> > I also have some code to help generate the list of routes
> > from BGP dumps from (Cisco) routers.
> >
> >
> > And I have a patch to Bind 9 to add supersparrow support
> >
> >
> >
> > All this needs a bit of polish, as appart from hacking on it
> > for my own personal use I haven't done any work on it for a while.
> > It does work, and is actually used for
> >
> > If you have questions, or are intrested in some
> > particular features, let me know.
> Hi Horms,
> I'm just wondering how to set up the ssrs with the list of routes - what 
> format does the /etc/ssrs.routes file need?

Sorry, I really should get to and write some documentation.
Fortunately the format of this file is very, very simple.
Each line has a prefix followed by an AS number. 

E.g.  1234  1235 7  7   1234 1234

All the prefixes are stored in a red-black tree and the most speficic
prefix for the request will take presedence. 

E.g. if you have  1234  7

Then if you look up the AS for you will get 7.
If you look up the AS for you will get 1234.

You can telnet to the ssrsd daemon, it will ask you for a password
but doesn't actually check it, so just put in whatever you like -
I should probably fix that up too :)

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