Installing MySQL Cluster on Linux
1535
the management client (
ndb_mgm
) as well. Both of these binaries also be found in the
.tar.gz
archive. Again, we assume that you have placed this archive in
/var/tmp
.
As system
root
, perform the following steps to install
ndb_mgmd
and
ndb_mgm
on the management
node host:
1. Change location to the
/var/tmp
directory, and extract the
ndb_mgm
and
ndb_mgmd
from the
archive into a suitable directory such as
/usr/local/bin
:
shell>
cd /var/tmp
shell>
tar -zxvf mysql-5.0.96-linux-i686-glibc23.tar.gz
shell>
cd mysql-5.0.96-linux-i686-glibc23
shell>
cp bin/ndb_mgm* /usr/local/bin
(You can safely delete the directory created by unpacking the downloaded archive, and the files
it contains, from
/var/tmp
once
ndb_mgm
and
ndb_mgmd
have been copied to the executables
directory.)
2. Change location to the directory into which you copied the files, and then make both of them
executable:
shell>
cd /usr/local/bin
shell>
chmod +x ndb_mgm*
In
Section 17.2.2, “Initial Configuration of MySQL Cluster”
, we create configuration files for all of the
nodes in our example MySQL Cluster.
17.2.1.2. Installing MySQL Cluster from RPM
This section covers the steps necessary to install the correct executables for each type of MySQL
Cluster node using RPM packages supplied by Oracle.
RPMs are available for both 32-bit and 64-bit Linux platforms. For a MySQL Cluster, three RPMs are
required:
• The Server RPM (for example,
MySQL-server-5.0.96-0.glibc23.i386.rpm
), which supplies
the core files needed to run a MySQL Server.
If you do not have your own client application capable of administering a MySQL server, you should
also obtain and install the Client RPM (such as
MySQL-client-5.0.96-0.sles10.i586.rpm
).
• The NDB Cluster - Storage engine RPM (for example,
MySQL-ndb-
storage-5.0.96-0.glibc23.i386.rpm
), which supplies the MySQL Cluster data node binary
(
ndbd
).
• The NDB Cluster - Storage engine management RPM (for example,
MySQL-ndb-
management-5.0.96-0.glibc23.i386.rpm
), which provides the MySQL Cluster management
server binary (
ndb_mgmd
).
In addition, you should also obtain the NDB Cluster - Storage engine basic tools RPM (for example,
MySQL-ndb-tools-5.0.96-0.glibc23.i386.rpm
), which supplies several useful applications
for working with a MySQL Cluster. The most important of these is the MySQL Cluster management
client (
ndb_mgm
). The NDB Cluster - Storage engine extra tools RPM (for example,
MySQL-ndb-
extra-5.0.96-0.glibc23.i386.rpm
) contains some additional testing and monitoring programs,
but is not required to install a MySQL Cluster. (For more information about these additional programs,
see
Section 17.4, “MySQL Cluster Programs”
.)
The MySQL version number in the RPM file names (shown here as
5.0.96
) can vary according to
the version which you are actually using. It is very important that all of the Cluster RPMs to be installed
have the same MySQL version number. The
glibc
version number (if present—shown here as
glibc23
), and architecture designation (shown here as
i386
) should be appropriate to the machine
on which the RPM is to be installed.
Содержание 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 ...