Haproxy for sso internal web failure

2014-12-05 Thread 瞿盛熙
Hi, Sir: I'm a fresh man on HAproxy. we use HAproxy for LB the accessing web site. So, Haproxy is at front, in its backend there are two proxy servers. However, we find if setting Haproxy's VIP in web browser's proxy settings, then the SSO for company internal web site will be failed. If using

RE: eliminate per-server queuing?

2014-12-05 Thread Lukas Tribus
Hi Daniel, We have a situation where our app servers sometimes get into a bad state, and hitting a working server is more important than enforcing persistence. Generally the number of connections to a bad server grows rapidly, so we’ve set a maxconn value on the server line which

Re: Haproxy for sso internal web failure

2014-12-05 Thread Baptiste
On Fri, Dec 5, 2014 at 9:15 AM, 瞿盛熙 smashp...@gmail.com wrote: Hi, Sir: I'm a fresh man on HAproxy. we use HAproxy for LB the accessing web site. So, Haproxy is at front, in its backend there are two proxy servers. However, we find if setting Haproxy's VIP in web browser's proxy settings,

Re: eliminate per-server queuing?

2014-12-05 Thread Klavs Klavsen
Lukas Tribus wrote on 12/05/2014 12:09 PM: [CUT] You should work on your health checking and implement it in a way that HAProxy can detect bad servers. That is the proper way to deal with such problems. Sometimes, providing a helper script on the backend that detects any problems can help with

Re: eliminate per-server queuing?

2014-12-05 Thread Baptiste
On Thu, Dec 4, 2014 at 11:50 PM, Daniel Lieberman dlieber...@bitpusher.com wrote: We have a situation where our app servers sometimes get into a bad state, and hitting a working server is more important than enforcing persistence. Generally the number of connections to a bad server grows

Re: for help about haproxy + tproxy

2014-12-05 Thread Baptiste
On Fri, Dec 5, 2014 at 9:09 AM, 均华 wpk...@gmail.com wrote: I am sorry to trouble you... but I have not any idea about Haproxy + TPROXY now.. when i want to use Haproxy + TPROXY be the transparent balancing server , I have try all the sample on all websites ,but no one is worked... can you

Stop new connections from hitting nodes

2014-12-05 Thread Jakov Sosic
Hi guys I'm wondering what ways of stopping *new* connections from hitting backend nodes? 1) From the docs: https://github.com/haproxy/haproxy-1.5/blob/master/doc/architecture.txt under section '4.2 Soft-stop using backup servers', there is a suggestion to set up iptables PREROUTING

Re: Stop new connections from hitting nodes

2014-12-05 Thread Nenad Merdanovic
Hello Jakov, On 12/05/2014 06:02 PM, Jakov Sosic wrote: Hi guys I'm wondering what ways of stopping *new* connections from hitting backend nodes? 1) From the docs: https://github.com/haproxy/haproxy-1.5/blob/master/doc/architecture.txt under section '4.2 Soft-stop using backup servers',

Re: Stop new connections from hitting nodes

2014-12-05 Thread Malcolm Turnbull
What wrong with just setting the weight to 0 ? i.e. echo set weight VIP_Name/rip2 0 | socat unix-connect:/var/run/haproxy.stat stdio On 5 December 2014 at 17:17, Nenad Merdanovic ni...@nimzo.info wrote: Hello Jakov, On 12/05/2014 06:02 PM, Jakov Sosic wrote: Hi guys I'm wondering what

Re: Stop new connections from hitting nodes

2014-12-05 Thread Nenad Merdanovic
Connections with cookie persistence will still hit the server. On 12/05/2014 06:56 PM, Malcolm Turnbull wrote: What wrong with just setting the weight to 0 ? i.e. echo set weight VIP_Name/rip2 0 | socat unix-connect:/var/run/haproxy.stat stdio On 5 December 2014 at 17:17, Nenad Merdanovic

Re: eliminate per-server queuing?

2014-12-05 Thread Daniel Lieberman
On Dec 5, 2014, at 5:21 AM, Baptiste bed...@gmail.com wrote: On Thu, Dec 4, 2014 at 11:50 PM, Daniel Lieberman dlieber...@bitpusher.com wrote: We have a situation where our app servers sometimes get into a bad state, and hitting a working server is more important than enforcing persistence.

Re: eliminate per-server queuing?

2014-12-05 Thread Daniel Lieberman
Why is this wrong? We do use health-checking, but we can generate a lot of 503s in 2s. Of course the best answer is to fix the app server code so we don’t see this, but the developers have been working on this for a while and we’re trying to mitigate in the meantime. More frequent health

Re: eliminate per-server queuing?

2014-12-05 Thread Klavs Klavsen
Daniel Lieberman wrote on 2014-12-05 19:29: Why is this wrong? We do use health-checking, but we can generate a lot of 503s in 2s. Of course the best answer is to fix the app server code so we don’t see this, but the developers have been working on this for a while and we’re trying to

香港公司大全

2014-12-05 Thread 香港公司大全
香港公司大全 (请加QQ: 345814412 咨询)价格: ¥500元 详细内容:共56881家香港公司数据 ,包含以下各行业,共27个单独行业文件; 文件格式:EXCEL 信息内容包括:公司名称、行业代码、邮箱、电话、传真、联系人、联系人职位、公司详细地址、公司简介。 名录包含的所有行业见下表,可以选择行业单独购买: 序号 数据名称 数据数量 价格(元) 1 Architecture,Planning,ConstructionRealEstate(建築、規劃、建設和房地產) 1536 100 2