Debian Codegraph @

mysql-test/suite/ndb_rpl/t/ndb_rpl_3_cluster.cnf

raw
1 !include include/default_mysqld.cnf
2 !include include/default_ndbd.cnf
3
4 [cluster_config.cluster1]
5 NoOfReplicas= 1
6 ndbd=
7 ndb_mgmd=
8 mysqld=,
9 ndbapi=,,,,,,,,,
10
11 [cluster_config.cluster2]
12 NoOfReplicas= 1
13 ndbd=
14 ndb_mgmd=
15 mysqld=
16 ndbapi=,,,,
17
18 [cluster_config.cluster3]
19 NoOfReplicas= 1
20 ndbd=
21 ndb_mgmd=
22 mysqld=
23 ndbapi=,,,,
24
25 [mysqld]
26 # Make all mysqlds use cluster
27 ndbcluster
28 ndb-wait-connected=20
29 ndb-wait-setup=60
30 ndb-cluster-connection-pool=3
31 replica-allow-batching
32 ndb-log-orig
33 # Turn on bin logging
34 log-bin= cluster1-bin
35 ndb-log-bin=1
36 # for performance reasons
37 ndb-table-temporary=1
38 ndb-extra-logging=99
39 binlog-format=row
40 replica-parallel-workers=1
41 # Use smaller than default cache size to save resources
42 ndb-log-cache-size=32768
43
44 [cluster_config.mysqld.1.cluster1]
45 NodeId=49
46 Dedicated=1
47
48 [cluster_config.ndbapi.1.cluster1]
49 NodeId=16
50 Dedicated=1
51
52 [cluster_config.ndbapi.2.cluster1]
53 NodeId=32
54 Dedicated=1
55
56 [cluster_config.mysqld.1.cluster2]
57 NodeId=49
58 Dedicated=1
59
60 [cluster_config.ndbapi.1.cluster2]
61 NodeId=16
62 Dedicated=1
63
64 [cluster_config.ndbapi.2.cluster2]
65 NodeId=32
66 Dedicated=1
67
68 [cluster_config.mysqld.1.cluster3]
69 NodeId=49
70 Dedicated=1
71
72 [cluster_config.ndbapi.1.cluster3]
73 NodeId=16
74 Dedicated=1
75
76 [cluster_config.ndbapi.2.cluster3]
77 NodeId=32
78 Dedicated=1
79
80 [mysqld.1.cluster1]
81 ndb-cluster-connection-pool-nodeids=49,16,32
82 server_id= 1
83
84 [mysqld.1.cluster2]
85 ndb-cluster-connection-pool-nodeids=49,16,32
86 server_id= 2
87 log-bin= cluster2-bin
88 relay-log= cluster2-relay-bin
89
90 log-replica-updates
91 ndb-log-apply-status
92
93 # Directory where slaves find the dumps generated by "load data"
94 # on the server. The path need to have constant length otherwise
95 # test results will vary, thus a relative path is used.
96 replica-load-tmpdir= ../../../tmp
97
98 [mysqld.1.cluster3]
99 ndb-cluster-connection-pool-nodeids=49,16,32
100 server_id= 3
101 log-bin= cluster3-bin
102 relay-log= cluster3-relay-bin
103
104 log-replica-updates
105 ndb-log-apply-status
106
107 # Directory where slaves find the dumps generated by "load data"
108 # on the server. The path need to have constant length otherwise
109 # test results will vary, thus a relative path is used.
110 replica-load-tmpdir= ../../../tmp
111
112 [ENV]
113 SERVER_MYPORT_1= @mysqld.1.cluster1.port
114 SERVER_MYPORT_2= @mysqld.1.cluster2.port
115 SERVER_MYPORT_3= @mysqld.1.cluster3.port