Date: Wed, 29 Dec 2004 14:38:06 +0100 From: jere <jere@htnet.hr> To: "Kahlil Erwin S. Talledo" <kstalledo@gmail.com> Cc: Oliver Brandmueller <ob@e-gitt.net> Subject: Re: LoadBalancer With FreeBSD Message-ID: <41D2B33E.1080900@htnet.hr> In-Reply-To: <de9555ac04122905043908c75b@mail.gmail.com> References: <200412241143.iBOBhTwR041675@smtp.doruk.net.tr> <6.2.0.14.2.20041228053234.0441d1b0@213.161.193.184> <20041229113835.GA29551@e-Gitt.NET> <de9555ac04122905043908c75b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
for example, I'm currently using pop/imap proxy (http://www.vergenet.net/linux/perdition/) on two servers combined with ucarp (http://www.ucarp.org/) for ip migration in case of machine failure and with 'mon' (http://www.kernel.org/software/mon/) for service (perdition) failure. My 'mon' config checks availability of perdition every 30s and, in case of service failure, it just shutdowns ucarp (i.e. initiates ip migration to another machine using carp protocol). afterwards, when 'mon' detects perdition service is up it just starts my ucarp again. This configuration is based on two carp groups (two vip addresses) and it is possible, depending on failure scenario, both of them to be on just one of these machines and afterwards to another machine. In stable state every one of these machines has just one vip. This way I have highly available service and can do any kind of load balancing (DNS round robin etc....). This setup is achieved on linux machines but I think you can find appropriate substitution for FreeBSD (or write 'mon' script yourself for it is considered not to be a complex piece of code). Perdition pop/imap proxy is available through ports system, but I think carp is available as kernel patch only in FreeBSD. There is not a port of mon for FreeBSD as I know. hope help you a bit. bye, j. Kahlil Erwin S. Talledo wrote: > Oliver, > > You can always whip up a scipt that would check if a certain service > is up and running on your remote server... in the case of http you can > throw an http request at it.... > > regards, > > > > On Wed, 29 Dec 2004 12:38:35 +0100, Oliver Brandmueller <ob@e-gitt.net> wrote: > >>Hi. >> >>On Tue, Dec 28, 2004 at 05:45:05AM +0100, Arnaud Pignard wrote: >> >>>There is no real great LB on FreeBSD :/ >> >>Yapp. >> >> >>>There is loadd how seems not very active project (never test). >>>You can do Round Robin with Ipfilter. >>> >>>Else you can try pen / morebalance etc... but depend of your need. >>>They are just proxy. pen work very well. >>> >>>Number of connection is not a big problem with good sysctl value and >>>compilation parameter. >>>The limit will be the hardware bus and interruption. >>> >>>PF+CARP is certainely the best choose (check freebsd-pf list). >>>But it's currently not avaible except with applying patch and seems not yet >>>stable. >>>(UCARP should be soon avaible on FBSD) >>> >>>Anyway, you will not find something like LVS. >>> >>>Best Regards, >>> >>>At 12:50 24/12/2004, Vahric MUHTARYAN wrote: >>> >>>>Hi Everybody , >>>> >>>> Do you know any load balancer program for FreeBSD like linux >>>> LVS >>>>. I checked ports and find out morebalance-0.3 and loadd-0.8 ?! Anybody use >>>>those programs?! >>>>I want make a load balance on my frontend servers ?! >>>>Could you give me advise about using hardware-load-balancer or >>>>software-load-balancer ?! >>>>And I wonder How many connection can handle FreeBSD box ?! Because hardware >>>>load-balancer can up to 2.000.000 connection per box. I think that with >>>>PIII >>>>and 512 machine I can handle ?! >> >>Well, after reading all that: >> >>All these solutions need a certain time to set them up. I cannot really >>tell about their quality, but you should consider, that a solution like >>CARP can detect and do a failover a problem, when a server crashes - but >>not a service failure, like httpd not working correctly anymore. Then >>it's a question, what you are trying to balance. http only? If so: How >>about session handling (if you need that)? >> >>We use a hardware solution based on Alteon 180 (or 180e). You can buy >>those for less than 2000$ and they save you a lot of headaches. >> >>My 0.02$ >> >>- Oliver >> >>-- >>| Oliver Brandmueller | Offenbacher Str. 1 | Germany D-14197 Berlin | >>| Fon +49-172-3130856 | Fax +49-172-3145027 | WWW: http://the.addict.de/ | >>| Ich bin das Internet. Sowahr ich Gott helfe. | >>| Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! | >>_______________________________________________ >>freebsd-isp@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-isp >>To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >> > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41D2B33E.1080900>