MySQL Cluster Configuration Files
1582
•
BackupLogBufferSize >= BackupWri 16KB
•
BackupMaxWriteSize >= BackupWriteSize
Note
To add new data nodes to a MySQL Cluster, it is necessary to shut down the
cluster completely, update the
config.ini
file, and then restart the cluster
(that is, you must perform a system restart). All data node processes must be
started with the
--initial
option.
Beginning with MySQL Cluster NDB 7.0, it is possible to add new data node
groups to a running cluster online; however, we do not plan to implement this
change in MySQL 5.0.
17.3.2.6. Defining SQL and Other API Nodes in a MySQL Cluster
The
[mysqld]
and
[api]
sections in the
config.ini
file define the behavior of the MySQL servers
(SQL nodes) and other applications (API nodes) used to access cluster data. None of the parameters
shown is required. If no computer or host name is provided, any host can use this SQL or API node.
Generally speaking, a
[mysqld]
section is used to indicate a MySQL server providing an SQL
interface to the cluster, and an
[api]
section is used for applications other than
mysqld
processes
accessing cluster data, but the two designations are actually synonomous; you can, for instance, list
parameters for a MySQL server acting as an SQL node in an
[api]
section.
Note
For a discussion of MySQL server options for MySQL Cluster, see
Section 17.3.4.2, “
mysqld
Command Options for MySQL Cluster”
; for
information about MySQL server system variables relating to MySQL Cluster,
see
Section 17.3.4.3, “MySQL Cluster System Variables”
.
•
Id
Effective Version
Type/Units
Default
Range/Values
MySQL 5.0.0
unsigned
[none]
1 - 63
Restart Type: N
The
Id
is an integer value used to identify the node in all cluster internal messages. It must be an
integer in the range 1 to 63 inclusive, and must be unique among all node IDs within the cluster.
In MySQL 5.0.15 and later,
NodeId
is a synonym for this parameter, and is the preferred form. In
MySQL Cluster NDB 6.2 and later,
Id
is deprecated in favor of
NodeId
for identifying SQL and other
API nodes.
•
NodeId
Effective Version
Type/Units
Default
Range/Values
MySQL 5.0.15
unsigned
[none]
1 - 63
Restart Type: N
Beginning with MySQL 5.0.15,
NodeId
is available as a synonym for
Id
.
In MySQL Cluster NDB 6.2 and later,
Id
is deprecated in favor of
NodeId
for identifying SQL and
API nodes.
•
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...