Hi!

Thanks for answering.

> (You might consider running garbd arbitrator on a third server (or a
> third node), because if the two pxc nodes loose connection between each other
> -> split brain and both nodes won't work
> http://www.percona.com/blog/2012/07/25/percona-xtradb-cluster-failure-scenarios-with-only-2-nodes/)

Yes, I am already planning this.

> Do you get any errors if you use direct jdbc connection from hybris to
> your PXC nodes (no haproxy in between) ?

No. Because of this and my tests with the Active/Passive-setup, I already ruled 
out the Percona cluster.

> Have you enabled logging in haproxy and do you get any errors in
> haproxy logs ?

Kinda (see my haproxy.cfg below). You're right. I will check out the logging 
options and optimize logging.

> What kind of server / client timeouts do you use in haproxy or are
> you reaching maxconn etc. limits ?

I don't think, I reach maxconn, because the maximum connections HATop shows are 
23 and my limit is around 2000.

Here's my haproxy.cfg btw:

global
        log /dev/log    local0
        log /dev/log    local1 notice
        chroot /var/lib/haproxy
        user haproxy
        group haproxy
        daemon
        stats socket /var/run/haproxy.sock mode 600 level admin
        stats timeout 2m

defaults
        log     global
        mode    http
        option  tcplog
        option  dontlognull
        retries 3
        option  redispatch
        timeout connect 50000
        timeout client 50000
        timeout server 50000
        errorfile 400 /etc/haproxy/errors/400.http
        errorfile 403 /etc/haproxy/errors/403.http
        errorfile 408 /etc/haproxy/errors/408.http
        errorfile 500 /etc/haproxy/errors/500.http
        errorfile 502 /etc/haproxy/errors/502.http
        errorfile 503 /etc/haproxy/errors/503.http
        errorfile 504 /etc/haproxy/errors/504.http

listen mysql-cluster 127.0.0.1:3306
        mode tcp
        balance roundrobin
        option httpchk
        server shopclusterdb1 10.10.42.82:3306 check port 9200 inter 12000 rise 
3 fall 3
        server shopclusterdb2 10.10.42.83:3306 check port 9200 inter 12000 rise 
3 fall 3 backup

Kind regards

Dennis

-- 
Dennis Plöger
Systemadministrator und Berater

------
Besuchen Sie uns auf unseren nächsten Veranstaltungen:
- HartmanEVENT 2014, 09.10.2014, Utrecht, Niederlande
------

getit - Gesellschaft für Technologie- und Informationstransfer mbH
Emil-Figge-Straße 76-80
44227 Dortmund

Tel: +49.231.9742.355
Fax: +49.231.9742.356
http://www.getit.de

Amtsgericht Dortmund, HRB-Nr. 26548

Geschäftsführung:
Dr. Thomas Krämerkämper (Vorsitzender)
Christoph Hecker

Reply via email to