From 8a2c43d297bb10c72f05b9b446b02f99db2b332d Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Thu, 23 May 2019 12:58:26 +0300 Subject: [PATCH] MXS-2481 Add configuration file template --- .../cnf/maxscale.cnf.template.clustrix_basics | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 maxscale-system-test/cnf/maxscale.cnf.template.clustrix_basics diff --git a/maxscale-system-test/cnf/maxscale.cnf.template.clustrix_basics b/maxscale-system-test/cnf/maxscale.cnf.template.clustrix_basics new file mode 100644 index 000000000..5c42e8fd8 --- /dev/null +++ b/maxscale-system-test/cnf/maxscale.cnf.template.clustrix_basics @@ -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