summaryrefslogtreecommitdiff
path: root/_released_docs/r3.8.1/zookeeperHierarchicalQuorums.html
diff options
context:
space:
mode:
Diffstat (limited to '_released_docs/r3.8.1/zookeeperHierarchicalQuorums.html')
-rw-r--r--_released_docs/r3.8.1/zookeeperHierarchicalQuorums.html197
1 files changed, 197 insertions, 0 deletions
diff --git a/_released_docs/r3.8.1/zookeeperHierarchicalQuorums.html b/_released_docs/r3.8.1/zookeeperHierarchicalQuorums.html
new file mode 100644
index 000000000..9f3b6c6bb
--- /dev/null
+++ b/_released_docs/r3.8.1/zookeeperHierarchicalQuorums.html
@@ -0,0 +1,197 @@
+
+<!DOCTYPE html>
+<html>
+<head>
+ <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>ZooKeeper: Because Coordinating Distributed Systems is a Zoo</title>
+ <link type="text/css" href="skin/basic.css" rel="stylesheet">
+ <link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
+ <link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
+ <link type="text/css" href="skin/profile.css" rel="stylesheet">
+ <script src="skin/getBlank.js" language="javascript" type="text/javascript"></script>
+ <script src="skin/getMenu.js" language="javascript" type="text/javascript"></script>
+ <script src="skin/init.js" language="javascript" type="text/javascript"></script>
+ <link rel="shortcut icon" href="images/favicon.ico">
+</head>
+<body onload="init();">
+<div id="top">
+ <div class="breadtrail">
+ <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://zookeeper.apache.org/">ZooKeeper</a>
+ </div>
+ <div class="header">
+ <div class="projectlogo">
+ <a href="http://zookeeper.apache.org/"><img class="logoImage" alt="ZooKeeper" src="images/zookeeper_small.gif" title="ZooKeeper: distributed coordination"></a>
+ </div>
+ <div class="searchbox">
+ <form action="http://www.google.com/search" method="get">
+ <input value="zookeeper.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">&nbsp;
+ <input name="Search" value="Search" type="submit">
+ </form>
+ </div>
+ <ul id="tabs">
+ <li>
+ <a class="unselected" href="http://zookeeper.apache.org/">Project</a>
+ </li>
+ <li>
+ <a class="unselected" href="https://cwiki.apache.org/confluence/display/ZOOKEEPER/">Wiki</a>
+ </li>
+ <li class="current">
+ <a class="selected" href="index.html">ZooKeeper 3.8 Documentation</a>
+ </li>
+ </ul>
+ </div>
+</div>
+<div id="main">
+ <div id="publishedStrip">
+ <div id="level2tabs"></div>
+ <script type="text/javascript"><!--
+document.write("Last Published: " + document.lastModified);
+// --></script>
+ </div>
+ <div class="breadtrail">
+ &nbsp;
+ </div>
+ <div id="menu">
+ <div onclick="SwitchMenu('menu_1', 'skin/')" id="menu_1Title" class="menutitle">Overview</div>
+ <div id="menu_1" class="menuitemgroup">
+ <div class="menuitem">
+ <a href="index.html">Welcome</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperOver.html">Overview</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperStarted.html">Getting Started</a>
+ </div>
+ <div class="menuitem">
+ <a href="releasenotes.html">Release Notes</a>
+ </div>
+ </div>
+ <div onclick="SwitchMenu('menu_2', 'skin/')" id="menu_2Title" class="menutitle">Developer</div>
+ <div id="menu_2" class="menuitemgroup">
+ <div class="menuitem">
+ <a href="apidocs/zookeeper-server/index.html">API Docs</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperProgrammers.html">Programmer's Guide</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperUseCases.html">Use Cases</a>
+ </div>
+ <div class="menuitem">
+ <a href="javaExample.html">Java Example</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperTutorial.html">Barrier and Queue Tutorial</a>
+ </div>
+ <div class="menuitem">
+ <a href="recipes.html">Recipes</a>
+ </div>
+ </div>
+ <div onclick="SwitchMenu('menu_3', 'skin/')" id="menu_3Title" class="menutitle">Admin &amp; Ops</div>
+ <div id="menu_3" class="menuitemgroup">
+ <div class="menuitem">
+ <a href="zookeeperAdmin.html">Administrator's Guide</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperQuotas.html">Quota Guide</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperJMX.html">JMX</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperHierarchicalQuorums.html">Hierarchical Quorums</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperOracleQuorums.html">Oracle Quorum</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperObservers.html">Observers Guide</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperReconfig.html">Dynamic Reconfiguration</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperCLI.html">ZooKeeper CLI</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperTools.html">ZooKeeper Tools</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperMonitor.html">ZooKeeper Monitor</a>
+ </div>
+ <div class="menuitem">
+ <a href="zookeeperAuditLogs.html">Audit Logs</a>
+ </div>
+ </div>
+ <div onclick="SwitchMenu('menu_4', 'skin/')" id="menu_4Title" class="menutitle">Contributor</div>
+ <div id="menu_4" class="menuitemgroup">
+ <div class="menuitem">
+ <a href="zookeeperInternals.html">ZooKeeper Internals</a>
+ </div>
+ </div>
+ <div onclick="SwitchMenu('menu_5', 'skin/')" id="menu_5Title" class="menutitle">Miscellaneous</div>
+ <div id="menu_5" class="menuitemgroup">
+ <div class="menuitem">
+ <a href="https://cwiki.apache.org/confluence/display/ZOOKEEPER">Wiki</a>
+ </div>
+ <div class="menuitem">
+ <a href="https://cwiki.apache.org/confluence/display/ZOOKEEPER/FAQ">FAQ</a>
+ </div>
+ <div class="menuitem">
+ <a href="http://zookeeper.apache.org/mailing_lists.html">Mailing Lists</a>
+ </div>
+ </div>
+ </div>
+ <div id="content">
+<!--
+Copyright 2002-2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+//-->
+<h1>Introduction to hierarchical quorums</h1>
+<p>This document gives an example of how to use hierarchical quorums. The basic idea is very simple. First, we split servers into groups, and add a line for each group listing the servers that form this group. Next we have to assign a weight to each server.</p>
+<p>The following example shows how to configure a system with three groups of three servers each, and we assign a weight of 1 to each server:</p>
+<pre><code>group.1=1:2:3
+group.2=4:5:6
+group.3=7:8:9
+
+weight.1=1
+weight.2=1
+weight.3=1
+weight.4=1
+weight.5=1
+weight.6=1
+weight.7=1
+weight.8=1
+weight.9=1
+</code></pre>
+<p>When running the system, we are able to form a quorum once we have a majority of votes from a majority of non-zero-weight groups. Groups that have zero weight are discarded and not considered when forming quorums. Looking at the example, we are able to form a quorum once we have votes from at least two servers from each of two different groups.</p>
+</div>
+<div class="clearboth">&nbsp;</div>
+</div>
+<div id="footer">
+ <div class="lastmodified">
+ <script type="text/javascript">
+ <!--
+ document.write("Last Published: " + document.lastModified);
+ // -->
+ </script>
+ </div>
+ <div class="copyright">
+ Copyright &copy; <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
+ </div>
+ <div id="logos"></div>
+</div>
+</body>
+</html> \ No newline at end of file