You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by bu...@apache.org on 2011/10/27 21:38:32 UTC

svn commit: r797567 - in /websites/staging/openejb/trunk/content: documentation.html ejb-failover.html multicast-discovery.html multipoint-considerations.html multipoint-discovery.html multipoint-recommendations.html

Author: buildbot
Date: Thu Oct 27 19:38:31 2011
New Revision: 797567

Log:
Staging update by buildbot

Added:
    websites/staging/openejb/trunk/content/ejb-failover.html
    websites/staging/openejb/trunk/content/multicast-discovery.html
    websites/staging/openejb/trunk/content/multipoint-considerations.html
    websites/staging/openejb/trunk/content/multipoint-discovery.html
    websites/staging/openejb/trunk/content/multipoint-recommendations.html
Modified:
    websites/staging/openejb/trunk/content/documentation.html

Modified: websites/staging/openejb/trunk/content/documentation.html
==============================================================================
--- websites/staging/openejb/trunk/content/documentation.html (original)
+++ websites/staging/openejb/trunk/content/documentation.html Thu Oct 27 19:38:31 2011
@@ -151,8 +151,13 @@
 <li><a href="properties-tool.html">Properties Tool</a></div>
 <div class="span-one-third"></p>
 
-<h3>Failover</h3></li>
-<li><a href="failover.html">Failover</a></div>
+<h3>Discovery and Failover</h3></li>
+<li><a href="ejb-failover.html">Overview</a></li>
+<li><a href="multicast-discovery.html">Multicast Discovery (UDP)</a></li>
+<li><a href="multipoint-discovery.html">Multipoint Discovery (TCP)</a></li>
+<li><a href="multipoint-considerations.html">Multipoint Considerations</a></li>
+<li><a href="multipoint-recommendations.html">Multipoint Recommendations</a></li>
+<li><a href="failover-logging.html">Logging Events</a></div>
 <div class="span-one-third"></p>
 
 <h3>Spring</h3></li>

Added: websites/staging/openejb/trunk/content/ejb-failover.html
==============================================================================
--- websites/staging/openejb/trunk/content/ejb-failover.html (added)
+++ websites/staging/openejb/trunk/content/ejb-failover.html Thu Oct 27 19:38:31 2011
@@ -0,0 +1,186 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+
+    <meta charset="utf-8">
+      <title>EJB Client/Server Failover</title>
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="./bootstrap.css" rel="stylesheet">
+    <link href="./prettify.css" rel="stylesheet">
+    <link href="./bootstrap-mods.css" rel="stylesheet">
+
+    <style type="text/css">
+      body {
+        padding-top: 60px;
+      }
+    </style>
+
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="./images/favicon.ico">
+    <link rel="apple-touch-icon" href="./images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="./images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="./images/apple-touch-icon-114x114.png">
+
+    <script src="./javascript/prettify.js" type="text/javascript"></script>
+    <script src="./javascript/jquery-latest.js"></script>
+    <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+    <script src="./javascript/common.js"></script>
+    <script src="./javascript/prettyprint.js"></script>
+
+  </head>
+
+  <body>
+
+    <div class="topbar">
+      <div class="fill">
+        <div class="container">
+          <a class="brand" href="./index.html">Apache TomEE</a>
+          <ul class="nav">
+            <li><a href="./index.html">Home</a></li>
+            <li><a href="./downloads.html">Downloads</a></li>
+            <li><a href="./documentation.html">Documentation</a></li>
+            <li><a href="./support.html">Support</a></li>
+          </ul>
+
+            <!-- Google CSE Search Box Begins  -->
+            <FORM class="pull-right" id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
+                <INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
+                <INPUT type="hidden" name="cof" value="FORID:0">
+                <INPUT name="q" type="text" placeholder="Search">
+            </FORM>
+            <!--<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>-->
+            <!-- Google CSE Search Box Ends -->
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+
+    
+
+<div class="page-header">
+<small><a href=".//index.html">Home</a></small><br>
+<h1>EJB Client/Server Failover</h1>
+</div>
+
+<p>OpenEJB supports stateless failover.  Specifically, the ability for an EJB
+client to failover from one server to the next if a request cannot be
+completed.  No application state information is communicated between the
+servers, so this functionality should be used only with applications that
+are inherently stateless.  A common term for this sort of setup is a server
+farm.</p>
+
+<p>The basic design assumption is that all servers in the same group have the
+same applications deployed and are capable of doing the same job.  Servers
+can be brought online and offline while clients are running.  As members
+join/leave this information is sent to the client as part of normal EJB
+request/response communication so active clients always have the most
+current information on servers that can process their request should
+communication with a particular server fail.</p>
+
+<h1>Client Behavior</h1>
+
+<p>On each request to the server, the client will send the version number
+associated with the list of servers in the cluster it is aware of. 
+Initially this version will be zero and the list will be empty.  Only when
+the server sees the client has an old list will the server send the updated
+list.  This is an important distinction as the list is not transmitted back
+and forth on every request, only on change.  If the membership of the
+cluster is stable there is essentially no clustering overhead to the
+protocol -- 8 byte overhead to each request and 1 byte on each response --
+so you will <em>not</em> see an exponential slowdown in response times the more
+members are added to the cluster.  This new list takes affect for all
+proxies that share the same connection.</p>
+
+<p>When a server shuts down, more connections are refused, existing
+connections not in mid-request are closed, any remaining connections are
+closed immediately after completion of the request in progress and clients
+can failover gracefully to the next server in the list.  If a server
+crashes requests are retried on the next server in the list (or depending
+on the <code>ConnectionStrategy</code>).  This failover pattern is followed until there
+are no more servers in the list at which point the client attempts a final
+multicast search (if it was created with a <code>PROVIDER_URL</code> starting with
+<code>multicast://</code>) before abandoning the request and throwing an exception to
+the caller.</p>
+
+<p>By default, the failover is ordered but random selection is supported.  The
+multicast discovery aspect of the client adds a nice randomness to the
+selection of the first server.</p>
+
+<h1>Discovery</h1>
+
+<p>Each discoverable service has a URI which is broadcast as a heartbeat to
+other servers in the cluster.  This URI advertises the service's type, its
+cluster group, and its location in the format of 'group:type:location'. 
+Say for example "cluster1:ejb:ejbd://thehost:4201".  The URI is sent out
+repeatedly in a pulse and its presence on the network indicates its
+availability and its absence indicates the service is no longer available.</p>
+
+<p>The sending of this pulse (the heartbeat) can be done via UDP or TCP:
+multicast and "multipoint" respectively.  More on that in the following
+section.  The rate at which the heartbeat is pulsed to the network can be
+specified via the 'heart_rate' property.  The default is 500 milliseconds. 
+This rate is also used when listening for services on the network.  If a
+service goes missing for the duration of 'heart_rate' multiplied by
+'max_missed_heartbeats', then the service is considered dead.</p>
+
+<p>The 'group' property, cluster1 in the example, is used to dissect the
+servers on the network into smaller logical clusters.  A given server will
+broadcast all it's services with the group prefixed in the URI, as well it
+will ignore any services it sees broadcast if they do not share the same
+group name.</p>
+
+<h1>Details</h1>
+
+<p>Multicast</p>
+
+<ul>
+<li><a href="multicast-discovery.html">Multicast UDP Discovery</a></li>
+</ul>
+
+<p>Multipoint</p>
+
+<ul>
+<li><a href="multipoint-discovery.html">Multipoint TCP Discovery</a></li>
+<li><a href="multipoint-considerations.html">Considerations</a></li>
+<li><a href="multipoint-recommendations.html">Recommendations</a></li>
+</ul>
+
+<p>Logging</p>
+
+<ul>
+<li><a href="failover-logging.html">Failover Logging Events</a></li>
+</ul>
+
+
+
+
+      <footer>
+        <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
+        Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+        </p>
+      </footer>
+
+    </div> <!-- /container -->
+
+  <SPAN style="display: none">
+    <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+    </SCRIPT>
+    <SCRIPT type="text/javascript">
+      _uacct = "UA-2717626-1";
+      urchinTracker();
+    </SCRIPT>
+  </SPAN>
+
+  </body>
+</html>

Added: websites/staging/openejb/trunk/content/multicast-discovery.html
==============================================================================
--- websites/staging/openejb/trunk/content/multicast-discovery.html (added)
+++ websites/staging/openejb/trunk/content/multicast-discovery.html Thu Oct 27 19:38:31 2011
@@ -0,0 +1,176 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+
+    <meta charset="utf-8">
+      <title>Multicast (UDP) Discovery</title>
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="./bootstrap.css" rel="stylesheet">
+    <link href="./prettify.css" rel="stylesheet">
+    <link href="./bootstrap-mods.css" rel="stylesheet">
+
+    <style type="text/css">
+      body {
+        padding-top: 60px;
+      }
+    </style>
+
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="./images/favicon.ico">
+    <link rel="apple-touch-icon" href="./images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="./images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="./images/apple-touch-icon-114x114.png">
+
+    <script src="./javascript/prettify.js" type="text/javascript"></script>
+    <script src="./javascript/jquery-latest.js"></script>
+    <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+    <script src="./javascript/common.js"></script>
+    <script src="./javascript/prettyprint.js"></script>
+
+  </head>
+
+  <body>
+
+    <div class="topbar">
+      <div class="fill">
+        <div class="container">
+          <a class="brand" href="./index.html">Apache TomEE</a>
+          <ul class="nav">
+            <li><a href="./index.html">Home</a></li>
+            <li><a href="./downloads.html">Downloads</a></li>
+            <li><a href="./documentation.html">Documentation</a></li>
+            <li><a href="./support.html">Support</a></li>
+          </ul>
+
+            <!-- Google CSE Search Box Begins  -->
+            <FORM class="pull-right" id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
+                <INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
+                <INPUT type="hidden" name="cof" value="FORID:0">
+                <INPUT name="q" type="text" placeholder="Search">
+            </FORM>
+            <!--<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>-->
+            <!-- Google CSE Search Box Ends -->
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+
+    
+
+<div class="page-header">
+<small><a href=".//index.html">Home</a></small><br>
+<h1>Multicast (UDP) Discovery</h1>
+</div>
+
+<p>Multicast is the preferred way to broadcast the heartbeat on the network. 
+The simple technique of broadcasting a non-changing service URI on the
+network has specific advantages to multicast.  The URI itself is
+essentially stateless and there is no "i'm alive" URI or an "i'm dead" URI.</p>
+
+<p>In this way the issues with UDP being unordered and unreliable melt away as
+state is no longer a concern and packet sizes are always small. 
+Complicated libraries that ride atop UDP and attempt to offer reliability
+(retransmission) and ordering on UDP can be avoided.  As well the
+advantages UDP has over TCP are retained as there are no java layers
+attempting to force UDP communication to be more TCP-like.  The simple
+design means UDP/Multicast is only used for discovery and from there on out
+critical information is transmitted over TCP/IP which is obviously going to
+do a better job at ensuring reliability and ordering.</p>
+
+<h1>Server Configuration</h1>
+
+<p>When you boot the server there should be a <code>conf/multicast.properties</code> file
+containing:</p>
+
+<pre><code>server      = org.apache.openejb.server.discovery.MulticastDiscoveryAgent
+bind        = 239.255.2.3
+port        = 6142
+disabled    = true
+group       = default
+</code></pre>
+
+<p>Just need to enable that by setting <code>disabled=false</code>.  All of the above
+settings except <code>server</code> can be changed.  The <code>port</code> and <code>bind</code> must
+be valid for general multicast/udp network communication.</p>
+
+<p>The <code>group</code> setting can be changed to further group servers that may use
+the same multicast channel.  As shown below the client also has a <code>group</code>
+setting which can be used to select an appropriate server from the
+multicast channel.</p>
+
+<h1>Multicast Client</h1>
+
+<p>The multicast functionality is not just for servers to find each other in a
+cluster, it can also be used for EJB clients to discover a server.  A
+special <code>multicast://</code> URL can be used in the <code>InitialContext</code> properties to
+signify that multicast should be used to seed the connection process.  Such
+as:</p>
+
+<pre><code>Properties p = new Properties();
+p.put(Context.INITIAL_CONTEXT_FACTORY,
+"org.apache.openejb.client.RemoteInitialContextFactory");
+p.put(Context.PROVIDER_URL, "multicast://239.255.2.3:6142?group=default");
+InitialContext remoteContext = new InitialContext(p);
+</code></pre>
+
+<p>The URL has optional query parameters such as <code>schemes</code> and <code>group</code> and
+<code>timeout</code> which allow you to zero in on a particular type of service of a
+particular cluster group as well as set how long you are willing to wait in
+the discovery process till finally giving up.  The first matching service
+that it sees "flowing" around on the UDP stream is the one it picks and
+sticks to for that and subsequent requests, ensuring UDP is only used when
+there are no other servers to talk to.</p>
+
+<p>Note that EJB clients do not need to use multicast to find a server.  If
+the client knows the URL of a server in the cluster, it may use it and
+connect directly to that server, at which point that server will share the
+full list of its peers.</p>
+
+<h1>Multicast Servers with TCP Clients</h1>
+
+<p>Note that clients do not need to use multicast to communicate with servers.
+Servers can use multicast to discover each other, but clients are still
+free to connect to servers in the network using the server's TCP address.</p>
+
+<pre><code>Properties p = new Properties();
+p.put(Context.INITIAL_CONTEXT_FACTORY,  "org.apache.openejb.client.RemoteInitialContextFactory");
+p.put(Context.PROVIDER_URL, "ejbd://192.168.1.30:4201");
+InitialContext remoteContext = new InitialContext(p);
+</code></pre>
+
+<p>When the client connects, the server will send the URLs of all the servers
+in the group and failover will take place normally.</p>
+
+
+
+
+      <footer>
+        <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
+        Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+        </p>
+      </footer>
+
+    </div> <!-- /container -->
+
+  <SPAN style="display: none">
+    <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+    </SCRIPT>
+    <SCRIPT type="text/javascript">
+      _uacct = "UA-2717626-1";
+      urchinTracker();
+    </SCRIPT>
+  </SPAN>
+
+  </body>
+</html>

Added: websites/staging/openejb/trunk/content/multipoint-considerations.html
==============================================================================
--- websites/staging/openejb/trunk/content/multipoint-considerations.html (added)
+++ websites/staging/openejb/trunk/content/multipoint-considerations.html Thu Oct 27 19:38:31 2011
@@ -0,0 +1,269 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+
+    <meta charset="utf-8">
+      <title>Multipoint Considerations</title>
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="./bootstrap.css" rel="stylesheet">
+    <link href="./prettify.css" rel="stylesheet">
+    <link href="./bootstrap-mods.css" rel="stylesheet">
+
+    <style type="text/css">
+      body {
+        padding-top: 60px;
+      }
+    </style>
+
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="./images/favicon.ico">
+    <link rel="apple-touch-icon" href="./images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="./images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="./images/apple-touch-icon-114x114.png">
+
+    <script src="./javascript/prettify.js" type="text/javascript"></script>
+    <script src="./javascript/jquery-latest.js"></script>
+    <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+    <script src="./javascript/common.js"></script>
+    <script src="./javascript/prettyprint.js"></script>
+
+  </head>
+
+  <body>
+
+    <div class="topbar">
+      <div class="fill">
+        <div class="container">
+          <a class="brand" href="./index.html">Apache TomEE</a>
+          <ul class="nav">
+            <li><a href="./index.html">Home</a></li>
+            <li><a href="./downloads.html">Downloads</a></li>
+            <li><a href="./documentation.html">Documentation</a></li>
+            <li><a href="./support.html">Support</a></li>
+          </ul>
+
+            <!-- Google CSE Search Box Begins  -->
+            <FORM class="pull-right" id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
+                <INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
+                <INPUT type="hidden" name="cof" value="FORID:0">
+                <INPUT name="q" type="text" placeholder="Search">
+            </FORM>
+            <!--<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>-->
+            <!-- Google CSE Search Box Ends -->
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+
+    
+
+<div class="page-header">
+<small><a href=".//index.html">Home</a></small><br>
+<h1>Multipoint Considerations</h1>
+</div>
+
+<h1>Network size</h1>
+
+<p>The general disadvantage of this topology is the number of connections
+required.  The number of connections for the network of servers is equal to
+"(n * n - n) / 2 ", where n is the number of servers.  For example, with 5
+servers you need 10 connections, with 10 servers you need 45 connections,
+and with 50 servers you need 1225 connections.  This is of course the
+number of connections across the entire network, each individual server
+only needs "n - 1" connections.</p>
+
+<p>The handling of these sockets is all asynchronous Java NIO code which
+allows the server to handle many connections (all of them) with one thread.
+ From a pure threading perspective, the option is extremely efficient with
+just one thread to listen and broadcast to many peers.  </p>
+
+<h1>Double connect</h1>
+
+<p>It is possible in this process that two servers learn of each other at the
+same time and each attempts to connect to the other simultaneously,
+resulting in two connections between the same two servers.  When this
+happens both servers will detect the extra connection and one of the
+connections will be dropped and one will be kept.  In practice this race
+condition rarely happens and can be avoided almost entirely by fanning out
+server startup by as little as 100 milliseconds.</p>
+
+<h1>Multipoint Configuration Recommendations</h1>
+
+<p>As mentioned above the <code>initialServers</code> is only used for bootstrapping
+the multipoint network.  Once running, all servers will dynamically
+establish direct connections with each other and there is no single point
+of failure.</p>
+
+<p>However to ensure that the bootstrapping process can occur successfully,
+the <code>initialServers</code> property of the <code>conf/multipoint.properties</code> file
+must be set carefully and with a specific server start order in mind.  Each
+server consults its <code>initialServers</code> list exactly once in the
+bootstrapping phase at startup, after that time connections are made
+dynamically.</p>
+
+<p>This means that at least one of the servers listed in <code>initialServers</code>
+must already be running when the server starts or the server might never
+become introduced and connected to all the other servers in the network.</p>
+
+<h2>Failed scenario (background)</h2>
+
+<p>As an example of a failed scenario, imagine there are three servers;
+server1, server2, server3.  They are setup only to point to the server in
+front of them making a chain:</p>
+
+<ul>
+<li>server1; initialServers = server2</li>
+<li>server2; initialServers = server3</li>
+<li>server3; initialServers = <blank></li>
+</ul>
+
+<p>Which is essentially server1 -> server2 -> server3.  This scenario could
+work, but they servers would have to be started in exactly the opposite
+order:</p>
+
+<p># server3 starts
+ # server2 starts
+ #* static: connect to server3
+ # server1 starts
+ #* static: connect to server2
+ #* dynamic: connect to server3</p>
+
+<p>At this point all servers would be fully connected.  But the above setup is
+flawed and could easily fail.  The first flaw is server3 lists nothing in
+its <code>initialServers</code> list, so if it were restarted it would leave the
+multipoint network and not know how to get back in.</p>
+
+<p>The second flaw is if you started them in any other order, you would also
+not get a fully connected multipoint network.  Say the servers were started
+in "front" order:</p>
+
+<p># server1 starts
+ #* static: connect to server2 - failed, server2 not started.
+ # server2 starts
+ #* static: connect to server3 - failed, server3 not started.
+ # server3 starts
+ #* no connection attempts, initialServers list is empty.</p>
+
+<p>After startup completes, all servers will be completely isolated and
+failover will not work.  The described setup is weaker than it needs to be.
+Listing just one server means the listed server is a potential point of
+weakness.  As a matter of trivia, it is interesting to point out that you
+could bring a fourth server online temporarily that lists all three
+servers.  Once it makes the introductions and all servers learn of each
+other, you could shut it down again.</p>
+
+<p>The above setup is easily fixable via better configuration.  If server3
+listed both server1 and server2 in its initialServers list, rather than
+listing nothing at all, then all servers would fully discover each other
+regardless of startup order; assuming all three servers did eventually
+start.</p>
+
+<h2>Bootstrapping Three Servers or Less</h2>
+
+<p>In a three sever scenario, we recommend simply having all three servers
+list all three servers.  </p>
+
+<ul>
+<li>server1/conf/multipoint.properties
+**    initialServers = server1, server2, server3</li>
+<li>server2/conf/multipoint.properties
+** initialServers = server1, server2, server3</li>
+<li>server3/conf/multipoint.properties
+** initialServers = server1, server2, server3</li>
+</ul>
+
+<p>There's no harm to a server listing itself.  It gives you one clean list to
+maintain and it will work even if you decide not to start one of the three
+servers.</p>
+
+<h2>Bootstrapping Four Servers or More</h2>
+
+<p>In a scenario of four or more, we recommend picking at least to servers and
+focus on always keeping at least one of them running.  Lets refer to them
+as "root" servers for simplicity sake.</p>
+
+<ul>
+<li>server1/conf/multipoint.properties
+**    initialServers = server2</li>
+<li>server2/conf/multipoint.properties
+**    initialServers = server1</li>
+</ul>
+
+<p>Root server1 would list root server2 so they would always be linked to each
+other regardless of start order or if one of them went down.  Server1 could
+be shutdown and reconnect on startup to the full multipoint network through
+server2, and vice versa.</p>
+
+<p>All other servers would simply list the root servers (server1, server2) in
+their initialServers list.</p>
+
+<ul>
+<li>server3/conf/multipoint.properties
+**    initialServers = server1, server2</li>
+<li>server4/conf/multipoint.properties
+**    initialServers = server1, server2</li>
+<li>serverN/conf/multipoint.properties
+**    initialServers = server1, server2</li>
+</ul>
+
+<p>As long as at least one root server (server1 or server2) was running, you
+can bring other servers on and offline at will and always have a fully
+connected graph.</p>
+
+<p>Of course all servers once running and connected will have a full list of
+all other servers in the network, so if at any time the "root" servers
+weren't around to make initial introductions to new servers it would be no
+trouble.  It's possible to reconfigure new servers to point at any other
+server in the network as all servers will have the full list.  So these
+"root" servers are no real point of failure in function, but only of
+convenience.</p>
+
+<h2>Command line overrides</h2>
+
+<p>Always remember that any property in a conf/<server-service>.properties
+file can be overridden on the command line or via system properties.  So it
+is possible easily set the initialServers list in startup scripts.</p>
+
+<p>A bash example might look something like:</p>
+
+<pre><code>!/bin/bash
+
+OPENEJB_HOME=/opt/openejb-3.1.3
+INITIAL_LIST=$(cat /some/shared/directory/our_initial_servers.txt)
+
+$OPENEJB_HOME/bin/openejb start -Dmultipoint.initialServers=$INITIAL_LIST
+</code></pre>
+
+
+
+
+      <footer>
+        <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
+        Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+        </p>
+      </footer>
+
+    </div> <!-- /container -->
+
+  <SPAN style="display: none">
+    <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+    </SCRIPT>
+    <SCRIPT type="text/javascript">
+      _uacct = "UA-2717626-1";
+      urchinTracker();
+    </SCRIPT>
+  </SPAN>
+
+  </body>
+</html>

Added: websites/staging/openejb/trunk/content/multipoint-discovery.html
==============================================================================
--- websites/staging/openejb/trunk/content/multipoint-discovery.html (added)
+++ websites/staging/openejb/trunk/content/multipoint-discovery.html Thu Oct 27 19:38:31 2011
@@ -0,0 +1,329 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+
+    <meta charset="utf-8">
+      <title>Multipoint (TCP) Discovery</title>
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="./bootstrap.css" rel="stylesheet">
+    <link href="./prettify.css" rel="stylesheet">
+    <link href="./bootstrap-mods.css" rel="stylesheet">
+
+    <style type="text/css">
+      body {
+        padding-top: 60px;
+      }
+    </style>
+
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="./images/favicon.ico">
+    <link rel="apple-touch-icon" href="./images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="./images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="./images/apple-touch-icon-114x114.png">
+
+    <script src="./javascript/prettify.js" type="text/javascript"></script>
+    <script src="./javascript/jquery-latest.js"></script>
+    <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+    <script src="./javascript/common.js"></script>
+    <script src="./javascript/prettyprint.js"></script>
+
+  </head>
+
+  <body>
+
+    <div class="topbar">
+      <div class="fill">
+        <div class="container">
+          <a class="brand" href="./index.html">Apache TomEE</a>
+          <ul class="nav">
+            <li><a href="./index.html">Home</a></li>
+            <li><a href="./downloads.html">Downloads</a></li>
+            <li><a href="./documentation.html">Documentation</a></li>
+            <li><a href="./support.html">Support</a></li>
+          </ul>
+
+            <!-- Google CSE Search Box Begins  -->
+            <FORM class="pull-right" id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
+                <INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
+                <INPUT type="hidden" name="cof" value="FORID:0">
+                <INPUT name="q" type="text" placeholder="Search">
+            </FORM>
+            <!--<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>-->
+            <!-- Google CSE Search Box Ends -->
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+
+    
+
+<div class="page-header">
+<small><a href=".//index.html">Home</a></small><br>
+<h1>Multipoint (TCP) Discovery</h1>
+</div>
+
+<p>As TCP has no real broadcast functionality to speak of, communication of
+who is in the network is achieved by each server having a physical
+connection to each other server in the network.</p>
+
+<p>To join the network, the server must be configured to know the address of
+at least one server in the network and connect to it.  When it does both
+servers will exchange the full list of all the other servers each knows
+about.  Each server will then connect to any new servers they've  just
+learned about and repeat the processes with those new servers.  The end
+result is that everyone has a direct connection to everyone 100% of the
+time, hence the made-up term "multipoint" to describe this situation of
+each server having multiple point-to-point connections which create a fully
+connected graph.</p>
+
+<p>On the client side things are similar.  It needs to know the address of at
+least one server in the network and be able to connect to it.  When it does
+it will get the full (and dynamically maintained) list of every server in
+the network.  The client doesn't connect to each of those servers
+immediately, but rather consults the list in the event of a failover, using
+it to decide who to connect to next.</p>
+
+<p>The entire process is essentially the art of using a statically maintained
+list to bootstrap getting the more valuable dynamically maintained list.</p>
+
+<h1>Server Configuration</h1>
+
+<p>In the server this list can be specified via the
+<code>conf/multipoint.properties</code> file like so:</p>
+
+<pre><code>server      = org.apache.openejb.server.discovery.MultipointDiscoveryAgent
+bind        = 127.0.0.1
+port        = 4212
+disabled    = false
+initialServers = 192.168.1.20:4212, 192.168.1.30:4212, 192.168.1.40:4212
+</code></pre>
+
+<p>The above configuration shows the server has an <code>port</code> <code>4212</code> open for
+connections by other servers for multipoint communication.  The
+<code>initialServers</code> list should be a comma separated list of other similar
+servers on the network.  Only one of the servers listed is required to be
+running when this server starts up -- it is not required to list all
+servers in the network.</p>
+
+<p><a name="Failover-ClientConfiguration"></a></p>
+
+<h1>Client Configuration</h1>
+
+<p>Configuration in the client is similar, but note that EJB clients do not
+participate directly in multipoint communication and do <strong>not</strong> connect to
+the multipoint port.  The server list is simply a list of the regular
+<code>ejbd://</code> urls that a client normally uses to connect to a server.</p>
+
+<pre><code>Properties p = new Properties();
+p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.RemoteInitialContextFactory");
+p.put(Context.PROVIDER_URL, "failover:ejbd://192.168.1.20:4201,ejbd://192.168.1.30:4201");
+InitialContext remoteContext = new InitialContext(p);
+</code></pre>
+
+<h2>Considerations</h2>
+
+<h3>Network size</h3>
+
+<p>The general disadvantage of this topology is the number of connections
+required.  The number of connections for the network of servers is equal to
+"(n * n - n) / 2 ", where n is the number of servers.  For example, with 5
+servers you need 10 connections, with 10 servers you need 45 connections,
+and with 50 servers you need 1225 connections.  This is of course the
+number of connections across the entire network, each individual server
+only needs "n - 1" connections.</p>
+
+<p>The handling of these sockets is all asynchronous Java NIO code which
+allows the server to handle many connections (all of them) with one thread.
+ From a pure threading perspective, the option is extremely efficient with
+just one thread to listen and broadcast to many peers.  </p>
+
+<h3>Double connect</h3>
+
+<p>It is possible in this process that two servers learn of each other at the
+same time and each attempts to connect to the other simultaneously,
+resulting in two connections between the same two servers.  When this
+happens both servers will detect the extra connection and one of the
+connections will be dropped and one will be kept.  In practice this race
+condition rarely happens and can be avoided almost entirely by fanning out
+server startup by as little as 100 milliseconds.</p>
+
+<h1>Multipoint Configuration Recommendations</h1>
+
+<p>As mentioned above the <code>initialServers</code> is only used for bootstrapping
+the multipoint network.  Once running, all servers will dynamically
+establish direct connections with each other and there is no single point
+of failure.</p>
+
+<p>However to ensure that the bootstrapping process can occur successfully,
+the <code>initialServers</code> property of the <code>conf/multipoint.properties</code> file
+must be set carefully and with a specific server start order in mind.  Each
+server consults its <code>initialServers</code> list exactly once in the
+bootstrapping phase at startup, after that time connections are made
+dynamically.</p>
+
+<p>This means that at least one of the servers listed in <code>initialServers</code>
+must already be running when the server starts or the server might never
+become introduced and connected to all the other servers in the network.</p>
+
+<h2>Failed scenario (background)</h2>
+
+<p>As an example of a failed scenario, imagine there are three servers;
+server1, server2, server3.  They are setup only to point to the server in
+front of them making a chain:</p>
+
+<ul>
+<li>server1; initialServers = server2</li>
+<li>server2; initialServers = server3</li>
+<li>server3; initialServers = <blank></li>
+</ul>
+
+<p>Which is essentially server1 -> server2 -> server3.  This scenario could
+work, but they servers would have to be started in exactly the opposite
+order:</p>
+
+<p># server3 starts
+ # server2 starts
+ #* static: connect to server3
+ # server1 starts
+ #* static: connect to server2
+ #* dynamic: connect to server3</p>
+
+<p>At this point all servers would be fully connected.  But the above setup is
+flawed and could easily fail.  The first flaw is server3 lists nothing in
+its <code>initialServers</code> list, so if it were restarted it would leave the
+multipoint network and not know how to get back in.</p>
+
+<p>The second flaw is if you started them in any other order, you would also
+not get a fully connected multipoint network.  Say the servers were started
+in "front" order:</p>
+
+<p># server1 starts
+ #* static: connect to server2 - failed, server2 not started.
+ # server2 starts
+ #* static: connect to server3 - failed, server3 not started.
+ # server3 starts
+ #* no connection attempts, initialServers list is empty.</p>
+
+<p>After startup completes, all servers will be completely isolated and
+failover will not work.  The described setup is weaker than it needs to be.
+Listing just one server means the listed server is a potential point of
+weakness.  As a matter of trivia, it is interesting to point out that you
+could bring a fourth server online temporarily that lists all three
+servers.  Once it makes the introductions and all servers learn of each
+other, you could shut it down again.</p>
+
+<p>The above setup is easily fixable via better configuration.  If server3
+listed both server1 and server2 in its initialServers list, rather than
+listing nothing at all, then all servers would fully discover each other
+regardless of startup order; assuming all three servers did eventually
+start.</p>
+
+<h2>Bootstrapping Three Servers or Less</h2>
+
+<p>In a three sever scenario, we recommend simply having all three servers
+list all three servers.  </p>
+
+<ul>
+<li>server1/conf/multipoint.properties
+**    initialServers = server1, server2, server3</li>
+<li>server2/conf/multipoint.properties
+** initialServers = server1, server2, server3</li>
+<li>server3/conf/multipoint.properties
+** initialServers = server1, server2, server3</li>
+</ul>
+
+<p>There's no harm to a server listing itself.  It gives you one clean list to
+maintain and it will work even if you decide not to start one of the three
+servers.</p>
+
+<h2>Bootstrapping Four Servers or More</h2>
+
+<p>In a scenario of four or more, we recommend picking at least to servers and
+focus on always keeping at least one of them running.  Lets refer to them
+as "root" servers for simplicity sake.</p>
+
+<ul>
+<li>server1/conf/multipoint.properties
+**    initialServers = server2</li>
+<li>server2/conf/multipoint.properties
+**    initialServers = server1</li>
+</ul>
+
+<p>Root server1 would list root server2 so they would always be linked to each
+other regardless of start order or if one of them went down.  Server1 could
+be shutdown and reconnect on startup to the full multipoint network through
+server2, and vice versa.</p>
+
+<p>All other servers would simply list the root servers (server1, server2) in
+their initialServers list.</p>
+
+<ul>
+<li>server3/conf/multipoint.properties
+**    initialServers = server1, server2</li>
+<li>server4/conf/multipoint.properties
+**    initialServers = server1, server2</li>
+<li>serverN/conf/multipoint.properties
+**    initialServers = server1, server2</li>
+</ul>
+
+<p>As long as at least one root server (server1 or server2) was running, you
+can bring other servers on and offline at will and always have a fully
+connected graph.</p>
+
+<p>Of course all servers once running and connected will have a full list of
+all other servers in the network, so if at any time the "root" servers
+weren't around to make initial introductions to new servers it would be no
+trouble.  It's possible to reconfigure new servers to point at any other
+server in the network as all servers will have the full list.  So these
+"root" servers are no real point of failure in function, but only of
+convenience.</p>
+
+<h2>Command line overrides</h2>
+
+<p>Always remember that any property in a conf/<server-service>.properties
+file can be overridden on the command line or via system properties.  So it
+is possible easily set the initialServers list in startup scripts.</p>
+
+<p>A bash example might look something like:</p>
+
+<pre><code>!/bin/bash
+
+OPENEJB_HOME=/opt/openejb-3.1.3
+INITIAL_LIST=$(cat /some/shared/directory/our_initial_servers.txt)
+
+$OPENEJB_HOME/bin/openejb start -Dmultipoint.initialServers=$INITIAL_LIST
+</code></pre>
+
+
+
+
+      <footer>
+        <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
+        Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+        </p>
+      </footer>
+
+    </div> <!-- /container -->
+
+  <SPAN style="display: none">
+    <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+    </SCRIPT>
+    <SCRIPT type="text/javascript">
+      _uacct = "UA-2717626-1";
+      urchinTracker();
+    </SCRIPT>
+  </SPAN>
+
+  </body>
+</html>

Added: websites/staging/openejb/trunk/content/multipoint-recommendations.html
==============================================================================
--- websites/staging/openejb/trunk/content/multipoint-recommendations.html (added)
+++ websites/staging/openejb/trunk/content/multipoint-recommendations.html Thu Oct 27 19:38:31 2011
@@ -0,0 +1,272 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+
+    <meta charset="utf-8">
+      <title>Multipoint Recommendations</title>
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="./bootstrap.css" rel="stylesheet">
+    <link href="./prettify.css" rel="stylesheet">
+    <link href="./bootstrap-mods.css" rel="stylesheet">
+
+    <style type="text/css">
+      body {
+        padding-top: 60px;
+      }
+    </style>
+
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="./images/favicon.ico">
+    <link rel="apple-touch-icon" href="./images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="./images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="./images/apple-touch-icon-114x114.png">
+
+    <script src="./javascript/prettify.js" type="text/javascript"></script>
+    <script src="./javascript/jquery-latest.js"></script>
+    <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+    <script src="./javascript/common.js"></script>
+    <script src="./javascript/prettyprint.js"></script>
+
+  </head>
+
+  <body>
+
+    <div class="topbar">
+      <div class="fill">
+        <div class="container">
+          <a class="brand" href="./index.html">Apache TomEE</a>
+          <ul class="nav">
+            <li><a href="./index.html">Home</a></li>
+            <li><a href="./downloads.html">Downloads</a></li>
+            <li><a href="./documentation.html">Documentation</a></li>
+            <li><a href="./support.html">Support</a></li>
+          </ul>
+
+            <!-- Google CSE Search Box Begins  -->
+            <FORM class="pull-right" id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
+                <INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
+                <INPUT type="hidden" name="cof" value="FORID:0">
+                <INPUT name="q" type="text" placeholder="Search">
+            </FORM>
+            <!--<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>-->
+            <!-- Google CSE Search Box Ends -->
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+
+    
+
+<div class="page-header">
+<small><a href=".//index.html">Home</a></small><br>
+<h1>Multipoint Recommendations</h1>
+</div>
+
+<p>As mentioned the <code>initialServers</code> is only used for bootstrapping
+the multipoint network.  Once running, all servers will dynamically
+establish direct connections with each other and there is no single point
+of failure.</p>
+
+<p>However to ensure that the bootstrapping process can occur successfully,
+the <code>initialServers</code> property of the <code>conf/multipoint.properties</code> file
+must be set carefully and with a specific server start order in mind.  Each
+server consults its <code>initialServers</code> list exactly once in the
+bootstrapping phase at startup, after that time connections are made
+dynamically.</p>
+
+<p>This means that at least one of the servers listed in <code>initialServers</code>
+must already be running when the server starts or the server might never
+become introduced and connected to all the other servers in the network.</p>
+
+<h1>Failed scenario <small>background</small></h1>
+
+<p>As an example of a failed scenario, imagine there are three servers;
+<code>server1</code>, <code>server2</code>, <code>server3</code>.  They are setup only to point to the server in
+front of them making a chain:</p>
+
+<ul>
+<li>server1; <code>initialServers = server2</code></li>
+<li>server2; <code>initialServers = server3</code></li>
+<li>server3; <code>initialServers = *&amp;lt;blank&gt;*</code></li>
+</ul>
+
+<p>Which is essentially <code>server1</code> -> <code>server2</code> -> <code>server3</code>.  This scenario could
+work, but they servers would have to be started in exactly the opposite
+order:</p>
+
+<ol>
+<li><code>server3</code> starts</li>
+<li><code>server2</code> starts
+<ol>
+<li><em>static:</em> connect to <code>server3</code></li>
+</ol></li>
+<li><code>server1</code> starts
+<ol>
+<li><em>static:</em> connect to <code>server2</code></li>
+<li><em>dynamic:</em> connect to <code>server3</code></li>
+</ol></li>
+</ol>
+
+<p>At this point all servers would be fully connected.  But the above setup is
+flawed and could easily fail.  The first flaw is <code>server3</code> lists nothing in
+its <code>initialServers</code> list, so if it were restarted it would leave the
+multipoint network and not know how to get back in.</p>
+
+<p>The second flaw is if you started them in any other order, you would also
+not get a fully connected multipoint network.  Say the servers were started
+in "front" order:</p>
+
+<ol>
+<li><code>server1</code> starts
+<ol>
+<li><em>static:</em> connect to <code>server2</code> - failed, <code>server2</code> not started.</li>
+</ol></li>
+<li><code>server2</code> starts
+<ol>
+<li><em>static:</em> connect to <code>server3</code> - failed, <code>server3</code> not started.</li>
+</ol></li>
+<li><code>server3</code> starts
+<ol>
+<li>no connection attempts, initialServers list is empty.</li>
+</ol></li>
+</ol>
+
+<p>After startup completes, all servers will be completely isolated and
+failover will not work.  The described setup is weaker than it needs to be.
+Listing just one server means the listed server is a potential point of
+weakness.  As a matter of trivia, it is interesting to point out that you
+could bring a fourth server online temporarily that lists all three
+servers.  Once it makes the introductions and all servers learn of each
+other, you could shut it down again.</p>
+
+<p>The above setup is easily fixable via better configuration.  If <code>server3</code>
+listed both <code>server1</code> and <code>server2</code> in its initialServers list, rather than
+listing nothing at all, then all servers would fully discover each other
+regardless of startup order; assuming all three servers did eventually
+start.</p>
+
+<h1>Bootstrapping Three Servers or Less</h1>
+
+<p>In a three sever scenario, we recommend simply having all three servers
+list all three servers.  </p>
+
+<ul>
+<li>server1/conf/multipoint.properties
+<ul>
+<li><code>initialServers = server1, server2, server3</code></li>
+</ul></li>
+<li>server2/conf/multipoint.properties
+<ul>
+<li><code>initialServers = server1, server2, server3</code></li>
+</ul></li>
+<li>server3/conf/multipoint.properties
+<ul>
+<li><code>initialServers = server1, server2, server3</code></li>
+</ul></li>
+</ul>
+
+<p>There's no harm to a server listing itself.  It gives you one clean list to
+maintain and it will work even if you decide not to start one of the three
+servers.</p>
+
+<h1>Bootstrapping Four Servers or More</h1>
+
+<p>In a scenario of four or more, we recommend picking at least to servers and
+focus on always keeping at least one of them running.  Lets refer to them
+as "root" servers for simplicity sake.</p>
+
+<ul>
+<li>server1/conf/multipoint.properties
+<ul>
+<li><code>initialServers = server2</code></li>
+</ul></li>
+<li>server2/conf/multipoint.properties
+<ul>
+<li><code>initialServers = server1</code></li>
+</ul></li>
+</ul>
+
+<p>Root <code>server1</code> would list root <code>server2</code> so they would always be linked to each
+other regardless of start order or if one of them went down.  <code>Server1</code> could
+be shutdown and reconnect on startup to the full multipoint network through
+<code>server2</code>, and vice versa.</p>
+
+<p>All other servers would simply list the root servers (<code>server1</code>, <code>server2</code>) in
+their initialServers list.</p>
+
+<ul>
+<li>server3/conf/multipoint.properties
+<ul>
+<li><code>initialServers = server1, server2</code></li>
+</ul></li>
+<li>server4/conf/multipoint.properties
+<ul>
+<li><code>initialServers = server1, server2</code></li>
+</ul></li>
+<li>serverN/conf/multipoint.properties
+<ul>
+<li><code>initialServers = server1, server2</code></li>
+</ul></li>
+</ul>
+
+<p>As long as at least one root server (<code>server1</code> or <code>server2</code>) was running, you
+can bring other servers on and offline at will and always have a fully
+connected graph.</p>
+
+<p>Of course all servers once running and connected will have a full list of
+all other servers in the network, so if at any time the "root" servers
+weren't around to make initial introductions to new servers it would be no
+trouble.  It's possible to reconfigure new servers to point at any other
+server in the network as all servers will have the full list.  So these
+"root" servers are no real point of failure in function, but only of
+convenience.</p>
+
+<h1>Setting initialServers <small>overrides</small></h1>
+
+<p>Always remember that any property in a <code>conf/&lt;server-service&gt;.properties</code>
+file can be overridden on the command line or via system properties.  So it
+is possible easily set the <code>initialServers</code> list in startup scripts.</p>
+
+<p>A bash example might look something like:</p>
+
+<pre><code>!/bin/bash
+
+OPENEJB_HOME=/opt/openejb-3.1.3
+INITIAL_LIST=$(cat /some/shared/directory/our_initial_servers.txt)
+
+$OPENEJB_HOME/bin/openejb start -Dmultipoint.initialServers=$INITIAL_LIST
+</code></pre>
+
+
+
+
+      <footer>
+        <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
+        Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+        </p>
+      </footer>
+
+    </div> <!-- /container -->
+
+  <SPAN style="display: none">
+    <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+    </SCRIPT>
+    <SCRIPT type="text/javascript">
+      _uacct = "UA-2717626-1";
+      urchinTracker();
+    </SCRIPT>
+  </SPAN>
+
+  </body>
+</html>