Below is the list of changes that have just been committed into a local
mysqldoc repository of jon. When jon does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://www.mysql.com/doc/I/n/Installing_source_tree.html
ChangeSet
1.3085 05/07/21 00:38:52 jon@stripped +2 -0
refman-5.0/ndbcluster.xml:
First few edits for RefMan-5.0.
refman-5.0/ndbcluster.xml
1.15 05/07/21 00:38:51 jon@stripped +45 -47
First few 5.0 edits.
refman-5.0/Status
1.11 05/07/21 00:38:51 jon@stripped +1 -0
Fixed accidental deletion.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: jon
# Host: gigan.
# Root: /home/jon/bk/mysqldoc
--- 1.14/refman-5.0/ndbcluster.xml 2005-07-20 18:16:01 +10:00
+++ 1.15/refman-5.0/ndbcluster.xml 2005-07-21 00:38:51 +10:00
@@ -32,8 +32,7 @@
MySQL adapted for the distributed computing environment. It uses the
<emphasis role="bold">NDB Cluster</emphasis> storage engine to
enable running several MySQL servers in a cluster. This storage
- engine is available and in binary releases from MySQL-Max 4.1.3.
- Beginning with MySQL 4.1.10a, it is also available in RPMs
+ engine is available in MySQL 5.0 binary releases and in RPMs
compatible with most modern Linux distributions. (Note that both the
<literal>mysql-server</literal> and <literal>mysql-max</literal>
RPMs must be installed in order to have MySQL Cluster capability.)
@@ -41,9 +40,9 @@
<para>
The operating systems on which MySQL Cluster is currently available
- are Linux, Mac OS X, and Solaris. Some users have reported success
+ are Linux, Mac OS X, and Solaris. (Some users have reported success
with running MySQL Cluster on FreeBSD, although this is not yet
- officially supported by MySQL AB. We are working to make Cluster run
+ officially supported by MySQL AB.) We are working to make Cluster run
on all operating systems supported by MySQL, including Windows, and
will update this page as new platforms are supported.
</para>
@@ -210,8 +209,8 @@
Cluster, such as providing configuration data, starting and
stopping nodes, running backup, and so forth. Because this
node type manages the configuration of the other nodes, a node
- of this type should be started first, before any other node. A
- MGM node is started with the command
+ of this type should be started first, before any other node.
+ An MGM node is started with the command
<command>ndb_mgmd</command>.
</para>
</listitem>
@@ -316,11 +315,13 @@
<!-- @subsection How MySQL Cluster Avoids Network Partitioning -->
-<!-- Multi-Computer How-To, Version 1.0, 2005-02-08 -->
-
-<!-- Authors: Jon Stephens with Tomas Ulin -->
-
-<!-- Technical Reviewers: Pekka Nouisainen, Mikael Ronström, and JD Duncan -->
+<!--
+ Multi-Computer How-To, Version 1.0, 2005-02-08
+
+ Authors: Jon Stephens with Tomas Ulin
+ Technical Reviewers: Pekka Nouisainen, Mikael Ronström,
+ and JD Duncan
+-->
</section>
@@ -420,7 +421,7 @@
with a standard TCP/IP networking client should be sufficient.
Also for the sake of simplicity, we also assume that the
filesystems on all hosts are set up identically. In the event
- that they are not, you will need to adapt these instruciton
+ that they are not, you will need to adapt the instructions
that follow accordingly.
</para>
</listitem>
@@ -451,12 +452,12 @@
<listitem>
<para>
For our sample data, we will use the
- <emphasis role="bold">world</emphasis> database which is
- available for download from the MySQL AB website. As this
- database takes up a relatively small amount of space, we
- assume that each machine has 256 MB RAM, which should be
- sufficient for running the operating system and host NDB
- process, and (for the data nodes) for storing the database.
+ <literal>world</literal> database which is available for
+ download from the MySQL AB website. As this database takes up
+ a relatively small amount of space, we assume that each
+ machine has 256 MB RAM, which should be sufficient for running
+ the operating system, host NDB process, and (for the data
+ nodes) for storing the database.
</para>
</listitem>
@@ -581,32 +582,28 @@
</para>
<para>
- As of this writing, the most recent production version for Linux
- was MySQL 4.1.10a; if a more recent version is available, you
- should use that instead, and subsitute the version number in the
- following instrucitons as appropriate. MySQL AB provides
- precompiled binaries, and there is generally no need to compile
- these yourself. (If you do require a custom binary, see
+ MySQL AB provides precompiled binaries which support Cluster,
+ and there is generally no need to compile these yourself. (If
+ you do require a custom binary, see
<xref linkend="installing-source-tree"/>.) Therefore, the first
step in the installation process for each cluster host is to
- download the file
- <filename>mysql-max-4.1.10a-pc-linux-gnu-i686.tar.gz</filename>
- from the <ulink url="http://dev.mysql.com/downloads">MySQL
- downloads area</ulink>, and we will assume that you have placed
- it in each machine's <filename>/var/tmp</filename> directory.
+ download the most recent version for your platform from the
+ <ulink url="http://dev.mysql.com/downloads">MySQL downloads
+ area</ulink>. We assume that you have placed it in each
+ machine's <filename>/var/tmp</filename> directory.
</para>
<para>
RPMs are also available for both 32-bit and 64-bit Linux
- platforms; as of MySQL 4.1.10a, the <literal>-max</literal>
- binaries installed by the RPMs supports the NDBCluster storage
- engine. If you choose to use these rather than the binary files,
- be aware that you must install
- <emphasis role="bold">both</emphasis> the
+ platforms; the <literal>-max</literal> binaries installed by the
+ RPMs support the <literal>NDBCluster</literal> storage engine.
+ If you choose to use these rather than the binary files, be
+ aware that you must install
+ <emphasis role="bold">both</emphasis> the
<literal>-server</literal> and <literal>-max</literal> packages
on all machines that are to host cluster nodes. (See
- <ulink url="Linux">Linux</ulink> for more information about
- installing MySQL using the RPMs.) After installing from RPM, you
+ <xref linkend="linux-rpm"/> for more information about
+ installing MySQL using the RPMs.) After installing from RPM, you
will still need to configure the cluster as discussed in
<xref linkend="multi-config"/>.
</para>
@@ -653,13 +650,14 @@
<para>
Change to the directory containing the downloaded file;
unpack the archive; create a symlink to the mysql-max
- executable:
+ executable. Note that the actual file and directory names
+ will vary according to the MySQL version number.
</para>
<programlisting>
cd /var/tmp
- tar -xzvf -C /usr/local/bin mysql-max-4.1.10a-pc-linux-gnu-i686.tar.gz
- ln -s /usr/local/bin/mysql-max-4.1.10a-pc-linux-gnu-i686 mysql
+ tar -xzvf -C /usr/local/bin mysql-max-5.0.10-pc-linux-gnu-i686.tar.gz
+ ln -s /usr/local/bin/mysql-max-5.0.10-pc-linux-gnu-i686 mysql
</programlisting>
</listitem>
@@ -709,7 +707,7 @@
</programlisting>
<para>
- Here we use Red Hat's <command>chkconfig</command> for
+ Here we used Red Hat's <command>chkconfig</command> for
creating links to the startup scripts; use whatever means is
appropriate for this purpose on your operating
system/distribution, such as <command>update-rc.d</command>
@@ -734,12 +732,12 @@
the <command>mysqld</command> executable, only the binaries for
the MGM server and client, which can be found in the downloaded
<literal>-max</literal> archive. Again we assume that you have
- placed this file in <filename>/var/tmp</filename>. As root (that
- is, after using <command>su root</command> or your system's
- equivalent for temporarily assuming the system root account's
- privileges), perform the following steps to install
- <command>ndb_mgmd</command> and <command>ndb_mgm</command> on
- the Cluster management node host:
+ placed this file in <filename>/var/tmp</filename>. As system
+ root (that is, after using <command>sudo</command>, <command>su
+ root</command>, or your system's equivalent for temporarily
+ assuming the system administrator account's privileges), perform
+ the following steps to install <command>ndb_mgmd</command> and
+ <command>ndb_mgm</command> on the Cluster management node host:
</para>
<orderedlist>
@@ -754,7 +752,7 @@
<programlisting>
cd /var/tmp
- tar -zxvf mysql-max-4.1.10a-pc-linux-gnu-i686.tar.gz /usr/local/bin '*/bin/ndb_mgm*'
+ tar -zxvf mysql-max-5.0.10-pc-linux-gnu-i686.tar.gz /usr/local/bin '*/bin/ndb_mgm*'
</programlisting>
</listitem>
--- 1.10/refman-5.0/Status 2005-07-20 12:05:29 +10:00
+++ 1.11/refman-5.0/Status 2005-07-21 00:38:51 +10:00
@@ -20,6 +20,7 @@
- 5.0 chapters awaiting edits:
ndbcluster
+ mysql-optimization
limits
restrictions
| Thread |
|---|
| • bk commit - mysqldoc@docsrva tree (jon:1.3085) | jon | 20 Jul |