Files
MaxScale/maxscale-system-test/cnf/maxscale.cnf.template.clustrix_mon
Timofey Turenko 56c27afd0a MXS-2458: add template for Clustrix monitor tests
First implementation of Clustrix setup creation
TODO: move Clustrix installation to MDBCI
2019-05-07 17:17:57 +03:00

66 lines
1.1 KiB
Plaintext
Executable File

[maxscale]
threads=###threads###
#log_info=1
[Clusterix-Monitor]
type=monitor
module=clustrixmon
servers=###clustrix_server_line###
user=maxskysql
password=skysql
[RW-Split-Router]
type=service
router=readwritesplit
servers=###clustrix_server_line###
user=maxskysql
password=skysql
slave_selection_criteria=LEAST_GLOBAL_CONNECTIONS
max_slave_connections=1
[Read-Connection-Router-Slave]
type=service
router=readconnroute
router_options=slave
servers=###clustrix_server_line###
user=maxskysql
password=skysql
[Read-Connection-Router-Master]
type=service
router=readconnroute
router_options=master
servers=###clustrix_server_line###
user=maxskysql
password=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
###clustrix_server###