~mathiaz/ubuntu/lucid/mysql-dfsg-5.1/zap-bug-552053

0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
1
'\" t
1 by Chuck Short
Import upstream version 5.1.30
2
.\"     Title: \fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
3
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
0.2.4 by Norbert Tretkowski
Import upstream version 5.1.39
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
5
.\"      Date: 11/04/2009
1 by Chuck Short
Import upstream version 5.1.30
6
.\"    Manual: MySQL Database System
7
.\"    Source: MySQL 5.1
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
8
.\"  Language: English
1 by Chuck Short
Import upstream version 5.1.30
9
.\"
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
10
.TH "\FBNDBD\FR" "8" "11/04/2009" "MySQL 5\&.1" "MySQL Database System"
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
11
.\" -----------------------------------------------------------------
12
.\" * set default formatting
13
.\" -----------------------------------------------------------------
1 by Chuck Short
Import upstream version 5.1.30
14
.\" disable hyphenation
15
.nh
16
.\" disable justification (adjust text to left margin only)
17
.ad l
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
18
.\" -----------------------------------------------------------------
19
.\" * MAIN CONTENT STARTS HERE *
20
.\" -----------------------------------------------------------------
21
.\" ndbd
22
.\" MySQL Cluster: ndbd
23
.\" MySQL Cluster: data nodes
24
.\" data nodes (MySQL Cluster)
25
.\" storage nodes - see data nodes, ndbd
1 by Chuck Short
Import upstream version 5.1.30
26
.SH "NAME"
0.2.2 by Christian Hammers
Import upstream version 5.1.36
27
ndbd \- the MySQL Cluster data node daemon
1 by Chuck Short
Import upstream version 5.1.30
28
.SH "SYNOPSIS"
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
29
.HP \w'\fBndbd\ \fR\fB\fIoptions\fR\fR\ 'u
1 by Chuck Short
Import upstream version 5.1.30
30
\fBndbd \fR\fB\fIoptions\fR\fR
31
.SH "DESCRIPTION"
32
.PP
33
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
34
is the process that is used to handle all the data in tables using the NDB Cluster storage engine\&. This is the process that empowers a data node to accomplish distributed transaction handling, node recovery, checkpointing to disk, online backup, and related tasks\&.
1 by Chuck Short
Import upstream version 5.1.30
35
.PP
36
In a MySQL Cluster, a set of
37
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
38
processes cooperate in handling data\&. These processes can execute on the same computer (host) or on different computers\&. The correspondences between data nodes and Cluster hosts is completely configurable\&.
39
.\" MySQL Cluster: administration
40
.\" MySQL Cluster: commands
41
.\" command options (MySQL Cluster): ndbd
42
.\" MySQL Cluster: ndbd process
0.1.1 by Norbert Tretkowski
Import upstream version 5.1.32
43
.PP
0.2.5 by Norbert Tretkowski
Import upstream version 5.1.40
44
The following table includes command options specific to the MySQL Cluster data node program
45
\fBndbd\fR\&. Additional descriptions follow the table\&. For options common to all MySQL Cluster programs, see
46
Section\ \&17.4.2, \(lqOptions Common to MySQL Cluster Programs\(rq\&.
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
47
.if n \{\
0.2.2 by Christian Hammers
Import upstream version 5.1.36
48
.sp
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
49
.\}
50
.RS 4
0.2.2 by Christian Hammers
Import upstream version 5.1.36
51
.it 1 an-trap
52
.nr an-no-space-flag 1
53
.nr an-break-flag 1
54
.br
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
55
.ps +1
0.2.2 by Christian Hammers
Import upstream version 5.1.36
56
\fBNote\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
57
.ps -1
58
.br
0.2.2 by Christian Hammers
Import upstream version 5.1.36
59
.PP
60
All of these options also apply to the multi\-threaded version of this program \(em
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
61
\fBndbmtd\fR, which is available in MySQL Cluster NDB 7\&.0 \(em and you may substitute
0.2.2 by Christian Hammers
Import upstream version 5.1.36
62
\(lq\fBndbmtd\fR\(rq
63
for
64
\(lq\fBndbd\fR\(rq
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
65
wherever the latter occurs in this section\&.
66
.sp .5v
67
.RE
0.2.2 by Christian Hammers
Import upstream version 5.1.36
68
.PP
69
For options common to all
70
NDBCLUSTER
71
programs, see
0.2.5 by Norbert Tretkowski
Import upstream version 5.1.40
72
Section\ \&17.4.2, \(lqOptions Common to MySQL Cluster Programs\(rq\&.
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
73
.sp
74
.RS 4
75
.ie n \{\
76
\h'-04'\(bu\h'+03'\c
77
.\}
78
.el \{\
79
.sp -1
80
.IP \(bu 2.3
81
.\}
0.2.2 by Christian Hammers
Import upstream version 5.1.36
82
\fB\-\-bind\-address\fR
83
.TS
84
allbox tab(:);
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
85
l l s
86
l l s
87
l l s
88
^ l l
89
^ l l.
0.2.2 by Christian Hammers
Import upstream version 5.1.36
90
T{
91
\fBVersion Introduced\fR
92
T}:T{
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
93
5\&.1\&.12
0.2.2 by Christian Hammers
Import upstream version 5.1.36
94
T}
95
T{
96
\fBCommand Line Format\fR
97
T}:T{
98
\-\-bind\-address=name
99
T}
100
T{
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
101
\ \&
102
T}:T{
0.2.4 by Norbert Tretkowski
Import upstream version 5.1.39
103
\fBPermitted Values \fR
0.2.2 by Christian Hammers
Import upstream version 5.1.36
104
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
105
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
106
\fBType\fR
107
T}:T{
108
string
109
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
110
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
111
\fBDefault\fR
112
T}:T{
113
T}
114
.TE
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
115
.sp 1
0.2.2 by Christian Hammers
Import upstream version 5.1.36
116
Causes
117
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
118
to bind to a specific network interface (host name or IP address)\&. This option has no default value\&.
119
.sp
120
This option was added in MySQL 5\&.1\&.12\&.
121
.RE
122
.sp
123
.RS 4
124
.ie n \{\
125
\h'-04'\(bu\h'+03'\c
126
.\}
127
.el \{\
128
.sp -1
129
.IP \(bu 2.3
130
.\}
0.2.2 by Christian Hammers
Import upstream version 5.1.36
131
\fB\-\-daemon\fR,
132
\fB\-d\fR
133
.TS
134
allbox tab(:);
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
135
l l s
136
l l s
137
^ l l
138
^ l l.
0.2.2 by Christian Hammers
Import upstream version 5.1.36
139
T{
140
\fBCommand Line Format\fR
141
T}:T{
142
\-\-daemon
143
T}
144
T{
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
145
\ \&
146
T}:T{
0.2.4 by Norbert Tretkowski
Import upstream version 5.1.39
147
\fBPermitted Values \fR
0.2.2 by Christian Hammers
Import upstream version 5.1.36
148
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
149
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
150
\fBType\fR
151
T}:T{
152
boolean
153
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
154
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
155
\fBDefault\fR
156
T}:T{
157
TRUE
158
T}
159
.TE
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
160
.sp 1
0.2.2 by Christian Hammers
Import upstream version 5.1.36
161
Instructs
162
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
163
to execute as a daemon process\&. This is the default behavior\&.
0.2.2 by Christian Hammers
Import upstream version 5.1.36
164
\fB\-\-nodaemon\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
165
can be used to prevent the process from running as a daemon\&.
0.2.4 by Norbert Tretkowski
Import upstream version 5.1.39
166
.sp
167
This option has no effect when running
168
\fBndbd\fR
169
or
170
\fBndbmtd\fR
171
on Windows platforms\&.
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
172
.RE
173
.sp
174
.RS 4
175
.ie n \{\
176
\h'-04'\(bu\h'+03'\c
177
.\}
178
.el \{\
179
.sp -1
180
.IP \(bu 2.3
181
.\}
182
.\" --initial option (ndbd)
183
.\" --initial option (ndbmtd)
0.2.2 by Christian Hammers
Import upstream version 5.1.36
184
\fB\-\-initial\fR
185
.TS
186
allbox tab(:);
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
187
l l s
188
l l s
189
^ l l
190
^ l l.
0.2.2 by Christian Hammers
Import upstream version 5.1.36
191
T{
192
\fBCommand Line Format\fR
193
T}:T{
194
\-\-initial
195
T}
196
T{
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
197
\ \&
198
T}:T{
0.2.4 by Norbert Tretkowski
Import upstream version 5.1.39
199
\fBPermitted Values \fR
0.2.2 by Christian Hammers
Import upstream version 5.1.36
200
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
201
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
202
\fBType\fR
203
T}:T{
204
boolean
205
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
206
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
207
\fBDefault\fR
208
T}:T{
209
FALSE
210
T}
211
.TE
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
212
.sp 1
0.2.2 by Christian Hammers
Import upstream version 5.1.36
213
Instructs
214
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
215
to perform an initial start\&. An initial start erases any files created for recovery purposes by earlier instances of
216
\fBndbd\fR\&. It also re\-creates recovery log files\&. Note that on some operating systems this process can take a substantial amount of time\&.
0.2.2 by Christian Hammers
Import upstream version 5.1.36
217
.sp
218
An
219
\fB\-\-initial\fR
220
start is to be used
221
\fIonly\fR
222
when starting the
223
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
224
process under very special circumstances; this is because this option causes all files to be removed from the Cluster file system and all redo log files to be re\-created\&. These circumstances are listed here:
225
.sp
226
.RS 4
227
.ie n \{\
228
\h'-04'\(bu\h'+03'\c
229
.\}
230
.el \{\
231
.sp -1
232
.IP \(bu 2.3
233
.\}
234
When performing a software upgrade which has changed the contents of any files\&.
235
.RE
236
.sp
237
.RS 4
238
.ie n \{\
239
\h'-04'\(bu\h'+03'\c
240
.\}
241
.el \{\
242
.sp -1
243
.IP \(bu 2.3
244
.\}
0.2.2 by Christian Hammers
Import upstream version 5.1.36
245
When restarting the node with a new version of
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
246
\fBndbd\fR\&.
247
.RE
248
.sp
249
.RS 4
250
.ie n \{\
251
\h'-04'\(bu\h'+03'\c
252
.\}
253
.el \{\
254
.sp -1
255
.IP \(bu 2.3
256
.\}
257
As a measure of last resort when for some reason the node restart or system restart repeatedly fails\&. In this case, be aware that this node can no longer be used to restore data due to the destruction of the data files\&.
258
.RE
259
.RS 4
0.2.4 by Norbert Tretkowski
Import upstream version 5.1.39
260
Use of this option prevents the
261
StartPartialTimeout
262
and
263
StartPartitionedTimeout
264
configuration parameters from having any effect\&.
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
265
.if n \{\
266
.sp
267
.\}
268
.RS 4
0.2.2 by Christian Hammers
Import upstream version 5.1.36
269
.it 1 an-trap
270
.nr an-no-space-flag 1
271
.nr an-break-flag 1
272
.br
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
273
.ps +1
0.2.2 by Christian Hammers
Import upstream version 5.1.36
274
\fBImportant\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
275
.ps -1
276
.br
0.2.2 by Christian Hammers
Import upstream version 5.1.36
277
This option does
278
\fInot\fR
279
affect either of the following:
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
280
.sp
281
.RS 4
282
.ie n \{\
283
\h'-04'\(bu\h'+03'\c
284
.\}
285
.el \{\
286
.sp -1
287
.IP \(bu 2.3
288
.\}
0.2.2 by Christian Hammers
Import upstream version 5.1.36
289
Backup files that have already been created by the affected node
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
290
.RE
291
.sp
292
.RS 4
293
.ie n \{\
294
\h'-04'\(bu\h'+03'\c
295
.\}
296
.el \{\
297
.sp -1
298
.IP \(bu 2.3
299
.\}
0.2.2 by Christian Hammers
Import upstream version 5.1.36
300
MySQL Cluster Disk Data files (see
0.2.5 by Norbert Tretkowski
Import upstream version 5.1.40
301
Section\ \&17.5.9, \(lqMySQL Cluster Disk Data Tables\(rq)\&.
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
302
.RE
303
.RS 4
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
304
.sp
305
This option also has no effect on recovery of data by a data node that is just starting (or restarting) from data nodes that are already running\&. This recovery of data occurs automatically, and requires no user intervention in a MySQL Cluster that is running normally\&.
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
306
.sp .5v
307
.RE
0.2.2 by Christian Hammers
Import upstream version 5.1.36
308
It is permissible to use this option when starting the cluster for the very first time (that is, before any data node files have been created); however, it is
309
\fInot\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
310
necessary to do so\&.
311
.RE
312
.sp
313
.RS 4
314
.ie n \{\
315
\h'-04'\(bu\h'+03'\c
316
.\}
317
.el \{\
318
.sp -1
319
.IP \(bu 2.3
320
.\}
321
.\" --initial-start option (ndbd)
322
.\" --initial-start option (ndbmtd)
0.2.2 by Christian Hammers
Import upstream version 5.1.36
323
\fB\-\-initial\-start\fR
324
.TS
325
allbox tab(:);
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
326
l l s
327
l l s
328
l l s
329
^ l l
330
^ l l.
0.2.2 by Christian Hammers
Import upstream version 5.1.36
331
T{
332
\fBVersion Introduced\fR
333
T}:T{
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
334
5\&.1\&.11
0.2.2 by Christian Hammers
Import upstream version 5.1.36
335
T}
336
T{
337
\fBCommand Line Format\fR
338
T}:T{
339
\-\-initial\-start
340
T}
341
T{
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
342
\ \&
343
T}:T{
0.2.4 by Norbert Tretkowski
Import upstream version 5.1.39
344
\fBPermitted Values \fR
0.2.2 by Christian Hammers
Import upstream version 5.1.36
345
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
346
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
347
\fBType\fR
348
T}:T{
349
boolean
350
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
351
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
352
\fBDefault\fR
353
T}:T{
354
FALSE
355
T}
356
.TE
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
357
.sp 1
358
This option is used when performing a partial initial start of the cluster\&. Each node should be started with this option, as well as
359
\fB\-\-nowait\-nodes\fR\&.
0.2.2 by Christian Hammers
Import upstream version 5.1.36
360
.sp
361
For example, suppose you have a 4\-node cluster whose data nodes have the IDs 2, 3, 4, and 5, and you wish to perform a partial initial start using only nodes 2, 4, and 5 \(em that is, omitting node 3:
362
.sp
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
363
.if n \{\
364
.RS 4
365
.\}
0.2.2 by Christian Hammers
Import upstream version 5.1.36
366
.nf
367
ndbd \-\-ndbd\-nodeid=2 \-\-nowait\-nodes=3 \-\-initial\-start
368
ndbd \-\-ndbd\-nodeid=4 \-\-nowait\-nodes=3 \-\-initial\-start
369
ndbd \-\-ndbd\-nodeid=5 \-\-nowait\-nodes=3 \-\-initial\-start
370
.fi
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
371
.if n \{\
0.2.2 by Christian Hammers
Import upstream version 5.1.36
372
.RE
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
373
.\}
374
.sp
375
This option was added in MySQL 5\&.1\&.11\&.
376
.if n \{\
377
.sp
378
.\}
379
.RS 4
0.2.2 by Christian Hammers
Import upstream version 5.1.36
380
.it 1 an-trap
381
.nr an-no-space-flag 1
382
.nr an-break-flag 1
383
.br
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
384
.ps +1
0.2.2 by Christian Hammers
Import upstream version 5.1.36
385
\fBImportant\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
386
.ps -1
387
.br
388
Prior to MySQL 5\&.1\&.19, it was not possible to perform DDL operations involving Disk Data tables on a partially started cluster\&. (See
389
\m[blue]\fBBug#24631\fR\m[]\&\s-2\u[1]\d\s+2\&.)
390
.sp .5v
391
.RE
392
.RE
393
.sp
394
.RS 4
395
.ie n \{\
396
\h'-04'\(bu\h'+03'\c
397
.\}
398
.el \{\
399
.sp -1
400
.IP \(bu 2.3
401
.\}
402
.\" --nowait-nodes option (ndbd)
403
.\" --nowait-nodes option (ndbmtd)
404
\fB\-\-nowait\-nodes=\fR\fB\fInode_id_1\fR\fR\fB[, \fR\fB\fInode_id_2\fR\fR\fB[, \&.\&.\&.]]\fR
0.2.2 by Christian Hammers
Import upstream version 5.1.36
405
.TS
406
allbox tab(:);
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
407
l l s
408
l l s
409
l l s
410
^ l l
411
^ l l.
0.2.2 by Christian Hammers
Import upstream version 5.1.36
412
T{
413
\fBVersion Introduced\fR
414
T}:T{
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
415
5\&.1\&.11
0.2.2 by Christian Hammers
Import upstream version 5.1.36
416
T}
417
T{
418
\fBCommand Line Format\fR
419
T}:T{
420
\-\-nowait\-nodes=list
421
T}
422
T{
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
423
\ \&
424
T}:T{
0.2.4 by Norbert Tretkowski
Import upstream version 5.1.39
425
\fBPermitted Values \fR
0.2.2 by Christian Hammers
Import upstream version 5.1.36
426
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
427
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
428
\fBType\fR
429
T}:T{
430
string
431
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
432
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
433
\fBDefault\fR
434
T}:T{
435
T}
436
.TE
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
437
.sp 1
438
This option takes a list of data nodes which for which the cluster will not wait for before starting\&.
439
.sp
440
This can be used to start the cluster in a partitioned state\&. For example, to start the cluster with only half of the data nodes (nodes 2, 3, 4, and 5) running in a 4\-node cluster, you can start each
0.2.2 by Christian Hammers
Import upstream version 5.1.36
441
\fBndbd\fR
442
process with
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
443
\fB\-\-nowait\-nodes=3,5\fR\&. In this case, the cluster starts as soon as nodes 2 and 4 connect, and does
0.2.2 by Christian Hammers
Import upstream version 5.1.36
444
\fInot\fR
445
wait
446
StartPartitionedTimeout
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
447
milliseconds for nodes 3 and 5 to connect as it would otherwise\&.
0.2.2 by Christian Hammers
Import upstream version 5.1.36
448
.sp
449
If you wanted to start up the same cluster as in the previous example without one
450
\fBndbd\fR
451
\(em say, for example, that the host machine for node 3 has suffered a hardware failure \(em then start nodes 2, 4, and 5 with
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
452
\fB\-\-nowait\-nodes=3\fR\&. Then the cluster will start as soon as nodes 2, 4, and 5 connect and will not wait for node 3 to start\&.
453
.sp
454
This option was added in MySQL 5\&.1\&.9\&.
455
.RE
456
.sp
457
.RS 4
458
.ie n \{\
459
\h'-04'\(bu\h'+03'\c
460
.\}
461
.el \{\
462
.sp -1
463
.IP \(bu 2.3
464
.\}
465
.\" --nodaemon option (ndbd)
466
.\" --nodaemon option (ndbmtd)
0.2.2 by Christian Hammers
Import upstream version 5.1.36
467
\fB\-\-nodaemon\fR
468
.TS
469
allbox tab(:);
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
470
l l s
471
l l s
472
^ l l
473
^ l l.
0.2.2 by Christian Hammers
Import upstream version 5.1.36
474
T{
475
\fBCommand Line Format\fR
476
T}:T{
477
\-\-nodaemon
478
T}
479
T{
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
480
\ \&
481
T}:T{
0.2.4 by Norbert Tretkowski
Import upstream version 5.1.39
482
\fBPermitted Values \fR
0.2.2 by Christian Hammers
Import upstream version 5.1.36
483
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
484
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
485
\fBType\fR
486
T}:T{
487
boolean
488
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
489
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
490
\fBDefault\fR
491
T}:T{
492
FALSE
493
T}
494
.TE
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
495
.sp 1
0.2.2 by Christian Hammers
Import upstream version 5.1.36
496
Instructs
497
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
498
not to start as a daemon process\&. This is useful when
0.2.2 by Christian Hammers
Import upstream version 5.1.36
499
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
500
is being debugged and you want output to be redirected to the screen\&.
0.2.4 by Norbert Tretkowski
Import upstream version 5.1.39
501
.sp
502
As of MySQL Cluster NDB 7\&.0\&.8, the default behavior for
503
\fBndbd\fR
504
and
505
\fBndbmtd\fR
506
on Windows is to run in the foreground, making this option unnecessary on Windows platforms\&. (\m[blue]\fBBug#45588\fR\m[]\&\s-2\u[2]\d\s+2)
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
507
.RE
508
.sp
509
.RS 4
510
.ie n \{\
511
\h'-04'\(bu\h'+03'\c
512
.\}
513
.el \{\
514
.sp -1
515
.IP \(bu 2.3
516
.\}
517
.\" --nostart option (ndbd)
518
.\" -n option (ndbd)
519
.\" --nostart option (ndbmtd)
520
.\" -n option (ndbmtd)
0.2.2 by Christian Hammers
Import upstream version 5.1.36
521
\fB\-\-nostart\fR,
522
\fB\-n\fR
523
.TS
524
allbox tab(:);
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
525
l l s
526
l l s
527
^ l l
528
^ l l.
0.2.2 by Christian Hammers
Import upstream version 5.1.36
529
T{
530
\fBCommand Line Format\fR
531
T}:T{
532
\-\-nostart
533
T}
534
T{
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
535
\ \&
536
T}:T{
0.2.4 by Norbert Tretkowski
Import upstream version 5.1.39
537
\fBPermitted Values \fR
0.2.2 by Christian Hammers
Import upstream version 5.1.36
538
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
539
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
540
\fBType\fR
541
T}:T{
542
boolean
543
T}
0.2.6 by Norbert Tretkowski
Import upstream version 5.1.41
544
:T{
0.2.2 by Christian Hammers
Import upstream version 5.1.36
545
\fBDefault\fR
546
T}:T{
547
FALSE
548
T}
549
.TE
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
550
.sp 1
0.2.2 by Christian Hammers
Import upstream version 5.1.36
551
Instructs
552
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
553
not to start automatically\&. When this option is used,
0.2.2 by Christian Hammers
Import upstream version 5.1.36
554
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
555
connects to the management server, obtains configuration data from it, and initializes communication objects\&. However, it does not actually start the execution engine until specifically requested to do so by the management server\&. This can be accomplished by issuing the proper
0.2.2 by Christian Hammers
Import upstream version 5.1.36
556
START
557
command in the management client (see
0.2.5 by Norbert Tretkowski
Import upstream version 5.1.40
558
Section\ \&17.5.2, \(lqCommands in the MySQL Cluster Management Client\(rq)\&.
0.2.2 by Christian Hammers
Import upstream version 5.1.36
559
.RE
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
560
.\" MySQL Cluster: log files
561
.\" log files (MySQL Cluster)
1 by Chuck Short
Import upstream version 5.1.30
562
.PP
563
\fBndbd\fR
564
generates a set of log files which are placed in the directory specified by
565
DataDir
566
in the
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
567
config\&.ini
568
configuration file\&.
1 by Chuck Short
Import upstream version 5.1.30
569
.PP
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
570
These log files are listed below\&.
571
\fInode_id\fR
572
is the node\'s unique identifier\&. Note that
573
\fInode_id\fR
574
represents the node\'s unique identifier\&. For example,
575
ndb_2_error\&.log
1 by Chuck Short
Import upstream version 5.1.30
576
is the error log generated by the data node whose node ID is
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
577
2\&.
578
.sp
579
.RS 4
580
.ie n \{\
581
\h'-04'\(bu\h'+03'\c
582
.\}
583
.el \{\
584
.sp -1
585
.IP \(bu 2.3
586
.\}
587
.\" MySQL Cluster: error logs
588
.\" error logs (MySQL Cluster)
589
ndb_\fInode_id\fR_error\&.log
1 by Chuck Short
Import upstream version 5.1.30
590
is a file containing records of all crashes which the referenced
591
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
592
process has encountered\&. Each record in this file contains a brief error string and a reference to a trace file for this crash\&. A typical entry in this file might appear as shown here:
1 by Chuck Short
Import upstream version 5.1.30
593
.sp
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
594
.if n \{\
595
.RS 4
596
.\}
1 by Chuck Short
Import upstream version 5.1.30
597
.nf
598
Date/Time: Saturday 30 July 2004 \- 00:20:01
599
Type of error: error
600
Message: Internal program error (failed ndbrequire)
601
Fault ID: 2341
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
602
Problem data: DbtupFixAlloc\&.cpp
1 by Chuck Short
Import upstream version 5.1.30
603
Object of reference: DBTUP (Line: 173)
604
ProgramName: NDB Kernel
605
ProcessID: 14909
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
606
TraceFile: ndb_2_trace\&.log\&.2
1 by Chuck Short
Import upstream version 5.1.30
607
***EOM***
608
.fi
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
609
.if n \{\
1 by Chuck Short
Import upstream version 5.1.30
610
.RE
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
611
.\}
612
.sp
1 by Chuck Short
Import upstream version 5.1.30
613
Listings of possible
614
\fBndbd\fR
615
exit codes and messages generated when a data node process shuts down prematurely can be found in
0.2.4 by Norbert Tretkowski
Import upstream version 5.1.39
616
\m[blue]\fBndbd Error Messages\fR\m[]\&\s-2\u[3]\d\s+2\&.
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
617
.if n \{\
1 by Chuck Short
Import upstream version 5.1.30
618
.sp
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
619
.\}
620
.RS 4
1 by Chuck Short
Import upstream version 5.1.30
621
.it 1 an-trap
622
.nr an-no-space-flag 1
623
.nr an-break-flag 1
624
.br
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
625
.ps +1
1 by Chuck Short
Import upstream version 5.1.30
626
\fBImportant\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
627
.ps -1
628
.br
1 by Chuck Short
Import upstream version 5.1.30
629
\fIThe last entry in the error log file is not necessarily the newest one\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
630
(nor is it likely to be)\&. Entries in the error log are
1 by Chuck Short
Import upstream version 5.1.30
631
\fInot\fR
632
listed in chronological order; rather, they correspond to the order of the trace files as determined in the
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
633
ndb_\fInode_id\fR_trace\&.log\&.next
634
file (see below)\&. Error log entries are thus overwritten in a cyclical and not sequential fashion\&.
635
.sp .5v
636
.RE
637
.RE
638
.sp
639
.RS 4
640
.ie n \{\
641
\h'-04'\(bu\h'+03'\c
642
.\}
643
.el \{\
644
.sp -1
645
.IP \(bu 2.3
646
.\}
647
.\" MySQL Cluster: trace files
648
.\" trace files (MySQL Cluster)
649
ndb_\fInode_id\fR_trace\&.log\&.\fItrace_id\fR
650
is a trace file describing exactly what happened just before the error occurred\&. This information is useful for analysis by the MySQL Cluster development team\&.
651
.sp
652
It is possible to configure the number of these trace files that will be created before old files are overwritten\&.
1 by Chuck Short
Import upstream version 5.1.30
653
\fItrace_id\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
654
is a number which is incremented for each successive trace file\&.
655
.RE
656
.sp
657
.RS 4
658
.ie n \{\
659
\h'-04'\(bu\h'+03'\c
660
.\}
661
.el \{\
662
.sp -1
663
.IP \(bu 2.3
664
.\}
665
ndb_\fInode_id\fR_trace\&.log\&.next
666
is the file that keeps track of the next trace file number to be assigned\&.
667
.RE
668
.sp
669
.RS 4
670
.ie n \{\
671
\h'-04'\(bu\h'+03'\c
672
.\}
673
.el \{\
674
.sp -1
675
.IP \(bu 2.3
676
.\}
677
ndb_\fInode_id\fR_out\&.log
1 by Chuck Short
Import upstream version 5.1.30
678
is a file containing any data output by the
679
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
680
process\&. This file is created only if
1 by Chuck Short
Import upstream version 5.1.30
681
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
682
is started as a daemon, which is the default behavior\&.
683
.RE
684
.sp
685
.RS 4
686
.ie n \{\
687
\h'-04'\(bu\h'+03'\c
688
.\}
689
.el \{\
690
.sp -1
691
.IP \(bu 2.3
692
.\}
693
ndb_\fInode_id\fR\&.pid
1 by Chuck Short
Import upstream version 5.1.30
694
is a file containing the process ID of the
695
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
696
process when started as a daemon\&. It also functions as a lock file to avoid the starting of nodes with the same identifier\&.
697
.RE
698
.sp
699
.RS 4
700
.ie n \{\
701
\h'-04'\(bu\h'+03'\c
702
.\}
703
.el \{\
704
.sp -1
705
.IP \(bu 2.3
706
.\}
707
ndb_\fInode_id\fR_signal\&.log
1 by Chuck Short
Import upstream version 5.1.30
708
is a file used only in debug versions of
709
\fBndbd\fR, where it is possible to trace all incoming, outgoing, and internal messages with their data in the
710
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
711
process\&.
1 by Chuck Short
Import upstream version 5.1.30
712
.RE
713
.PP
714
It is recommended not to use a directory mounted through NFS because in some environments this can cause problems whereby the lock on the
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
715
\&.pid
716
file remains in effect even after the process has terminated\&.
1 by Chuck Short
Import upstream version 5.1.30
717
.PP
718
To start
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
719
\fBndbd\fR, it may also be necessary to specify the host name of the management server and the port on which it is listening\&. Optionally, one may also specify the node ID that the process is to use\&.
1 by Chuck Short
Import upstream version 5.1.30
720
.sp
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
721
.if n \{\
722
.RS 4
723
.\}
1 by Chuck Short
Import upstream version 5.1.30
724
.nf
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
725
shell> \fBndbd \-\-connect\-string="nodeid=2;host=ndb_mgmd\&.mysql\&.com:1186"\fR
1 by Chuck Short
Import upstream version 5.1.30
726
.fi
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
727
.if n \{\
1 by Chuck Short
Import upstream version 5.1.30
728
.RE
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
729
.\}
1 by Chuck Short
Import upstream version 5.1.30
730
.PP
731
See
0.2.5 by Norbert Tretkowski
Import upstream version 5.1.40
732
Section\ \&17.3.2.3, \(lqThe MySQL Cluster Connectstring\(rq, for additional information about this issue\&.
0.2.2 by Christian Hammers
Import upstream version 5.1.36
733
\fBndbd\fR(8), describes other options for
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
734
\fBndbd\fR\&.
1 by Chuck Short
Import upstream version 5.1.30
735
.PP
736
When
737
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
738
starts, it actually initiates two processes\&. The first of these is called the
1 by Chuck Short
Import upstream version 5.1.30
739
\(lqangel process\(rq; its only job is to discover when the execution process has been completed, and then to restart the
740
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
741
process if it is configured to do so\&. Thus, if you attempt to kill
1 by Chuck Short
Import upstream version 5.1.30
742
\fBndbd\fR
743
via the Unix
744
\fBkill\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
745
command, it is necessary to kill both processes, beginning with the angel process\&. The preferred method of terminating an
1 by Chuck Short
Import upstream version 5.1.30
746
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
747
process is to use the management client and stop the process from there\&.
1 by Chuck Short
Import upstream version 5.1.30
748
.PP
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
749
The execution process uses one thread for reading, writing, and scanning data, as well as all other activities\&. This thread is implemented asynchronously so that it can easily handle thousands of concurrent actions\&. In addition, a watch\-dog thread supervises the execution thread to make sure that it does not hang in an endless loop\&. A pool of threads handles file I/O, with each thread able to handle one open file\&. Threads can also be used for transporter connections by the transporters in the
750
\fBndbd\fR
751
process\&. In a multi\-processor system performing a large number of operations (including updates), the
752
\fBndbd\fR
753
process can consume up to 2 CPUs if permitted to do so\&.
1 by Chuck Short
Import upstream version 5.1.30
754
.PP
755
For a machine with many CPUs it is possible to use several
756
\fBndbd\fR
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
757
processes which belong to different node groups; however, such a configuration is still considered experimental and is not supported for MySQL 5\&.1 in a production setting\&. See
0.2.5 by Norbert Tretkowski
Import upstream version 5.1.40
758
Section\ \&17.1.5, \(lqKnown Limitations of MySQL Cluster\(rq\&.
1 by Chuck Short
Import upstream version 5.1.30
759
.SH "COPYRIGHT"
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
760
.br
1 by Chuck Short
Import upstream version 5.1.30
761
.PP
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
762
Copyright 2007-2008 MySQL AB, 2009 Sun Microsystems, Inc.
1 by Chuck Short
Import upstream version 5.1.30
763
.PP
0.2.1 by Norbert Tretkowski
Import upstream version 5.1.34
764
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
1 by Chuck Short
Import upstream version 5.1.30
765
.PP
766
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
767
.PP
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
768
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
769
.sp
770
.SH "NOTES"
771
.IP " 1." 4
772
Bug#24631
773
.RS 4
0.2.2 by Christian Hammers
Import upstream version 5.1.36
774
\%http://bugs.mysql.com/24631
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
775
.RE
776
.IP " 2." 4
0.2.4 by Norbert Tretkowski
Import upstream version 5.1.39
777
Bug#45588
778
.RS 4
779
\%http://bugs.mysql.com/45588
780
.RE
781
.IP " 3." 4
0.2.3 by Norbert Tretkowski
Import upstream version 5.1.37
782
ndbd Error Messages
783
.RS 4
784
\%http://dev.mysql.com/doc/ndbapi/en/ndbd-error-messages.html
785
.RE
1 by Chuck Short
Import upstream version 5.1.30
786
.SH "SEE ALSO"
787
For more information, please refer to the MySQL Reference Manual,
788
which may already be installed locally and which is also available
789
online at http://dev.mysql.com/doc/.
790
.SH AUTHOR
0.2.2 by Christian Hammers
Import upstream version 5.1.36
791
Sun Microsystems, Inc. (http://www.mysql.com/).