Re: LoadBalance With HA

2018-09-17 Thread Emmanuel Gelati
ipvs works at layer 4 and haproxy works with layer 7, check marting answer.

2018-09-17 15:03 GMT+02:00 Dan Ritter :

> On Mon, Sep 17, 2018 at 02:09:07PM +0200, Emmanuel Gelati wrote:
> > https://en.wikipedia.org/wiki/HAProxy
> >
> > 2018-09-17 13:09 GMT+02:00 Dan Ritter :
> >
> > > On Sun, Sep 16, 2018 at 09:35:32PM +0200, Emmanuel Gelati wrote:
> > > > If you want to build a http loadbalancer, I think the better options
> is
> > > to
> > > > use haproxy.
> > >
> > > Why?
>
> That's a description of what it is. I already know what it is, as I have
> both ldirectord and haproxy in production usage right now.
>
> I'm interested in knowing why you're advocating for it in this particular
> situation.
>
> -dsr-
>



-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^


Re: LoadBalance With HA

2018-09-17 Thread Dan Ritter
On Mon, Sep 17, 2018 at 02:09:07PM +0200, Emmanuel Gelati wrote:
> https://en.wikipedia.org/wiki/HAProxy
> 
> 2018-09-17 13:09 GMT+02:00 Dan Ritter :
> 
> > On Sun, Sep 16, 2018 at 09:35:32PM +0200, Emmanuel Gelati wrote:
> > > If you want to build a http loadbalancer, I think the better options is
> > to
> > > use haproxy.
> >
> > Why?

That's a description of what it is. I already know what it is, as I have
both ldirectord and haproxy in production usage right now.

I'm interested in knowing why you're advocating for it in this particular
situation.

-dsr-



Re: LoadBalance With HA

2018-09-17 Thread Martin
Am 16.09.2018 um 14:38 schrieb Labs Ocozzi:
> Hi, i have a lab in my workstation, i like build 2 loadbalanced servers.What 
> is best technology(free and open) for
> that, in debian?
> I need a good material for a simple enveroment, setup.

Depends on what your plan is. When balancing on layer 4, you may choose IPVS. 
Working on layer 7, HA-Proxy is your friend.

With IPVS, you can handle a *massive* amount of load. But it is not as 
versatile as HA-Proxy. And, which I have seen a lot becoming a problem when not 
planned properly, your IP network infrastructure is part of it.

HA-Proxy on the other hand gives you more options up to layer 7. Which is ACL, 
Certificate based authentication¹, SNI² and lots more...

Hence, as a beginner, HA-Proxy may fit your needs.


1) Does this work with IPVS?
2) Does SNI work with IPVS?



Re: LoadBalance With HA

2018-09-17 Thread Emmanuel Gelati
https://en.wikipedia.org/wiki/HAProxy

2018-09-17 13:09 GMT+02:00 Dan Ritter :

> On Sun, Sep 16, 2018 at 09:35:32PM +0200, Emmanuel Gelati wrote:
> > If you want to build a http loadbalancer, I think the better options is
> to
> > use haproxy.
>
> Why?
>
> -dsr-
>



-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^


Re: LoadBalance With HA

2018-09-17 Thread Dan Ritter
On Sun, Sep 16, 2018 at 09:35:32PM +0200, Emmanuel Gelati wrote:
> If you want to build a http loadbalancer, I think the better options is to
> use haproxy.

Why?

-dsr-



Re: LoadBalance With HA

2018-09-16 Thread Emmanuel Gelati
If you want to build a http loadbalancer, I think the better options is to
use haproxy.

Thanks
Emmanuel

2018-09-16 20:25 GMT+02:00 Dan Ritter :

> On Sun, Sep 16, 2018 at 11:04:53AM -0300, Labs Ocozzi wrote:
> > I need a httpd, but my first step is buld the httpd.
> > It is my first project to cluster, i will build others cluster too, but
> > i need understood make a cluster.
> >
>
> Read http://www.linuxvirtualserver.org/
>
> -dsr-
>
>


-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^


Re: LoadBalance With HA

2018-09-16 Thread Dan Ritter
On Sun, Sep 16, 2018 at 11:04:53AM -0300, Labs Ocozzi wrote:
> I need a httpd, but my first step is buld the httpd.
> It is my first project to cluster, i will build others cluster too, but
> i need understood make a cluster.
> 

Read http://www.linuxvirtualserver.org/

-dsr-



Re: LoadBalance With HA

2018-09-16 Thread Labs Ocozzi

I need a httpd, but my first step is buld the httpd.
It is my first project to cluster, i will build others cluster too, but
i need understood make a cluster.


Em 16/09/2018 10:30, Dan Ritter escreveu:

On Sun, Sep 16, 2018 at 09:38:52AM -0300, Labs Ocozzi wrote:

Hi, i have a lab in my workstation, i like build 2 loadbalanced
servers.What is best technology(free and open) for
that, in debian?
I need a good material for a simple enveroment, setup.

Without more information, the best we can do is recommend a
general loadbalancer like the one built into the Linux kernel,
ipvs, perhaps managed by the Debian package ldirectord.

It's very good. You will need to read the documentation
carefully, but that's true for all load-balancing systems.

-dsr-


--
Att,
BR-RJ.
Togy Silva Ocozzy
LABS OCOZZI PE.



---
Este email foi escaneado pelo Avast antivírus.
https://www.avast.com/antivirus


Re: LoadBalance With HA

2018-09-16 Thread Labs Ocozzi


Em 16/09/2018 10:30, Dan Ritter escreveu:

On Sun, Sep 16, 2018 at 09:38:52AM -0300, Labs Ocozzi wrote:

Hi, i have a lab in my workstation, i like build 2 loadbalanced
servers.What is best technology(free and open) for
that, in debian?
I need a good material for a simple enveroment, setup.

Without more information, the best we can do is recommend a
general loadbalancer like the one built into the Linux kernel,
ipvs, perhaps managed by the Debian package ldirectord.

It's very good. You will need to read the documentation
carefully, but that's true for all load-balancing systems.

-dsr-


--
Att,
BR-RJ.
Togy Silva Ocozzy
LABS OCOZZI PE.



---
Este email foi escaneado pelo Avast antivírus.
https://www.avast.com/antivirus


Re: LoadBalance With HA

2018-09-16 Thread Dan Ritter
On Sun, Sep 16, 2018 at 09:38:52AM -0300, Labs Ocozzi wrote:
> Hi, i have a lab in my workstation, i like build 2 loadbalanced
> servers.What is best technology(free and open) for
> that, in debian?
> I need a good material for a simple enveroment, setup.

Without more information, the best we can do is recommend a
general loadbalancer like the one built into the Linux kernel,
ipvs, perhaps managed by the Debian package ldirectord.

It's very good. You will need to read the documentation
carefully, but that's true for all load-balancing systems.

-dsr-



Re: LoadBalance With HA

2018-09-16 Thread Gustavo Soares de Lima
Hi,
is it for the website? wha'ts the service?
well, I like Pen, Keepalived, Lvs, data with GlusterFS, etc.
I believe that if you are more specific you can find more specific answers
:)

best regards

Em dom, 16 de set de 2018 às 09:39, Labs Ocozzi 
escreveu:

> Hi, i have a lab in my workstation, i like build 2 loadbalanced
> servers.What is best technology(free and open) for
> that, in debian?
> I need a good material for a simple enveroment, setup.
>
> --
> Att,
> BR-RJ.
> Togy Silva Ocozzy
> LABS OCOZZI PE.
>
>
> ---
> Este email foi escaneado pelo Avast antivírus.
> https://www.avast.com/antivirus
>
>