Files
MaxScale/maxscale-system-test/cnf/maxscale.cnf.template.csmon_test
Markus Mäkelä 41670875fc MXS-2146: Add csmon test case
Added a test case that does a set of sanity checks on the monitor. As the
monitor is very simple, there are not a lot of things to test without
access to the actual instances (e.g. ExeMgr failures need to be tested).

Currently the test always passes as ColumnStore clusters aren't
implemented for the test framework.
2018-11-19 20:19:21 +02:00

49 lines
831 B
Plaintext
Executable File

[maxscale]
threads=###threads###
[CS-Monitor]
type=monitor
module=csmon
servers=server1,server2,server3,server4
user=maxskysql
password=skysql
monitor_interval=1000
primary=server1
[RW-Split-Router]
type=service
router=readwritesplit
servers=server1,server2,server3,server4
user=maxskysql
password=skysql
[RW-Split-Listener]
type=listener
service=RW-Split-Router
protocol=MariaDBClient
port=4006
[server1]
type=server
address=###node_server_IP_1###
port=###node_server_port_1###
protocol=MariaDBBackend
[server2]
type=server
address=###node_server_IP_2###
port=###node_server_port_2###
protocol=MariaDBBackend
[server3]
type=server
address=###node_server_IP_3###
port=###node_server_port_3###
protocol=MariaDBBackend
[server4]
type=server
address=###node_server_IP_4###
port=###node_server_port_4###
protocol=MariaDBBackend