List:Commits« Previous MessageNext Message »
From:plavin Date:May 9 2007 10:46pm
Subject:svn commit - mysqldoc@docsrva: r6411 - trunk/refman-5.0
View as plain text  
Author: plavin
Date: 2007-05-09 22:46:18 +0200 (Wed, 09 May 2007)
New Revision: 6411

Log:
Corrections etc to DRBD How To

Modified:
   trunk/refman-5.0/drbd-how-to.xml


Modified: trunk/refman-5.0/drbd-how-to.xml
===================================================================
--- trunk/refman-5.0/drbd-how-to.xml	2007-05-09 19:28:29 UTC (rev 6410)
+++ trunk/refman-5.0/drbd-how-to.xml	2007-05-09 20:46:18 UTC (rev 6411)
Changed blocks: 31, Lines Added: 48, Lines Deleted: 38; 7640 bytes

@@ -5,7 +5,7 @@
   <!ENTITY % all.entities SYSTEM "all-entities.ent">
   %all.entities;
 ]>
-<appendix id="how-to-drbd-heartbeat">
+<appendix id="drbd-how-to">
 
   <title>MySQL How To: DRBD and Heartbeat</title>
 

@@ -15,7 +15,7 @@
 
     <para>
       This how-to will cover the setup of DRBD and Heartbeat together
-      with MySQL to provide a Highly Available database environement.
+      with MySQL to provide a Highly Available database environment.
     </para>
 
     <para>

@@ -23,7 +23,7 @@
     </para>
 
     <para>
-      MyISAM is not recommended to be used with DRBD. Data managed by a
+      MyISAM is not recommended for use with DRBD. Data managed by a
       DRBD volume should be stored in InnoDB.
     </para>
 

@@ -52,6 +52,7 @@
       <para>
         <remark>
           [PL]I don't think we want to follow these conventions.
+          See other remarks below.
         </remark>
 
         In the examples in this summary, the following typographical

@@ -72,6 +73,8 @@
 </programlisting>
 
       <para>
+        <remark>[PL]There is no code in this document that is preceded by a $.
+        Presumably this can be removed.</remark>
         Code to be executed by a normal user will be gray and be
         preceded by a $.
       </para>

@@ -81,6 +84,8 @@
 </programlisting>
 
       <para>
+        <remark>[PL]There is no code in this document that is preceded by &gt;.
+        Presumably this can be removed.</remark>
         Code to be executed within MySQL or CPAN will be light green and
         be preceded by a &gt;.
       </para>

@@ -112,7 +117,7 @@
 
     <title>System Setup and Configuration</title>
 
-    <section>
+    <section id="drbd-config-files">
 
       <title>Config Files</title>
 

@@ -125,7 +130,7 @@
 
     </section>
 
-    <section>
+    <section id="drbd-disk-setup">
 
       <title>Disk Setup</title>
 

@@ -141,7 +146,7 @@
 
     </section>
 
-    <section>
+    <section id="drbd-hostname">
 
       <title>Hostname</title>
 

@@ -180,7 +185,7 @@
 
     </section>
 
-    <section>
+    <section id="drbd-system-prerequisites">
 
       <title>System Prerequisites</title>
 

@@ -189,7 +194,7 @@
         be installed.
       </para>
 
-      <section>
+      <section id="drbd-red-hat-kernel">
 
         <title>Red Hat Kernel</title>
 

@@ -204,7 +209,7 @@
 
       </section>
 
-      <section>
+      <section id="drbd-debian-kernel">
 
         <title>Debian Kernel</title>
 

@@ -220,7 +225,7 @@
 
       </section>
 
-      <section>
+      <section id="drbd-reboot">
 
         <title>Reboot</title>
 

@@ -241,7 +246,7 @@
 
       </section>
 
-      <section>
+      <section id="drbd-red-hat-devel-packages">
 
         <title>Red Hat Devel Packages</title>
 

@@ -283,7 +288,7 @@
 
       </section>
 
-      <section>
+      <section id="drbd-debian">
 
         <title>Debian</title>
 

@@ -348,7 +353,7 @@
       drift.
     </para>
 
-    <section>
+    <section id="drbd-kernel-configuration">
 
       <title>Kernel Configuration</title>
 

@@ -369,7 +374,7 @@
         <ulink
url="http://www.mjmwired.net/kernel/Documentation/networking/bonding.txt"/>
       </para>
 
-      <section>
+      <section id="drbd-kernel-red-hat">
 
         <title>Red Hat</title>
 

@@ -391,7 +396,7 @@
 
       </section>
 
-      <section>
+      <section id="drbd-kernel-debian">
 
         <title>Debian</title>
 

@@ -420,7 +425,7 @@
 
 <!--start Network Interfaces -->
 
-    <section>
+    <section id="drbd-network-interfaces">
 
       <title>Network Interfaces</title>
 

@@ -443,7 +448,7 @@
         talk to the public network.
       </para>
 
-      <section>
+      <section id="drbd-network-interfaces-red-hat">
 
         <title>Red Hat</title>
 

@@ -492,7 +497,7 @@
 
 <!-- start Debian (under bonding still) -->
 
-    <section>
+    <section id="drbd-bonding-debian">
 
       <title>Debian</title>
 

@@ -540,7 +545,7 @@
 
 <!-- start status -->
 
-    <section>
+    <section id="drbd-status">
 
       <title>Status</title>
 

@@ -599,7 +604,7 @@
       failure even should be no worse than after a hard reboot.
     </para>
 
-    <section>
+    <section id="drbd-drbd-installation">
 
       <title>DRBD Installation</title>
 

@@ -616,7 +621,7 @@
 
     </section>
 
-    <section>
+    <section id="drbd-drbd-configuration">
 
       <title>DRBD Configuration</title>
 

@@ -715,7 +720,7 @@
 
     </section>
 
-    <section>
+    <section id="drbd-starting-drbd">
 
       <title>Starting DRBD</title>
 

@@ -749,7 +754,7 @@
 
     </section>
 
-    <section>
+    <section id="drbd-first-time-drbd">
 
       <title>First Time DRBD</title>
 

@@ -1239,11 +1244,12 @@
           The resource corresponds to a script in
           <filename>/etc/ha.d/resource.d</filename>. As a node takes
           over resources, it runs each script with an addition argument
-          of <literal>start</literal> in order, from left to right. When a
node gives up
-          resources, it runs each script from right to left with the
-          argument of <literal>stop</literal>. Any IP Addresses found in the
list are
-          actually aliases to the IPAddr script, so the address
-          10.0.0.100 could be rewritten, IPAddr::10.0.0.100.
+          of <literal>start</literal> in order, from left to right. When
+          a node gives up resources, it runs each script from right to
+          left with the argument of <literal>stop</literal>. Any IP
+          Addresses found in the list are actually aliases to the IPAddr
+          script, so the address 10.0.0.100 could be rewritten,
+          IPAddr::10.0.0.100.
         </para>
 
       </section>

@@ -1253,8 +1259,9 @@
         <title>Failover Notification</title>
 
         <para>
-          An extra resource can be added to <filename>haresources</filename>
to send a mail
-          message notification in case of a failover event. Adding:
+          An extra resource can be added to
+          <filename>haresources</filename> to send a mail message
+          notification in case of a failover event. Adding:
         </para>
 
 <programlisting>

@@ -1262,7 +1269,8 @@
 </programlisting>
 
         <para>
-          to the end of the line in <filename>haresources</filename> will do
the trick.
+          to the end of the line in <filename>haresources</filename>
+          will do the trick.
         </para>
 
       </section>

@@ -1277,8 +1285,8 @@
 </programlisting>
 
         <para>
-          <quote>Hello world!</quote> can be any string, as long as it is the
-          same on both machines.
+          <quote>Hello world!</quote> can be any string, as long as it
+          is the same on both machines.
         </para>
 
       </section>

@@ -1288,11 +1296,13 @@
         <title><filename>resource.d/mysql</filename></title>
 
         <para>
-          In the <filename>haresources</filename> file above, a resource was
mentioned called
-          <literal>mysql</literal>. A script is being added to the MySQL
distribution
-          called <filename>support-files/mysql.resource</filename>. It is not
version
-          specific, so grab a copy of the latest MySQL source and copy
-          that file to <filename>/etc/ha.d/resource.d/mysql</filename>.
+          In the <filename>haresources</filename> file above, a resource
+          was mentioned called <literal>mysql</literal>. A script is
+          being added to the MySQL distribution called
+          <filename>support-files/mysql.resource</filename>. It is not
+          version specific, so grab a copy of the latest MySQL source
+          and copy that file to
+          <filename>/etc/ha.d/resource.d/mysql</filename>.
         </para>
 
       </section>


Thread
svn commit - mysqldoc@docsrva: r6411 - trunk/refman-5.0plavin9 May