Oracle 5.0 Reference Manual page 1555

Table of Contents

Advertisement

the management client (ndb_mgm) as well. Both of these binaries also be found in the
archive. Again, we assume that you have placed this archive in /var/tmp.
As system root, perform the following steps to install
node host:
1. Change location to 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
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
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,
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,
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,
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
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
glibc23), and architecture designation (shown here as i386) should be appropriate to the machine
on which the RPM is to be installed.
Installing MySQL Cluster on Linux
directory, and extract the
/var/tmp
once
/var/tmp
ndb_mgm
Programs".)
and
ndb_mgmd
ndb_mgm
and
have been copied to the executables
ndb_mgmd
Cluster", we create configuration files for all of the
MySQL-ndb-
version number (if present—shown here as
glibc
1535
.tar.gz
on the management
ndb_mgm
and
from the
ndb_mgmd
MySQL-ndb-
MySQL-ndb-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents