1
!include include/default_mysqld.cnf
2
!include include/default_ndbd.cnf
10
[cluster_config.slave]
17
# Make all mysqlds use cluster
28
# Append <testname>-slave.opt file to the list of argument used when
32
# Connect mysqld in the second cluster as save to first mysqld
33
# Hardcode the host to 127.0.0.1 until running on more
34
# than one host and it probably need to be masked anyway
35
# master-host= @mysqld.1.#host
36
master-host= 127.0.0.1
37
master-port= @mysqld.1.1.port
38
master-password= @mysqld.1.1.#password
39
master-user= @mysqld.1.1.#user
40
master-connect-retry= 1
43
relay-log= slave-relay-bin
47
master-retry-count= 10
49
# Values reported by slave when it connect to master
50
# and shows up in SHOW SLAVE STATUS;
51
report-host= 127.0.0.1
52
report-port= @mysqld.1.slave.port
58
# Directory where slaves find the dumps generated by "load data"
59
# on the server. The path need to have constant length otherwise
60
# test results will vary, thus a relative path is used.
61
slave-load-tmpdir= ../../../tmp
63
rpl-recovery-rank= @mysqld.1.slave.server-id
67
NDB_CONNECTSTRING= @mysql_cluster.1.ndb_connectstring
68
MASTER_MYPORT= @mysqld.1.1.port
69
MASTER_MYPORT1= @mysqld.2.1.port
71
NDB_CONNECTSTRING_SLAVE= @mysql_cluster.slave.ndb_connectstring
72
SLAVE_MYPORT= @mysqld.1.slave.port
73
SLAVE_MYSOCK= @mysqld.1.slave.socket
75
NDB_BACKUP_DIR= @cluster_config.ndbd.1.1.BackupDataDir