From 35d34862b970fc5ae36c70ef4bc0b3ad22aa7fb2 Mon Sep 17 00:00:00 2001 From: vraatikka Date: Wed, 20 Nov 2013 16:07:12 +0200 Subject: [PATCH] Replaced with MaxScale_template.cnf --- server/MaxScale.cnf | 106 -------------------------------------------- 1 file changed, 106 deletions(-) delete mode 100644 server/MaxScale.cnf diff --git a/server/MaxScale.cnf b/server/MaxScale.cnf deleted file mode 100644 index 7777a5770..000000000 --- a/server/MaxScale.cnf +++ /dev/null @@ -1,106 +0,0 @@ -# -# Example gateway.cnf configuration file -# -# -# -# Configuration session -# Valid options are: -# threads= -[gateway] -threads=1 - - -# A series of service definition -# Valid options are -# router= -# servers=,,... -# user= -# auth= -# -# Valid router modules currently are: -# readwritesplit, readconnroute and debugcli -[RW Split Service] -type=service -router=readwritesplit -servers=server1,server2,server3 -user=maxuser -auth=maxpwd - -[Test Service] -type=service -router=readconnroute -router_options=slave -servers=server1,server2,server3 -user=maxuser -auth=maxpwd - -# Definition of the servers -[server1] -type=server -address=127.0.0.1 -port=3000 -protocol=MySQLBackend - -[server2] -type=server -address=127.0.0.1 -port=3001 -protocol=MySQLBackend - -[server3] -type=server -address=127.0.0.1 -port=3002 -protocol=MySQLBackend - -[Debug Service] -type=service -router=debugcli - -# Listener definitions for the services -# Valid options are: -# service= -# protocol= -# port -[Debug Listener] -type=listener -service=Debug Service -protocol=telnetd -port=4442 - -[Test Listener] -type=listener -service=Test Service -protocol=MySQLClient -port=4008 - -[RW Split Listener] -type=listener -service=RW Split Service -protocol=MySQLClient -port=4006 - -# Define a monitor that can be used to determine the state and role of -# the servers. -# Valid options are: -# module= -# servers=,,... -# user= -# passwd= -[MySQL Monitor] -type=monitor -module=mysqlmon -servers=server1,server2,server3 -user=maxuser -passwd=maxpwd - - -[HTTPD Service] -type=service -router=testroute - -[HTTPD Listener] -type=listener -service=HTTPD Service -protocol=HTTPD -port=6444