Re: VR/LB inject others options in haproxy.cfg

2019-09-17 Thread Wei ZHOU
Hi Rauklei,

Most of changes can work with haproxy 1.5/1.7/1.8.

You can upload your haproxy configuration. maybe community can help.

-Wei


On Tue, 17 Sep 2019 at 22:11, Rauklei P. S. Guimarães 
wrote:

> Wei?
>  Any restrictions with version of the CloudStack and Haproxy? Actually I
> use 4.11.1.0 and 1.7.5-2.  I trying change Maxconn and others parameters of
> the HAproxy without success.
>
> Tks again,
>
>
>
>
> On Tue, Sep 17, 2019 at 2:46 PM Rauklei P. S. Guimarães  >
> wrote:
>
> > Tks a lot Wei,
> >
> >
> > On Tue, Sep 17, 2019 at 2:21 PM Wei ZHOU  wrote:
> >
> >> fyi
> >>
> >> That is what we have implemented.
> >>
> >>
> >>
> https://kb.leaseweb.com/customer-portal/cloudstack/network-cloudstack#Network:CloudStack-ConfiguringaloadbalancerforanIPAddressofanIsolatedNetwork
> >>
> >> We will create pull request later this year.
> >>
> >> -Wei
> >>
> >> On Tuesday, 17 September 2019, Rauklei P. S. Guimarães <
> rauk...@gmail.com
> >> >
> >> wrote:
> >>
> >> > Maibe in Panel/Global Config?
> >> >
> >> > On Tue, Sep 17, 2019 at 11:17 AM Riepl, Gregor (SWISS TXT) <
> >> > gregor.ri...@swisstxt.ch> wrote:
> >> >
> >> > >
> >> > > > haproxy.cfg is generated by this file
> >> > > >
> >> > > https://github.com/apache/cloudstack/blob/master/core/
> >> > src/main/java/com/cloud/network/HAProxyConfigurator.java
> >> > >
> >> > > Allowing changes to the HAProxy config via the CloudStack API could
> be
> >> > > a very useful addition, as the defaults are sometimes a bit
> limiting.
> >> > >
> >> > > For example, the timeout values don't make much sense for certain
> use
> >> > > cases.
> >> > >
> >> > > Any thoughts?
> >> > >
> >> >
> >> >
> >> > --
> >> > '''
> >> >   Rauklei P.S. Guimarães
> >> >   
> >> >'''
> >> >
> >>
> >
> >
> > --
> > '''
> >   Rauklei P.S. Guimarães
> >   
> >'''
> >
>
>
> --
> '''
>   Rauklei P.S. Guimarães
>   
>'''
>


Re: VR/LB inject others options in haproxy.cfg

2019-09-17 Thread Rauklei P . S . Guimarães
Wei?
 Any restrictions with version of the CloudStack and Haproxy? Actually I
use 4.11.1.0 and 1.7.5-2.  I trying change Maxconn and others parameters of
the HAproxy without success.

Tks again,




On Tue, Sep 17, 2019 at 2:46 PM Rauklei P. S. Guimarães 
wrote:

> Tks a lot Wei,
>
>
> On Tue, Sep 17, 2019 at 2:21 PM Wei ZHOU  wrote:
>
>> fyi
>>
>> That is what we have implemented.
>>
>>
>> https://kb.leaseweb.com/customer-portal/cloudstack/network-cloudstack#Network:CloudStack-ConfiguringaloadbalancerforanIPAddressofanIsolatedNetwork
>>
>> We will create pull request later this year.
>>
>> -Wei
>>
>> On Tuesday, 17 September 2019, Rauklei P. S. Guimarães > >
>> wrote:
>>
>> > Maibe in Panel/Global Config?
>> >
>> > On Tue, Sep 17, 2019 at 11:17 AM Riepl, Gregor (SWISS TXT) <
>> > gregor.ri...@swisstxt.ch> wrote:
>> >
>> > >
>> > > > haproxy.cfg is generated by this file
>> > > >
>> > > https://github.com/apache/cloudstack/blob/master/core/
>> > src/main/java/com/cloud/network/HAProxyConfigurator.java
>> > >
>> > > Allowing changes to the HAProxy config via the CloudStack API could be
>> > > a very useful addition, as the defaults are sometimes a bit limiting.
>> > >
>> > > For example, the timeout values don't make much sense for certain use
>> > > cases.
>> > >
>> > > Any thoughts?
>> > >
>> >
>> >
>> > --
>> > '''
>> >   Rauklei P.S. Guimarães
>> >   
>> >'''
>> >
>>
>
>
> --
> '''
>   Rauklei P.S. Guimarães
>   
>'''
>


-- 
'''
  Rauklei P.S. Guimarães
  
   '''


Re: VR/LB inject others options in haproxy.cfg

2019-09-17 Thread Rauklei P . S . Guimarães
Tks a lot Wei,


On Tue, Sep 17, 2019 at 2:21 PM Wei ZHOU  wrote:

> fyi
>
> That is what we have implemented.
>
>
> https://kb.leaseweb.com/customer-portal/cloudstack/network-cloudstack#Network:CloudStack-ConfiguringaloadbalancerforanIPAddressofanIsolatedNetwork
>
> We will create pull request later this year.
>
> -Wei
>
> On Tuesday, 17 September 2019, Rauklei P. S. Guimarães 
> wrote:
>
> > Maibe in Panel/Global Config?
> >
> > On Tue, Sep 17, 2019 at 11:17 AM Riepl, Gregor (SWISS TXT) <
> > gregor.ri...@swisstxt.ch> wrote:
> >
> > >
> > > > haproxy.cfg is generated by this file
> > > >
> > > https://github.com/apache/cloudstack/blob/master/core/
> > src/main/java/com/cloud/network/HAProxyConfigurator.java
> > >
> > > Allowing changes to the HAProxy config via the CloudStack API could be
> > > a very useful addition, as the defaults are sometimes a bit limiting.
> > >
> > > For example, the timeout values don't make much sense for certain use
> > > cases.
> > >
> > > Any thoughts?
> > >
> >
> >
> > --
> > '''
> >   Rauklei P.S. Guimarães
> >   
> >'''
> >
>


-- 
'''
  Rauklei P.S. Guimarães
  
   '''


Re: VR/LB inject others options in haproxy.cfg

2019-09-17 Thread Wei ZHOU
fyi

That is what we have implemented.

https://kb.leaseweb.com/customer-portal/cloudstack/network-cloudstack#Network:CloudStack-ConfiguringaloadbalancerforanIPAddressofanIsolatedNetwork

We will create pull request later this year.

-Wei

On Tuesday, 17 September 2019, Rauklei P. S. Guimarães 
wrote:

> Maibe in Panel/Global Config?
>
> On Tue, Sep 17, 2019 at 11:17 AM Riepl, Gregor (SWISS TXT) <
> gregor.ri...@swisstxt.ch> wrote:
>
> >
> > > haproxy.cfg is generated by this file
> > >
> > https://github.com/apache/cloudstack/blob/master/core/
> src/main/java/com/cloud/network/HAProxyConfigurator.java
> >
> > Allowing changes to the HAProxy config via the CloudStack API could be
> > a very useful addition, as the defaults are sometimes a bit limiting.
> >
> > For example, the timeout values don't make much sense for certain use
> > cases.
> >
> > Any thoughts?
> >
>
>
> --
> '''
>   Rauklei P.S. Guimarães
>   
>'''
>


Re: VR/LB inject others options in haproxy.cfg

2019-09-17 Thread Rauklei P . S . Guimarães
Maibe in Panel/Global Config?

On Tue, Sep 17, 2019 at 11:17 AM Riepl, Gregor (SWISS TXT) <
gregor.ri...@swisstxt.ch> wrote:

>
> > haproxy.cfg is generated by this file
> >
> https://github.com/apache/cloudstack/blob/master/core/src/main/java/com/cloud/network/HAProxyConfigurator.java
>
> Allowing changes to the HAProxy config via the CloudStack API could be
> a very useful addition, as the defaults are sometimes a bit limiting.
>
> For example, the timeout values don't make much sense for certain use
> cases.
>
> Any thoughts?
>


-- 
'''
  Rauklei P.S. Guimarães
  
   '''


Re: VR/LB inject others options in haproxy.cfg

2019-09-17 Thread Riepl, Gregor (SWISS TXT)

> haproxy.cfg is generated by this file
> https://github.com/apache/cloudstack/blob/master/core/src/main/java/com/cloud/network/HAProxyConfigurator.java

Allowing changes to the HAProxy config via the CloudStack API could be
a very useful addition, as the defaults are sometimes a bit limiting.

For example, the timeout values don't make much sense for certain use
cases.

Any thoughts?


Re: VR/LB inject others options in haproxy.cfg

2019-09-17 Thread Rauklei P . S . Guimarães
Tks Wei,


On Mon, Sep 16, 2019 at 6:25 PM Wei ZHOU  wrote:

> Hi Rauklei,
>
> haproxy.cfg is generated by this file
>
> https://github.com/apache/cloudstack/blob/master/core/src/main/java/com/cloud/network/HAProxyConfigurator.java
>
> -Wei
>
> On Monday, 16 September 2019, Rauklei P. S. Guimarães 
> wrote:
>
> > Hello,
> > I need to set some parameters in haproxy (haproxy.cfg) when the
> "tcp-proxy"
> > protocol is being used. What would be the most elegant way to do this?
> > Maybe via /opt/cloud/bin/update_config.py?
> > Any specific documentation of these scritps (/opt/cloud/bin/*.py)?
> >
> > tks,
> >
> > --
> > '''
> >   Rauklei P.S. Guimarães
> >   
> >'''
> >
>


-- 
'''
  Rauklei P.S. Guimarães
  
   '''