Bring galera template to the replication template

The only difference in the galera template is now in the monitor
definition and in the server address values. This fixes the unexpected
responses that some of the galera mysqltest cases suffer from.
This commit is contained in:
Markus Mäkelä
2017-05-30 12:59:40 +03:00
parent 313be69281
commit d516fa21fa
2 changed files with 13 additions and 14 deletions

View File

@ -16,11 +16,13 @@ router=readwritesplit
servers=server1,server2,server3,server4
user=maxskysql
passwd=skysql
router_options=slave_selection_criteria=LEAST_GLOBAL_CONNECTIONS
max_slave_connections=1
[Read Connection Router Slave]
type=service
router=readconnroute
router_options= slave
router_options=slave
servers=server1,server2,server3,server4
user=maxskysql
passwd=skysql
@ -38,7 +40,6 @@ type=listener
service=RW Split Router
protocol=MySQLClient
port=4006
#socket=/tmp/rwsplit.sock
[Read Connection Listener Slave]
type=listener
@ -52,6 +53,16 @@ service=Read Connection Router Master
protocol=MySQLClient
port=4008
[CLI]
type=service
router=cli
[CLI Listener]
type=listener
service=CLI
protocol=maxscaled
socket=default
[server1]
type=server
address=###galera_server_IP_1###
@ -75,14 +86,3 @@ type=server
address=###galera_server_IP_4###
port=###galera_server_port_4###
protocol=MySQLBackend
[CLI]
type=service
router=cli
[CLI Listener]
type=listener
service=CLI
protocol=maxscaled
#address=localhost
socket=default

View File

@ -87,4 +87,3 @@ type=server
address=###node_server_IP_4###
port=###node_server_port_4###
protocol=MySQLBackend