Table of Contents
- 4.1 Quick Test Setup of NDB Cluster
- 4.2 Overview of NDB Cluster Configuration Parameters, Options, and Variables
- 4.3 NDB Cluster Configuration Files
- 4.3.1 NDB Cluster Configuration: Basic Example
- 4.3.2 Recommended Starting Configuration for NDB Cluster
- 4.3.3 NDB Cluster Connection Strings
- 4.3.4 Defining Computers in an NDB Cluster
- 4.3.5 Defining an NDB Cluster Management Server
- 4.3.6 Defining NDB Cluster Data Nodes
- 4.3.7 Defining SQL and Other API Nodes in an NDB Cluster
- 4.3.8 Defining the System
- 4.3.9 MySQL Server Options and Variables for NDB Cluster
- 4.3.10 NDB Cluster TCP/IP Connections
- 4.3.11 NDB Cluster TCP/IP Connections Using Direct Connections
- 4.3.12 NDB Cluster Shared-Memory Connections
- 4.3.13 Data Node Memory Management
- 4.3.14 Configuring NDB Cluster Send Buffer Parameters
- 4.4 Using High-Speed Interconnects with NDB Cluster
A MySQL server that is part of an NDB Cluster differs in one chief
respect from a normal (nonclustered) MySQL server, in that it
employs the NDB
storage engine. This
engine is also referred to sometimes as
NDBCLUSTER
, although
NDB
is preferred.
To avoid unnecessary allocation of resources, the server is
configured by default with the NDB
storage engine disabled. To enable NDB
,
you must modify the server's my.cnf
configuration file, or start the server with the
--ndbcluster
option.
This MySQL server is a part of the cluster, so it also must know how
to access a management node to obtain the cluster configuration
data. The default behavior is to look for the management node on
localhost
. However, should you need to specify
that its location is elsewhere, this can be done in
my.cnf
, or with the mysql
client. Before the NDB
storage engine
can be used, at least one management node must be operational, as
well as any desired data nodes.
For more information about
--ndbcluster
and other
mysqld options specific to NDB Cluster, see
Section 4.3.9.1, “MySQL Server Options for NDB Cluster”.
For general information about installing NDB Cluster, see Chapter 3, NDB Cluster Installation.