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

2019-09-20 Thread Sven Vogel
The new UI will be the best step forward. I think auto generated UI needs also 
a design and not only an api list.

Thanks Wei for the PR...

Von meinem iPhone gesendet


__

Sven Vogel
Teamlead Platform

EWERK DIGITAL GmbH
Brühl 24, D-04109 Leipzig
P +49 341 42649 - 99
F +49 341 42649 - 98
s.vo...@ewerk.com
www.ewerk.com

Geschäftsführer:
Dr. Erik Wende, Hendrik Schubert, Frank Richter
Registergericht: Leipzig HRB 9065

Zertifiziert nach:
ISO/IEC 27001:2013
DIN EN ISO 9001:2015
DIN ISO/IEC 2-1:2011

EWERK-Blog | LinkedIn | Xing | Twitter | Facebook

Auskünfte und Angebote per Mail sind freibleibend und unverbindlich.

Disclaimer Privacy:
Der Inhalt dieser E-Mail (einschließlich etwaiger beigefügter Dateien) ist 
vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht der 
bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung, 
Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte 
informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie die 
E-Mail (einschließlich etwaiger beigefügter Dateien) von Ihrem System. Vielen 
Dank.

The contents of this e-mail (including any attachments) are confidential and 
may be legally privileged. If you are not the intended recipient of this 
e-mail, any disclosure, copying, distribution or use of its contents is 
strictly prohibited, and you should please notify the sender immediately and 
then delete it (including any attachments) from your system. Thank you.
>>> Am 20.09.2019 um 09:46 schrieb Wei ZHOU :
>> Hi Gregor,
>>
>> Agree that it would be nice to have a better UI.
>>
>> However, I am not a frontend developer. The settings are not set frequently
>> so we think it is good enough.
>>
>> Let's see what we can improve when we have a new cloudstack UI (proposed by
>> Rohit on CCC NA 19).
>>
>> -Wei
>>
>> On Fri, 20 Sep 2019 at 08:26, Riepl, Gregor (SWISS TXT) <
>> gregor.ri...@swisstxt.ch> wrote:
>>
>> Nice!
>>
>> I wonder if LB configuration could be put into a dedicated UI. Editing
>> network and rule tags seems a bit clunky.
>> The disadvantage would be that the UI has to be adapted whenever support
>> for new options is added.
>> Maybe an autogenerated UI from the list of supported tags is possible?
>> ________
>> From: Wei ZHOU 
>> Sent: 17 September 2019 19:21
>> To: dev@cloudstack.apache.org 
>> Subject: Re: VR/LB inject others options in haproxy.cfg
>>
>> 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-20 Thread Wei ZHOU
Hi Gregor,

Agree that it would be nice to have a better UI.

However, I am not a frontend developer. The settings are not set frequently
so we think it is good enough.

Let's see what we can improve when we have a new cloudstack UI (proposed by
Rohit on CCC NA 19).

-Wei

On Fri, 20 Sep 2019 at 08:26, Riepl, Gregor (SWISS TXT) <
gregor.ri...@swisstxt.ch> wrote:

> Nice!
>
> I wonder if LB configuration could be put into a dedicated UI. Editing
> network and rule tags seems a bit clunky.
> The disadvantage would be that the UI has to be adapted whenever support
> for new options is added.
> Maybe an autogenerated UI from the list of supported tags is possible?
> 
> From: Wei ZHOU 
> Sent: 17 September 2019 19:21
> To: dev@cloudstack.apache.org 
> Subject: Re: VR/LB inject others options in haproxy.cfg
>
> 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-20 Thread Riepl, Gregor (SWISS TXT)
Nice!

I wonder if LB configuration could be put into a dedicated UI. Editing network 
and rule tags seems a bit clunky.
The disadvantage would be that the UI has to be adapted whenever support for 
new options is added.
Maybe an autogenerated UI from the list of supported tags is possible?

From: Wei ZHOU 
Sent: 17 September 2019 19:21
To: dev@cloudstack.apache.org 
Subject: Re: VR/LB inject others options in haproxy.cfg

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 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
  
   '''


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

2019-09-16 Thread Wei ZHOU
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
>   
>'''
>


VR/LB inject others options in haproxy.cfg

2019-09-16 Thread Rauklei P . S . Guimarães
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
  
   '''