52 lines
729 B
Plaintext
52 lines
729 B
Plaintext
[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
|