Oracle 5.0 Reference Manual page 1571

Table of Contents

Advertisement

• [computer]: Defines cluster hosts. This is not required to configure a viable MySQL Cluster, but
be may used as a convenience when setting up a large cluster. See
Computers in a MySQL
• [ndbd]: Defines a cluster data node
Cluster Data
• [mysqld]: Defines the cluster's MySQL server nodes (also called SQL or API nodes). For a
discussion of SQL node configuration, see
a MySQL
or [ndb_mgmd]: Defines a cluster management server (MGM) node. For information
[mgm]
concerning the configuration of MGM nodes, see
Management
• [tcp]: Defines a TCP/IP connection between cluster nodes, with TCP/IP being the default
connection protocol. Normally,
MySQL Cluster, as the cluster handles this automatically; however, it may be necessary in some
situations to override the defaults provided by the cluster. See
TCP/IP
Connections", for information about available TCP/IP configuration parameters and how to
use them. (You may also find
Connections"
• [shm]: Defines shared-memory connections between nodes. In MySQL 5.0, it is enabled by
default, but should still be considered experimental. For a discussion of SHM interconnects, see
Section 17.3.2.9, "MySQL Cluster Shared-Memory
• [sci]:Defines Scalable Coherent Interface connections between cluster data nodes. Such
connections require software which, while freely available, is not part of the MySQL Cluster
distribution, as well as specialized hardware. See
MySQL Cluster"
You can define
which differs from parameters specified in
17.3.2.2. The MySQL Cluster Connectstring
With the exception of the MySQL Cluster management server (ndb_mgmd), each node that is part
of a MySQL Cluster requires a connectstring that points to the management server's location. This
connectstring is used in establishing a connection to the management server as well as in performing
other tasks depending on the node's role in the cluster. The syntax for a connectstring is as follows:
[nodeid=node_id, ]host-definition[, host-definition[, ...]]
host-definition:
host_name[:port_number]
is an integer larger than 1 which identifies a node in config.ini.
node_id
representing a valid Internet host name or IP address.
IP port number.
example 1 (long):
example 2 (short):
localhost:1186
omitted from the connectstring, the default port is 1186. This port should always be available on the
network because it has been assigned by IANA for this purpose (see
port-numbers
By listing multiple host definitions, it is possible to designate several redundant management servers. A
MySQL Cluster data or API node attempts to contact successive management servers on each host in
the order specified, until a successful connection has been established.
MySQL Cluster Configuration Files
Cluster", for more information.
Nodes", for details.
Cluster".
Server".
[tcp]
Section 17.3.2.8, "MySQL Cluster TCP/IP Connections Using Direct
to be of interest in some cases.)
for detailed information about SCI interconnects.
values for each section. All Cluster parameter names are case-insensitive,
default
"nodeid=2,myhost1:1100,myhost2:1100,192.168.0.3:1200"
"myhost1"
is used as the default connectstring value if none is provided. If
for details).
(ndbd
process). See
Section 17.3.2.5, "Defining MySQL
Section 17.3.2.6, "Defining SQL and Other API Nodes in
Section 17.3.2.4, "Defining a MySQL Cluster
or
sections are not required to set up a
[tcp default]
Connections".
Section 17.3.2.10, "SCI Transport Connections in
or
files.
my.cnf
my.ini
port_number
1551
Section 17.3.2.3, "Defining
Section 17.3.2.7, "MySQL Cluster
host_name
is an integer referring to a TCP/
port_num
http://www.iana.org/assignments/
is a string
is

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents