
Now the test program will 1) Write to each node in a Galera cluster and verify that the data ends up in the slave. 2) At the end of 1) execute STOP SLAVE and START SLAVE to check that replication can be stopped and started again (won't work unless each node has the same server_id and value for @@log_bin_basename). 3) Block the node BLR is replicating from and expect it to connect to the next configured master and that replication continues to work. Do that for all nodes. 4) Stop MaxScale and restart it and expect 3) to work. That checks that BLR saves all necessary information in master.ini and is capable of reading it.
28 lines
354 B
Plaintext
28 lines
354 B
Plaintext
[BLR]
|
|
type=service
|
|
router=binlogrouter
|
|
user=repl
|
|
password=repl
|
|
version_string=5.6.15-log
|
|
master_id=5
|
|
server_id=4711
|
|
mariadb10_master_gtid=On
|
|
heartbeat=2
|
|
|
|
[BLR-Listener]
|
|
type=listener
|
|
service=BLR
|
|
protocol=MariaDBClient
|
|
port=5306
|
|
|
|
[CLI]
|
|
type=service
|
|
router=cli
|
|
|
|
[CLI Listener]
|
|
type=listener
|
|
service=CLI
|
|
protocol=maxscaled
|
|
#address=localhost
|
|
socket=default
|