1
!include include/default_mysqld.cnf
2
!include include/default_ndbd.cnf
10
[cluster_config.slave]
17
# Make all mysqlds use cluster
21
# Cluster only supports row format
30
# Append <testname>-slave.opt file to the list of argument used when
34
# Connect mysqld in the second cluster as save to first mysqld
35
# Hardcode the host to 127.0.0.1 until running on more
36
# than one host and it probably need to be masked anyway
37
# master-host= @mysqld.1.#host
38
master-host= 127.0.0.1
39
master-port= @mysqld.1.1.port
40
master-password= @mysqld.1.1.#password
41
master-user= @mysqld.1.1.#user
42
master-connect-retry= 1
45
relay-log= slave-relay-bin
46
# Cluster only supports row format
51
master-retry-count= 10
53
# Values reported by slave when it connect to master
54
# and shows up in SHOW SLAVE STATUS;
55
report-host= 127.0.0.1
56
report-port= @mysqld.1.slave.port
62
# Directory where slaves find the dumps generated by "load data"
63
# on the server. The path need to have constant length otherwise
64
# test results will vary, thus a relative path is used.
65
slave-load-tmpdir= ../../../tmp
67
rpl-recovery-rank= @mysqld.1.slave.server-id
71
NDB_CONNECTSTRING= @mysql_cluster.1.ndb_connectstring
72
MASTER_MYPORT= @mysqld.1.1.port
73
MASTER_MYPORT1= @mysqld.2.1.port
75
NDB_CONNECTSTRING_SLAVE= @mysql_cluster.slave.ndb_connectstring
76
SLAVE_MYPORT= @mysqld.1.slave.port
77
SLAVE_MYSOCK= @mysqld.1.slave.socket
79
NDB_BACKUP_DIR= @cluster_config.ndbd.1.1.BackupDataDir