Why is it that the summary line of the backend at the bottom says limit 1?

2018-04-06 Thread Pieter Vogelaar
? Best regards, Pieter Vogelaar Freelance DevOps engineer / PHP developer pie...@pietervogelaar.nl<mailto:pie...@pietervogelaar.nl> pietervogelaar.nl<http://pietervogelaar.nl>

Re: What is a nice way to bypass the maintenance mode for certain IP's?

2018-03-06 Thread Pieter Vogelaar
Does use-server also accept some keyword to address the first server in the backend instead of a specific valid server name of the backend? That would save quite a bit logic complexity in Puppet. Best regards, Pieter Vogelaar Op 02-03-18 15:41 heeft Willy Tarreau geschreven: On Fri

Re: What is a nice way to bypass the maintenance mode for certain IP's?

2018-03-02 Thread Pieter Vogelaar
When I move force-persist to the backend, it indeed works. From some other post I understand it's only possible to bypass the maintenance mode where stickiness is used? Best regards, Pieter Vogelaar Op 02-03-18 06:32 heeft Willy Tarreau geschreven: Hi Cyril, On Thu, M

Re: What is a nice way to bypass the maintenance mode for certain IP's?

2018-03-01 Thread Pieter Vogelaar
,nl;q=0.9,en-US;q=0.8,en;q=0.7||Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36} {text/html;charset=ISO-8859-1|||} "GET /hello-world/ HTTP/1.1" Best regards, Pieter Vogelaar Op 01-03-18 15:32 heeft Willy

Re: What is a nice way to bypass the maintenance mode for certain IP's?

2018-03-01 Thread Pieter Vogelaar
Hi Willy, We use Memcached Session Manager that stores the Tomcat sessions to a Couchbase cluster. It suffixes the session ID with "-n1" like: JSESSIONID=s01~1C7985929CDF981D9ACC79EBD8A3293D-n1 Could this JSESSIONID format somehow have impact on HAProxy? Best regards, Pieter Vogel

Re: What is a nice way to bypass the maintenance mode for certain IP's?

2018-03-01 Thread Pieter Vogelaar
nds "force-persist if TRUE". But when I put both tomcat servers in maintenance mode I get a 503 served. Why am I not getting access even though the servers are in maintenance mode? Best regards, Pieter Vogelaar Op 19-02-18 14:04 heeft Willy Tarreau geschreven: Hi, On

Re: What is a nice way to bypass the maintenance mode for certain IP's?

2018-02-20 Thread Pieter Vogelaar
Hi Willy, Thanks I will look into that! On the statistics report page it's possible to set all servers of a backend in maintence mode. Is it also possible to set the servers of all backends in maintenance mode? Best regards, Pieter Vogelaar Op 19-02-18 14:04 heeft Willy Ta

What is a nice way to bypass the maintenance mode for certain IP's?

2018-02-19 Thread Pieter Vogelaar
Hi, At the moment if we set backends in maintenance mode, the servers can’t be reached by anyone. Is it possible to still allow traffic from certain IP’s (of the office network) so that testing can be done, before the backend is available to the general public again? Best regards, Pieter

Why is there a tilde ~ character behind the frontend name in the log file?

2018-02-07 Thread Pieter Vogelaar
I have a http frontend “default-http” and “default-https”. In the access log is the ~ (tilde) character appended to the default-https frontend name, like “default-https~”. Why is that? Best regards, Pieter Vogelaar

Is it possible to configure a failover backend?

2018-01-29 Thread Pieter Vogelaar
roundrobin option httplog option httpchk GET / server loggingdc2-elasticsearch-02a:9200 10.1.36.23:9200 check server loggingdc2-elasticsearch-04a:9200 10.1.36.25:9200 check server loggingdc2-elasticsearch-06a:9200 10.1.36.26:9200 check Best regards, Pieter Vogelaar

Re: How can I map bindings to the correct backend?

2018-01-25 Thread Pieter Vogelaar
It’s TCP layer 4 load balancing, so the HTTP hdr(host) won’t work. Best regards, Pieter Vogelaar Van: Igor Cicimov Datum: donderdag 25 januari 2018 om 16:33 Aan: Pieter Vogelaar CC: "haproxy@formilux.org" Onderwerp: Re: How can I map bindings to the correct backend? Hi Pieter, O

Re: How can I map bindings to the correct backend?

2018-01-25 Thread Pieter Vogelaar
Hi Jonathan, Thanks for your suggestion. Yes that would also be clean enough, thanks! Just out of curiosity, would some form of concatenation of samples be possible? Best regards, Pieter Vogelaar Van: Jonathan Matthews Datum: donderdag 25 januari 2018 om 16:17 Aan: Pieter Vogelaar , haproxy

How can I map bindings to the correct backend?

2018-01-24 Thread Pieter Vogelaar
very much appreciated! Best regards, Pieter Vogelaar