List:Commits« Previous MessageNext Message »
From:jon Date:August 15 2006 8:33am
Subject:svn commit - mysqldoc@docsrva: r3021 - in trunk: refman-4.1 refman-5.0 refman-5.1
View as plain text  
Author: jstephens
Date: 2006-08-15 10:33:45 +0200 (Tue, 15 Aug 2006)
New Revision: 3021

Log:

Possible to perform same task as ndbd --initial, simply by clearing out
DataDir and then running ndbd without --initial option (Thanks, Jonas!)



Modified:
   trunk/refman-4.1/mysql-cluster.xml
   trunk/refman-5.0/mysql-cluster.xml
   trunk/refman-5.1/mysql-cluster.xml


Modified: trunk/refman-4.1/mysql-cluster.xml
===================================================================
--- trunk/refman-4.1/mysql-cluster.xml	2006-08-15 07:03:30 UTC (rev 3020)
+++ trunk/refman-4.1/mysql-cluster.xml	2006-08-15 08:33:45 UTC (rev 3021)
Changed blocks: 1, Lines Added: 13, Lines Deleted: 0; 1261 bytes

@@ -9618,6 +9618,19 @@
               This option does not affect any backup files that have
               already been created by the affected node.
             </para>
+            
+            <para>
+              It is possible to achieve the same effect by deleting by
+              other means (such as using <command>rm -r -f</command>)
+              all files and directories in the data node's
+              <literal>DataDir</literal> &mdash; with the possible
+              exception of the <filename>BACKUP</filename> directory in
+              <literal>DataDir</literal>, should you wish to retain any
+              backups that have been created on that data node &mdash;
+              and then starting <command>ndbd</command> without having
+              to use the <option>--initial</option> option. This may be
+              useful when scripting Cluster administrative tasks.
+            </para>
 
             <para>
               In older versions of MySQL Cluster, it was possible to use


Modified: trunk/refman-5.0/mysql-cluster.xml
===================================================================
--- trunk/refman-5.0/mysql-cluster.xml	2006-08-15 07:03:30 UTC (rev 3020)
+++ trunk/refman-5.0/mysql-cluster.xml	2006-08-15 08:33:45 UTC (rev 3021)
Changed blocks: 1, Lines Added: 13, Lines Deleted: 0; 1212 bytes

@@ -9593,6 +9593,19 @@
               This option does not affect any backup files that have
               already been created by the affected node.
             </para>
+            
+            <para>
+              It is possible to achieve the same effect by deleting by
+              other means (such as using <command>rm -r -f</command>)
+              all files and directories in the data node's
+              <literal>DataDir</literal> &mdash; with the possible
+              exception of the <filename>BACKUP</filename> directory in
+              <literal>DataDir</literal>, should you wish to retain any
+              backups that have been created on that data node &mdash;
+              and then starting <command>ndbd</command> without having
+              to use the <option>--initial</option> option. This may be
+              useful when scripting Cluster administrative tasks.
+            </para>
           </listitem>
 
           <listitem>


Modified: trunk/refman-5.1/mysql-cluster.xml
===================================================================
--- trunk/refman-5.1/mysql-cluster.xml	2006-08-15 07:03:30 UTC (rev 3020)
+++ trunk/refman-5.1/mysql-cluster.xml	2006-08-15 08:33:45 UTC (rev 3021)
Changed blocks: 1, Lines Added: 13, Lines Deleted: 0; 1212 bytes

@@ -9476,6 +9476,19 @@
               This option does not affect any backup files that have
               already been created by the affected node.
             </para>
+            
+            <para>
+              It is possible to achieve the same effect by deleting by
+              other means (such as using <command>rm -r -f</command>)
+              all files and directories in the data node's
+              <literal>DataDir</literal> &mdash; with the possible
+              exception of the <filename>BACKUP</filename> directory in
+              <literal>DataDir</literal>, should you wish to retain any
+              backups that have been created on that data node &mdash;
+              and then starting <command>ndbd</command> without having
+              to use the <option>--initial</option> option. This may be
+              useful when scripting Cluster administrative tasks.
+            </para>
           </listitem>
 
           <listitem>


Thread
svn commit - mysqldoc@docsrva: r3021 - in trunk: refman-4.1 refman-5.0 refman-5.1jon15 Aug