Mxs 1355 (#138)
* add binlog test with gtid * removing ; * restore test to initial state with check_sha1() * remove reset master * make no_vm_revert true by dafault
This commit is contained in:
38
maxscale-system-test/cnf/maxscale.cnf.template.setup_binlog_gtid
Executable file
38
maxscale-system-test/cnf/maxscale.cnf.template.setup_binlog_gtid
Executable file
@ -0,0 +1,38 @@
|
||||
[maxscale]
|
||||
threads=###threads###
|
||||
log_warning=1
|
||||
|
||||
[Binlog_Service]
|
||||
type=service
|
||||
router=binlogrouter
|
||||
user=skysql
|
||||
passwd=skysql
|
||||
version_string=5.6.15-log
|
||||
#router_options=server-id=3,user=repl,password=repl,master-id=1
|
||||
router_options=server_id=3,user=repl,password=repl,longburst=500,heartbeat=30,binlogdir=/var/lib/maxscale/Binlog_Service,mariadb10_master_gtid=on,mariadb10_slave_gtid=on,transaction_safety=on,mariadb10-compatibility=1
|
||||
|
||||
|
||||
[Binlog Listener]
|
||||
type=listener
|
||||
service=Binlog_Service
|
||||
protocol=MySQLClient
|
||||
port=5306
|
||||
|
||||
[CLI]
|
||||
type=service
|
||||
router=cli
|
||||
|
||||
[CLI Listener]
|
||||
type=listener
|
||||
service=CLI
|
||||
protocol=maxscaled
|
||||
#address=localhost
|
||||
socket=default
|
||||
|
||||
[master]
|
||||
type=server
|
||||
address=###node_server_IP_1###
|
||||
port=###node_server_port_1###
|
||||
protocol=MySQLBackend
|
||||
|
||||
|
41
maxscale-system-test/cnf/maxscale.cnf.template.setup_binlog_tx_safe_gtid
Executable file
41
maxscale-system-test/cnf/maxscale.cnf.template.setup_binlog_tx_safe_gtid
Executable file
@ -0,0 +1,41 @@
|
||||
[maxscale]
|
||||
threads=###threads###
|
||||
log_warning=1
|
||||
|
||||
[Binlog_Service]
|
||||
type=service
|
||||
router=binlogrouter
|
||||
#servers=master
|
||||
user=skysql
|
||||
passwd=skysql
|
||||
version_string=5.6.15-log
|
||||
#router_options=server-id=3,user=repl,password=repl,master-id=1
|
||||
router_options=server-id=3,user=repl,password=repl,longburst=500,heartbeat=30,binlogdir=/var/lib/maxscale/Binlog_Service,mariadb10_master_gtid=on,mariadb10_slave_gtid=on,transaction_safety=on,mariadb10-compatibility=1
|
||||
|
||||
|
||||
|
||||
#
|
||||
[Binlog Listener]
|
||||
type=listener
|
||||
service=Binlog_Service
|
||||
protocol=MySQLClient
|
||||
port=5306
|
||||
|
||||
[CLI]
|
||||
type=service
|
||||
router=cli
|
||||
|
||||
[CLI Listener]
|
||||
type=listener
|
||||
service=CLI
|
||||
protocol=maxscaled
|
||||
#address=localhost
|
||||
socket=default
|
||||
|
||||
[master]
|
||||
type=server
|
||||
address=###node_server_IP_1###
|
||||
port=###node_server_port_1###
|
||||
protocol=MySQLBackend
|
||||
|
||||
|
Reference in New Issue
Block a user