frontend DBWRITE
bind ip:port
default_backend GALERA_WRITE
backend GALERA_WRITE
mode tcp
option tcpka
option httpchk
default-server port 9200 inter 2s downinter 5s rise 3 fall 3 slowstart 2m
server galera1 galera1:3306 check
server galera2 galera2:3306 check backup
server galera3 galera3:3306 check backup
server galera4 galera4:3306 check backup
frontend DBREAD
bind ip:port+1
default_backend GALERA_READ
backend GALERA_READ
mode tcp
balance leastconn
option tcpka
default-server port 9200 inter 2s downinter 5s rise 3 fall 3 slowstart 2m
server galera2 galera2:3306 check
server galera3 galera3:3306 check
server galera4 galera4:3306 check
--
You received this message because you are subscribed to the Google Groups "codership" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codership-tea...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi all,I have few queries on Load balancing on Galera cluster.1. How to distribute the load (writes) to one node and Reads to other nodes.How to make one node as Master and remaining all are secondary nodes.
2. How automatic failover can be performed on the Galera cluster.As i have 3 nodes - node1 ,node2, node3.If node1 is the bootstrapped node than if it goes down than how to switches to another node automatically.do we need to config any parameters in the cluster .cnf file.Please explain me the process.
Hi Claudio,Have you ever used MaxScale for production please?People asked about MaxScale HA and I have not heard of satisfactory answers yet.