diff --git a/html/pacemaker/doc/build-1.0.txt b/html/pacemaker/doc/deprecated/build-1.0.txt similarity index 100% rename from html/pacemaker/doc/build-1.0.txt rename to html/pacemaker/doc/deprecated/build-1.0.txt diff --git a/html/pacemaker/doc/deprecated/build-1.1-crmsh.txt b/html/pacemaker/doc/deprecated/build-1.1-crmsh.txt new file mode 100644 index 0000000..b6601de --- /dev/null +++ b/html/pacemaker/doc/deprecated/build-1.1-crmsh.txt @@ -0,0 +1 @@ +Generated on Wed Jul 2 18:02:23 EST 2014 from version: 37f0a2b (HEAD, 1.1) diff --git a/html/pacemaker/doc/build-1.1-plugin.txt b/html/pacemaker/doc/deprecated/build-1.1-plugin.txt similarity index 100% rename from html/pacemaker/doc/build-1.1-plugin.txt rename to html/pacemaker/doc/deprecated/build-1.1-plugin.txt diff --git a/html/pacemaker/doc/build-1.1.txt b/html/pacemaker/doc/deprecated/build-1.1.txt similarity index 100% rename from html/pacemaker/doc/build-1.1.txt rename to html/pacemaker/doc/deprecated/build-1.1.txt diff --git a/html/pacemaker/doc/desc-1.1-crmsh.txt b/html/pacemaker/doc/deprecated/desc-1.1-crmsh.txt similarity index 100% rename from html/pacemaker/doc/desc-1.1-crmsh.txt rename to html/pacemaker/doc/deprecated/desc-1.1-crmsh.txt diff --git a/html/pacemaker/doc/deprecated/desc-1.1-plugin.txt b/html/pacemaker/doc/deprecated/desc-1.1-plugin.txt new file mode 100644 index 0000000..0d287d6 --- /dev/null +++ b/html/pacemaker/doc/deprecated/desc-1.1-plugin.txt @@ -0,0 +1 @@ +Clusters from Scratch demonstrates Pacemaker 1.1 with Corosync 1.x, its Pacemaker plugin and CMAN diff --git a/html/pacemaker/doc/Clusters_from_Scratch-1.0-GFS2.pdf b/html/pacemaker/doc/deprecated/en-US/Pacemaker/1.0-openais/pdf/Clusters_from_Scratch_using_GFS2/Clusters_from_Scratch_using_GFS2-en-US.pdf similarity index 100% rename from html/pacemaker/doc/Clusters_from_Scratch-1.0-GFS2.pdf rename to html/pacemaker/doc/deprecated/en-US/Pacemaker/1.0-openais/pdf/Clusters_from_Scratch_using_GFS2/Clusters_from_Scratch_using_GFS2-en-US.pdf diff --git a/html/pacemaker/doc/Clusters_from_Scratch-1.0-OCFS2.pdf b/html/pacemaker/doc/deprecated/en-US/Pacemaker/1.0-openais/pdf/Clusters_from_Scratch_using_OCFS2/Clusters_from_Scratch_using_OCFS2-en-US.pdf similarity index 100% rename from html/pacemaker/doc/Clusters_from_Scratch-1.0-OCFS2.pdf rename to html/pacemaker/doc/deprecated/en-US/Pacemaker/1.0-openais/pdf/Clusters_from_Scratch_using_OCFS2/Clusters_from_Scratch_using_OCFS2-en-US.pdf diff --git a/html/pacemaker/doc/title-1.0.txt b/html/pacemaker/doc/deprecated/title-1.0.txt similarity index 100% rename from html/pacemaker/doc/title-1.0.txt rename to html/pacemaker/doc/deprecated/title-1.0.txt diff --git a/html/pacemaker/doc/title-1.1-crmsh.txt b/html/pacemaker/doc/deprecated/title-1.1-crmsh.txt similarity index 100% rename from html/pacemaker/doc/title-1.1-crmsh.txt rename to html/pacemaker/doc/deprecated/title-1.1-crmsh.txt diff --git a/html/pacemaker/doc/deprecated/title-1.1-plugin.txt b/html/pacemaker/doc/deprecated/title-1.1-plugin.txt new file mode 100644 index 0000000..ed8506a --- /dev/null +++ b/html/pacemaker/doc/deprecated/title-1.1-plugin.txt @@ -0,0 +1 @@ +Pacemaker 1.1 for Corosync 1.x diff --git a/html/pacemaker/doc/desc-1.1-pcs.txt b/html/pacemaker/doc/desc-1.1-pcs.txt index dda934e..c8291c9 100644 --- a/html/pacemaker/doc/desc-1.1-pcs.txt +++ b/html/pacemaker/doc/desc-1.1-pcs.txt @@ -1 +1 @@ -Requires Corosync 2.x +Clusters From Scratch demonstrates Pacemaker 1.1 with Corosync 2.x diff --git a/html/pacemaker/doc/desc-1.1-plugin.txt b/html/pacemaker/doc/desc-1.1-plugin.txt deleted file mode 100644 index 4779bd6..0000000 --- a/html/pacemaker/doc/desc-1.1-plugin.txt +++ /dev/null @@ -1 +0,0 @@ -The last version featuring Corosync 1.x, the Pacemaker plugins and CMAN diff --git a/html/pacemaker/doc/title-1.1-pcs.txt b/html/pacemaker/doc/title-1.1-pcs.txt index 6739fec..53053d8 100644 --- a/html/pacemaker/doc/title-1.1-pcs.txt +++ b/html/pacemaker/doc/title-1.1-pcs.txt @@ -1 +1 @@ -Pacemaker 1.1 for Corosync 2.x +Pacemaker 1.1 diff --git a/html/pacemaker/doc/title-1.1-plugin.txt b/html/pacemaker/doc/title-1.1-plugin.txt deleted file mode 100644 index 7a221c9..0000000 --- a/html/pacemaker/doc/title-1.1-plugin.txt +++ /dev/null @@ -1 +0,0 @@ -Pacemaker 1.1 for CMAN or Corosync 1.x diff --git a/src/pacemaker/doc/index.php b/src/pacemaker/doc/index.php index 9f327d3..ca3c7a8 100644 --- a/src/pacemaker/doc/index.php +++ b/src/pacemaker/doc/index.php @@ -1,167 +1,143 @@ --- layout: pacemaker title: Pacemaker Documentation ---

Most of the documentation listed here was generated from the Pacemaker sources.

Where to Start

If you're new to Pacemaker or clustering in general, the best place to start is Clusters from Scratch, which walks you step-by-step through the installation and configuration of a high-availability cluster with Pacemaker. It even makes common configuration mistakes so that it can demonstrate how to fix them.

On the other hand, if you're looking for an exhaustive reference of all of Pacemaker's options and features, try Pacemaker Explained. It's dry, but should have the answers you're looking for.

There is also a project wiki with examples, how-to guides, and other information that doesn't make it into the manuals.

Unversioned documentation

General Concepts

Ordering Explained [pdf]
Colocation Explained [pdf]
Configuring Fencing with crmsh [html]
ACL Guide [html]
"; echo "

"; - foreach (glob("title-$version.txt") as $filename) { + foreach (glob("$base/title-$version.txt") as $filename) { readfile($filename); } echo "

"; - foreach (glob("desc-$version.txt") as $filename) { + foreach (glob("$base/desc-$version.txt") as $filename) { readfile($filename); } echo "
"; - foreach (glob("build-$version.txt") as $filename) { + foreach (glob("$base/build-$version.txt") as $filename) { readfile($filename); } echo "
"; - $langs = array(); - // for now, show only US English; other translations haven't been maintained - //foreach (glob("$base/*/Pacemaker/$version") as $item) { - // $langs[] = basename(dirname(dirname($item))); - //} - $langs[] = "en-US"; - $books = array(); foreach (glob("$base/en-US/Pacemaker/$version/pdf/*") as $filename) { $books[] = basename($filename); } echo ''; foreach ($books as $b) { foreach ($langs as $lang) { if (glob("$base/$lang/Pacemaker/$version/pdf/$b/*-$lang.pdf")) { echo '"; echo '"; } } } echo "
'.str_replace("_", " ", $b)." ($lang)'; foreach (glob("$base/$lang/Pacemaker/$version/epub/$b/*.epub") as $filename) { echo " [epub]"; } foreach (glob("$base/$lang/Pacemaker/$version/pdf/$b/*.pdf") as $filename) { echo " [pdf]"; } foreach (glob("$base/$lang/Pacemaker/$version/html/$b/index.html") as $filename) { echo " [html]"; } foreach (glob("$base/$lang/Pacemaker/$version/html-single/$b/index.html") as $filename) { echo " [html-single]"; } foreach (glob("$base/$lang/Pacemaker/$version/txt/$b/*.txt") as $filename) { echo " [txt]"; } echo "
"; echo "
"; } - $docs = array(); - - foreach (glob("*.html") as $file) { - $fields = explode(".", $file, -1); - $docs[] = implode(".", $fields); - } + echo "
\n

Versioned documentation

\n
"; + $langs = array(); + // for now, show only US English; other translations haven't been maintained + $langs[] = "en-US"; - foreach (glob("*.pdf") as $file) { - $fields = explode(".", $file, -1); - $docs[] = implode(".", $fields); + foreach(get_versions(".") as $v) { + docs_for_version(".", $v, $langs); } - - echo "
\n

Versioned documentation

\n
"; - foreach(get_versions(".") as $v) { - docs_for_version(".", $v); + echo "
\n

Deprecated documentation

\n
"; + foreach(get_versions("deprecated") as $v) { + $langs = array(); + foreach (glob("deprecated/*/Pacemaker/$v") as $item) { + $langs[] = basename(dirname(dirname($item))); + } + docs_for_version("deprecated", $v, $langs); } ?> -
-

Deprecated Documentation

-
-
-

Pacemaker 1.0 with OpenAIS

- - - - - - - - - -
Clusters from Scratch - Pacemaker 1.0 & GFS2[pdf]
Clusters from Scratch - Pacemaker 1.0 & OCFS2[pdf]
-
-