1# Copyright (c) 2015, 2021, Oracle and/or its affiliates.
2#
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License, version 2.0,
5# as published by the Free Software Foundation.
6#
7# This program is also distributed with certain software (including
8# but not limited to OpenSSL) that is licensed under separate terms,
9# as designated in a particular file or component or in included license
10# documentation.  The authors of MySQL hereby grant you an additional
11# permission to link the program and your derivative works with the
12# separately licensed software that they have included with MySQL.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17# GNU General Public License, version 2.0, for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program; if not, write to the Free Software
21# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
22
23[atrt]
24basedir = CHOOSE_dir
25baseport = 14000
26#clusters = .4node
27clusters = .2node
28fix-nodeid=1
29mt = 0
30
31[ndb_mgmd]
32
33[mysqld]
34innodb
35skip-grant-tables
36socket=mysql.sock
37default-storage-engine=myisam
38
39[client]
40protocol=tcp
41
42#[cluster_config.4node]
43[cluster_config.2node]
44ndb_mgmd = CHOOSE_host1
45#ndbd = CHOOSE_host2,CHOOSE_host3,CHOOSE_host4,CHOOSE_host5
46ndbd = CHOOSE_host2,CHOOSE_host3
47ndbapi= CHOOSE_host1,CHOOSE_host1,CHOOSE_host1
48#mysqld = CHOOSE_host1,CHOOSE_host6
49mysqld = CHOOSE_host1,CHOOSE_host4
50
51NoOfReplicas = 2
52IndexMemory = 100M
53DataMemory = 500M
54BackupMemory = 64M
55MaxNoOfConcurrentScans = 100
56MaxNoOfSavedMessages= 5
57NoOfFragmentLogFiles = 8
58FragmentLogFileSize = 64M
59ODirect=1
60MaxNoOfAttributes=2000
61Checksum=1
62
63SharedGlobalMemory=256M
64DiskPageBufferMemory=256M
65InitialLogfileGroup=undo_buffer_size=64M;undofile01.dat:256M;undofile02.dat:256M
66InitialTablespace=datafile01.dat:256M;datafile02.dat:256M
67TimeBetweenWatchDogCheckInitial=60000
68
69[cluster_config.ndbd.1.2node]
70TwoPassInitialNodeRestartCopy=1
71
72[cluster_config.ndbd.3.2node]
73TwoPassInitialNodeRestartCopy=1
74