MXS-2481 Add configuration file template

This commit is contained in:
Johan Wikman
2019-05-23 12:58:26 +03:00
parent 18214b1aa2
commit 8a2c43d297

View File

@ -0,0 +1,51 @@
[maxscale]
threads=###threads###
log_info=1
###clustrix_server###
[Clustrix-Monitor]
type=monitor
module=clustrixmon
servers=###clustrix_server_line###
user=maxskysql
password=skysql
[RWS]
type=service
router=readwritesplit
cluster=Clustrix-Monitor
user=maxskysql
password=skysql
slave_selection_criteria=LEAST_GLOBAL_CONNECTIONS
max_slave_connections=1
[RCR]
type=service
router=readconnroute
router_options=master
cluster=Clustrix-Monitor
user=maxskysql
password=skysql
[RWS-Listener]
type=listener
service=RWS
protocol=MySQLClient
port=4006
[RCR-Listener]
type=listener
service=RCR
protocol=MySQLClient
port=4008
[CLI]
type=service
router=cli
[CLI-Listener]
type=listener
service=CLI
protocol=maxscaled
socket=default