diff --git a/src/abi/pacemaker/index.php b/src/abi/pacemaker/index.php index c9946cd..af36811 100644 --- a/src/abi/pacemaker/index.php +++ b/src/abi/pacemaker/index.php @@ -1,82 +1,82 @@ --- layout: pacemaker -title: ClusterLabs - Pacemaker ABI Compatibility +title: Pacemaker ABI Compatibility ---

This page details the ABI compatability between the listed Pacemaker versions. The reports are generated with the ABI Compliance Checker that ships with Fedora

/", "", $line); $compat_reports[$i]["status"] = preg_replace("/<\/td>.*/", "", $compat_reports[$i]["status"]); break; } } fclose($file_handle); ++$i; } usort($compat_reports, "sorter"); foreach ($compat_reports as $item) { $report = $item["report"]; $filename = $item["filename"]; $from = $item["from"]; $to = $item["to"]; $status = $item["status"]; echo " "; echo " "; echo " "; echo " "; echo " "; echo " "; } ?>

ABI Compatability Table

Version Reference Version Status Report
$to $from $status report
diff --git a/src/doc/index.php b/src/doc/index.php index cddaabe..cc48444 100644 --- a/src/doc/index.php +++ b/src/doc/index.php @@ -1,165 +1,165 @@ --- layout: pacemaker -title: ClusterLabs - Pacemaker Documentation +title: Documentation ---

The following Pacemaker documentation was generated from the upstream sources.

Where to Start

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

On the otherhand, if you're looking for an exhaustive reference of all 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 plenty of examples and howto guides which the wider community is encouraged to update and add to.

Unversioned documentation

General Concepts

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

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

"; foreach (glob("desc-$version.txt") as $filename) { readfile($filename); } echo "
"; foreach (glob("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/en-US/Pacemaker/$version") as $item) { $langs[] = basename(dirname(dirname($item))); } $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); } foreach (glob("*.pdf") as $file) { $fields = explode(".", $file, -1); $docs[] = implode(".", $fields); } echo "

Versioned documentation

"; foreach(get_versions(".") as $v) { docs_for_version(".", $v); } ?>

Deprecated Documentation

Pacemaker 1.0 with OpenAIS

Clusters from Scratch - Pacemaker 1.0 & GFS2 [pdf]
Clusters from Scratch - Pacemaker 1.0 & OCFS2 [pdf]
diff --git a/src/doxygen/pacemaker/index.php b/src/doxygen/pacemaker/index.php index a81d1b0..b238f68 100644 --- a/src/doxygen/pacemaker/index.php +++ b/src/doxygen/pacemaker/index.php @@ -1,35 +1,35 @@ --- layout: pacemaker -title: ClusterLabs - Pacemaker API Documentation +title: Pacemaker API Documentation ---

Pacemaker API Documentation

"; $runs = glob("*"); array_multisort(array_map('filemtime', $runs), /*SORT_ASC*/SORT_DESC, $runs); foreach ($runs as $hash) { if (strstr($hash, "index")) { continue; } if (strstr($hash, "-")) { $title = "Version"; $path = "releases/tag"; } else { $title = "Commit"; $path = "commit"; } echo "
  • $title $hash"; echo " [Main Page]"; echo " [API List]"; echo " [Source]"; echo "
  • "; } echo ""; ?>
    diff --git a/src/global/pacemaker/index.php b/src/global/pacemaker/index.php index d4be8d0..4178f88 100644 --- a/src/global/pacemaker/index.php +++ b/src/global/pacemaker/index.php @@ -1,35 +1,35 @@ --- layout: pacemaker -title: ClusterLabs - Annotated Pacemaker Sources +title: Annotated Pacemaker Sources ---

    Annotated Pacemaker Sources

    "; $runs = glob("*"); array_multisort(array_map('filemtime', $runs), /*SORT_ASC*/SORT_DESC, $runs); foreach ($runs as $hash) { if (strstr($hash, "index")) { continue; } if (strstr($hash, "-")) { $title = "Version"; $path = "releases/tag"; } else { $title = "Commit"; $path = "commit"; } echo "
  • $title $hash"; echo " [Annotated]"; echo " [Download]"; echo "
  • "; } echo ""; ?>
    diff --git a/src/man/pacemaker/index.php b/src/man/pacemaker/index.php index cc269c4..3fe3142 100644 --- a/src/man/pacemaker/index.php +++ b/src/man/pacemaker/index.php @@ -1,230 +1,230 @@ --- layout: pacemaker -title: ClusterLabs - Pacemaker Manual Pages +title: Pacemaker Manual Pages ---

    Pacemaker Command Line Tools

    Tool Summary

    DESCRIPTION')) { $line = fgets($file_handle); $line = fgets($file_handle); while (!feof($file_handle)) { $line = fgets($file_handle); if(strstr($line, 'OPTIONS')) { $done = 1; break; } else { echo $line; } } if($done) { break; } } } fclose($file_handle); } $mans = glob("*.8.html"); foreach ($mans as $m) { $fields = explode(".", $m, 3); $base = $fields[0]; echo '
    '; echo ''; echo "$base"; echo ''; echo ''; get_desc($m); echo ''; echo '
    '; } ?>

    The Right Tool for the Job

    Pacemaker ships with a comprehensive set of tools that assist you in managing your cluster from the command line. Here we introduce the tools needed for managing the cluster configuration in the CIB and the cluster resources.

    The following list presents several tasks related to cluster management and briefly introduces the tools to use to accomplish these tasks:

    Monitoring the Cluster's Status

    The crm_mon command allows you to monitor your cluster's status and configuration. Its output includes the number of nodes, uname, uuid, status, the resources configured in your cluster, and the current status of each. The output of crm_mon can be displayed at the console or printed into an HTML file. When provided with a cluster configuration file without the status section, crm_mon creates an overview of nodes and resources as specified in the file. See crm_mon(8) for a detailed introduction to this tool's usage and command syntax.

    Managing the CIB

    The cibadmin command is the low-level administrative command for manipulating the Pacemaker CIB. It can be used to dump all or part of the CIB, update all or part of it, modify all or part of it, delete the entire CIB, or perform miscellaneous CIB administrative operations. See cibadmin(8) for a detailed introduction to this tool's usage and command syntax.

    Managing Configuration Changes

    The crm_diff command assists you in creating and applying XML patches. This can be useful for visualizing the changes between two versions of the cluster configuration or saving changes so they can be applied at a later time using cibadmin(8). See crm_diff(8) for a detailed introduction to this tool's usage and command syntax.

    Manipulating CIB Attributes

    The crm_attribute command lets you query and manipulate node attributes and cluster configuration options that are used in the CIB. See crm_attribute(8) for a detailed introduction to this tool's usage and command syntax.

    Validating the Cluster Configuration

    The crm_verify command checks the configuration database (CIB) for consistency and other problems. It can check a file containing the configuration or connect to a running cluster. It reports two classes of problems. Errors must be fixed before Pacemaker can work properly while warning resolution is up to the administrator. crm_verify assists in creating new or modified configurations. You can take a local copy of a CIB in the running cluster, edit it, validate it using crm_verify , then put the new configuration into effect using cibadmin . See crm_verify(8) for a detailed introduction to this tool's usage and command syntax.

    Managing Resource Configurations

    The crm_resource command performs various resource-related actions on the cluster. It lets you modify the definition of configured resources, start and stop resources, or delete and migrate resources between nodes. See crm_resource(8) for a detailed introduction to this tool's usage and command syntax.

    Managing Resource Fail Counts

    The crm_failcount command queries the number of failures per resource on a given node. This tool can also be used to reset the failcount, allowing the resource to again run on nodes where it had failed too often. See crm_failcount(8) for a detailed introduction to this tool's usage and command syntax.

    Generate and Retrieve Node UUIDs

    UUIDs are used to identify cluster nodes to ensure that they can always be uniquely identified. The command crm_uuid displays the UUID of the node on which it is run. In very rare circumstances, it may be necessary to set a node's UUID to a known value. This can also be achieved with crm_uuid , but you should use this command with extreme caution. For more information, refer to crm_uuid(8).

    Managing a Node's Standby Status

    The crm_standby command can manipulate a node's standby attribute. Any node in standby mode is no longer eligible to host resources and any resources that are there must be moved. Standby mode can be useful for performing maintenance tasks, such as kernel updates. Remove the standby attribute from the node as it should become a fully active member of the cluster again. See crm_standby(8) for a detailed introduction to this tool's usage and command syntax.

    diff --git a/src/polls/index.html b/src/polls/index.html index a245d20..4a83c92 100644 --- a/src/polls/index.html +++ b/src/polls/index.html @@ -1,42 +1,42 @@ --- layout: pacemaker -title: ClusterLabs - Polls +title: Polls ---

    Polls

    Surveys