From 914ff70620c7d10913a4a3e07fe07c6a40795565 Mon Sep 17 00:00:00 2001
From: Morris Jette <jette@schedmd.com>
Date: Wed, 28 Aug 2013 16:30:01 -0700
Subject: [PATCH] Add FAQ about HA database configuration

---
 doc/html/faq.shtml  | 23 ++++++++++++++++++++++-
 doc/html/team.shtml |  3 ++-
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/doc/html/faq.shtml b/doc/html/faq.shtml
index 42d24d97ad2..9ec42957a5d 100644
--- a/doc/html/faq.shtml
+++ b/doc/html/faq.shtml
@@ -160,6 +160,8 @@ launch a shell on a node in the job's allocation?</a></li>
 <li><a href="#upgrade">What should I be aware of when upgrading Slurm?</a></li>
 <li><a href="#torque">How easy is it to switch from PBS or Torque to Slurm?</a></li>
 <li><a href="#sssd">I am having trouble using SSSD with Slurm.</a></li>
+<li><a href="#ha_db>">How critical is configuring high availability for my
+  database?</a></li>
 </ol>
 
 <h2>For Management</h2>
@@ -1713,8 +1715,27 @@ enumerate = True
 case_sensitive = False
 </pre>
 
+<p><a name="ha_db>"><b>54. How critical is configuring high availability for my
+database?</b></a></br>
+<ul>
+<li>Consider if you really need mysql failover. Short outage of slurdbd is not
+a problem, because slurmctld will store all data in memory and send it to
+slurmdbd when it's back operating. The slurmctld daemon will also cache all
+user limits and fair share information.</li>
+<li>You cannot use ndb, since slurmdbd/mysql uses a keys on BLOB values (and
+maybe something more from the incompatibility list).</li>
+<li>You can set up "classical" Linux HA, with heartbeat/corosync to migrate
+IP between master/backup mysql servers and:</li>
+<ul>
+  <li>Configure one way replication of mysql, and change master/backup roles on
+    failure</li>
+  <li>Use shared storage for master/slave mysql servers database, and start
+    backup on master mysql failure.</li>
+</ul>
+</ul>
+
 <p class="footer"><a href="#top">top</a></p>
 
-<p style="text-align:center;">Last modified 21 August 2013</p>
+<p style="text-align:center;">Last modified 28 August 2013</p>
 
 <!--#include virtual="footer.txt"-->
diff --git a/doc/html/team.shtml b/doc/html/team.shtml
index 9840735f71a..bca653ec71d 100644
--- a/doc/html/team.shtml
+++ b/doc/html/team.shtml
@@ -143,6 +143,7 @@ Lead Slurm developers are:
 <li>Rod Schultz (Bull)</li>
 <li>Jason Sollom (Cray)</li>
 <li>Eric Soyez (Science+Computing)</li>
+<li>Marcin Stolarek</li>
 <li>Tyler Strickland (University of Florida)</li>
 <li>Jeff Squyres (LAM MPI)</li>
 <br>
@@ -166,6 +167,6 @@ Lead Slurm developers are:
 <!-- INDIVIDUALS, PLEASE KEEP IN ALPHABETICAL ORDER -->
 </ul>
 
-<p style="text-align:center;">Last modified 19 August 2013</p>
+<p style="text-align:center;">Last modified 28 August 2013</p>
 
 <!--#include virtual="footer.txt"-->
-- 
GitLab