MySQL Cluster Installation and Upgrades
1531
information on a variety of clustering options and configuration, the result of following the guidelines
and procedures outlined here should be a usable MySQL Cluster which meets the minimum
requirements for availability and safeguarding of data.
This section covers hardware and software requirements; networking issues; installation of MySQL
Cluster; configuration issues; starting, stopping, and restarting the cluster; loading of a sample
database; and performing queries.
Assumptions.
The following sections make a number of assumptions regarding the cluster's
physical and network configuration. These assumptions are discussed in the next few paragraphs.
Cluster nodes and host computers.
The cluster consists of four nodes, each on a separate host
computer, and each with a fixed network address on a typical Ethernet network as shown here:
Node
IP Address
Management node (
mgmd
)
192.168.0.10
SQL node (
mysqld
)
192.168.0.20
Data node "A" (
ndbd
)
192.168.0.30
Data node "B" (
ndbd
)
192.168.0.40
This may be made clearer by the following diagram:
Network addressing.
In the interest of simplicity (and reliability), this How-To uses only numeric
IP addresses. However, if DNS resolution is available on your network, it is possible to use host names
in lieu of IP addresses in configuring Cluster. Alternatively, you can use the
hosts
file (typically
/
etc/hosts
for Linux and other Unix-like operating systems, or your operating system's equivalent) for
providing a means to do host lookup if such is available.
Potential hosts file issues.
A common problem when trying to use host names for Cluster nodes
arises because of the way in which some operating systems (including some Linux distributions) set
up the system's own host name in the
/etc/hosts
during installation. Consider two machines with
the host names
ndb1
and
ndb2
, both in the
cluster
network domain. Red Hat Linux (including some
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 ...