-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcluster-config.ini
142 lines (101 loc) · 1.63 KB
/
cluster-config.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
#
# Configuration file for MySQL Cluster
#
[NDB_MGMD DEFAULT]
Portnumber=1186
DataDir=/var/lib/ndb/management
HostName=127.0.0.1
NodeId=49
ArbitrationRank=1
[TCP DEFAULT]
SendBufferMemory=2M
ReceiveBufferMemory=2M
[NDBD DEFAULT]
ServerPort=11860
BackupMaxWriteSize=1M
BackupDataBufferSize=16M
BackupLogBufferSize=4M
BackupMemory=20M
BackupReportFrequency=10
MemReportFrequency=30
LogLevelStartup=15
LogLevelShutdown=15
LogLevelCheckpoint=8
LogLevelNodeRestart=15
DataMemory=1024M
IndexMemory=256M
MaxNoOfTables=4096
MaxNoOfTriggers=3500
NoOfReplicas=2
StringMemory=25
DiskPageBufferMemory=64M
SharedGlobalMemory=20M
LongMessageBuffer=32M
MaxNoOfConcurrentTransactions=16384
BatchSizePerLocalScan=512
FragmentLogFileSize=64M
NoOfFragmentLogFiles=16
RedoBuffer=32M
MaxNoOfExecutionThreads=2
StopOnError=false
LockPagesInMainMemory=1
TimeBetweenEpochsTimeout=32000
TimeBetweenWatchdogCheckInitial=60000
TransactionInactiveTimeout=60000
HeartbeatIntervalDbDb=15000
HeartbeatIntervalDbApi=15000
DataDir=/var/lib/ndb/data
[MYSQLD DEFAULT]
ArbitrationRank=2
[NDB_MGMD]
NodeId=49
## Pre-allocate 4 data node group slots ##
[NDBD]
NodeId=1
[NDBD]
NodeId=2
[NDBD]
NodeId=3
NodeGroup=65535
[NDBD]
NodeId=4
NodeGroup=65535
[NDBD]
NodeId=5
NodeGroup=65535
[NDBD]
NodeId=6
NodeGroup=65535
[NDBD]
NodeId=7
NodeGroup=65535
[NDBD]
NodeId=8
NodeGroup=65535
## Pre-allocate 25 sql node slots ##
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
## dynamic node list ##