# Globals [maxscale] threads=1 # Servers [server1] type=server address=172.30.0.198 port=3306 protocol=MySQLBackend [server2] type=server address=172.30.0.143 port=3306 protocol=MySQLBackend [server3] type=server address=172.30.0.103 port=3306 protocol=MySQLBackend # Monitoring for the servers [Galera Monitor] type=monitor module=galeramon servers=server1,server2,server3 user=max passwd=pass monitor_interval=1000 # Galera router service [Galera Service] type=service router=readwritesplit servers=server1,server2,server3 user=max passwd=pass enable_root_user=false max_retry_interval=3600 max_connections=0 connection_timeout=0 auth_all_servers=false strip_db_esc=true localhost_match_wildcard_host=true version_string= weightby= log_auth_warnings=true retry_on_failure=true # MaxAdmin Service [MaxAdmin Service] type=service router=cli # Galera cluster listener [Galera Listener] type=listener service=Galera Service protocol=mariadbclient address=0.0.0.0 port=4040 authenticator=MySQLAuth # MaxAdmin listener [MaxAdmin Listener] type=listener service=MaxAdmin Service protocol=maxscaled socket=default [MaxInfo] type=service router=maxinfo user=max passwd=pass [MaxInfo Listener] type=listener service=MaxInfo protocol=MySQLClient port=9003