[maxscale]
threads=###threads###
query_classifier_args=log_unrecognized_statements=3

[MySQL Monitor]
type=monitor
module=mysqlmon
###repl51###
servers=server1
user=maxskysql
passwd=skysql
monitor_interval=100

[Database Firewall]
type=filter
module=dbfwfilter
rules=/###access_homedir###/rules/rules.txt
log_match=true
log_no_match=true

[RW Split Router]
type=service
router=readconnroute
servers=server1
user=maxskysql
passwd=skysql
filters=Database Firewall

[Read Connection Router Slave]
type=service
router=readconnroute
router_options=slave
servers=server1
user=maxskysql
passwd=skysql

[Read Connection Router Master]
type=service
router=readconnroute
router_options=master
servers=server1
user=maxskysql
passwd=skysql

[RW Split Listener]
type=listener
service=RW Split Router
protocol=MySQLClient
port=4006

[Read Connection Listener Slave]
type=listener
service=Read Connection Router Slave
protocol=MySQLClient
port=4009

[Read Connection Listener Master]
type=listener
service=Read Connection Router Master
protocol=MySQLClient
port=4008

[CLI]
type=service
router=cli

[CLI Listener]
type=listener
service=CLI
protocol=maxscaled
socket=default

[server1]
type=server
address=###node_server_IP_1###
port=###node_server_port_1###
protocol=MySQLBackend
