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
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...