Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Haproxy for galera cluster read write split ACL

$
0
0

Hi, I have configured read write split for galera cluster using acl like this
# Define ACLs
acl is_write query -m str -i “INSERT”
acl is_write query -m str -i “UPDATE”
acl is_write query -m str -i “DELETE”
acl is_read query -m str -i “SELECT”

use_backend galera_read if is_read
use_backend galera_write if is_write
default_backend galera_write

it is not working, basically using the default backend always, so when i removed default backend i get server not reachable.
Any idea ho to fix this much appreciated.

Kind regards,

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>