~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
#
2
# MySQL NDB Cluster Medium Sample Configuration File
3
#
4
# This files assumes that you are using at least 6
5
# hosts for running the cluster. Hostnames and paths
6
# listed below should be changed to match your setup
7
#
8
9
[NDBD DEFAULT]
10
NoOfReplicas: 2
11
DataDir: /add/path/here
12
FileSystemPath: /add/path/here
13
14
15
# Data Memory, Index Memory, and String Memory
16
17
DataMemory: 3000M
18
IndexMemory: 800M
19
BackupMemory: 64M
20
21
# Transaction Parameters
22
23
MaxNoOfConcurrentOperations: 100000
24
MaxNoOfLocalOperations: 100000
25
26
# Buffering and Logging
27
28
RedoBuffer: 16M
29
30
# Logging and Checkpointing
31
32
NoOfFragmentLogFiles: 200
33
34
# Metadata Objects
35
36
MaxNoOfAttributes: 500
37
MaxNoOfTables: 100
38
39
# Scans and Buffering
40
41
MaxNoOfConcurrentScans: 100
42
43
44
[MGM DEFAULT]
45
PortNumber: 1186
46
DataDir: /add/path/here
47
48
#
49
# Change HOST1 to the name of the NDB_MGMD host
50
# Change HOST2 to the name of the NDB_MGMD host
51
# Change HOST3 to the name of the NDBD host
52
# Change HOST4 to the name of the NDBD host
53
# Change HOST5 to the name of the NDBD host
54
# Change HOST6 to the name of the NDBD host
55
#
56
57
[NDB_MGMD]
58
Id: 1
59
HostName: HOST1
60
ArbitrationRank: 1
61
62
[NDB_MGMD]
63
Id: 2
64
HostName: HOST2
65
ArbitrationRank: 1
66
67
[NDBD]
68
Id: 3
69
HostName: HOST3
70
71
[NDBD]
72
Id: 4
73
HostName: HOST4
74
75
[NDBD]
76
Id: 5
77
HostName: HOST5
78
79
[NDBD]
80
Id: 6
81
HostName: HOST6
82
83
#
84
# Note: The following can be MySQLD connections or
85
#      NDB API application connecting to the cluster
86
#
87
88
[API]
89
Id: 7
90
HostName: HOST1
91
ArbitrationRank: 2
92
93
[API]
94
Id: 8
95
HostName: HOST2
96
ArbitrationRank: 2
97
98
[API]
99
Id: 9
100
HostName: HOST3
101
ArbitrationRank: 2
102
103
[API]
104
Id: 10
105
HostName: HOST4
106
107
[API]
108
Id: 11
109
HostName: HOST5
110
111
[API]
112
Id: 12
113
HostName: HOST6
114
115
[API]
116
Id: 13
117
118
[API]
119
Id: 14
120
121
[API]
122
Id: 15
123
124