MySQL Cluster Configuration Files
1555
•
2
: Indicates a low-priority node which be used as an arbitrator only if a node with a higher priority
is not available for that purpose.
Normally, the management server should be configured as an arbitrator by setting its
ArbitrationRank
to 1 (the default for management nodes) and those for all SQL nodes to 0 (the
default for SQL nodes).
•
ArbitrationDelay
Effective Version
Type/Units
Default
Range/Values
MySQL 5.0.0
milliseconds
0
0 - 4G
Restart Type: N
An integer value which causes the management server's responses to arbitration requests to be
delayed by that number of milliseconds. By default, this value is 0; it is normally not necessary to
change it.
•
DataDir
Effective Version
Type/Units
Default
Range/Values
MySQL 5.0.0
path
.
...
Restart Type: N
This specifies the directory where output files from the management server will be placed. These
files include cluster log files, process output files, and the daemon's process ID (PID) file. (For
log files, this location can be overridden by setting the
FILE
parameter for
LogDestination
as
discussed previously in this section.)
The default value for this parameter is the directory in which
ndb_mgmd
is located.
Note
After making changes in a management node's configuration, it is necessary to
perform a rolling restart of the cluster for the new configuration to take effect.
To add new management servers to a running MySQL Cluster, it is also
necessary to perform a rolling restart of all cluster nodes after modifying any
existing
config.ini
files. For more information about issues arising when
using multiple management nodes, see
Section 17.1.5.9, “Limitations Relating
to Multiple MySQL Cluster Nodes”
.
17.3.2.5. Defining MySQL Cluster Data Nodes
The
[ndbd]
and
[ndbd default]
sections are used to configure the behavior of the cluster's data
nodes.
There are many parameters which control buffer sizes, pool sizes, timeouts, and so forth. The only
mandatory parameters are:
• Either
ExecuteOnComputer
or
HostName
, which must be defined in the local
[ndbd]
section.
• The parameter
NoOfReplicas
, which must be defined in the
[ndbd default]
section, as it is
common to all Cluster data nodes.
Most data node parameters are set in the
[ndbd default]
section. Only those parameters explicitly
stated as being able to set local values are permitted to be changed in the
[ndbd]
section. Where
present,
HostName
,
Id
and
ExecuteOnComputer
must be defined in the local
[ndbd]
section, and
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 ...