Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 979541092B for ; Wed, 11 Dec 2013 14:16:25 +0000 (UTC) Received: (qmail 84170 invoked by uid 500); 11 Dec 2013 14:16:23 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 84054 invoked by uid 500); 11 Dec 2013 14:16:23 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 83937 invoked by uid 99); 11 Dec 2013 14:16:16 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Dec 2013 14:16:16 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 5F89B889A83; Wed, 11 Dec 2013 14:16:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ecn@apache.org To: commits@accumulo.apache.org Date: Wed, 11 Dec 2013 14:16:19 -0000 Message-Id: <7d7ea2d1f7954bdea19b47f243038137@git.apache.org> In-Reply-To: <75a4a28e634e4de09bbcb1af5e354d6a@git.apache.org> References: <75a4a28e634e4de09bbcb1af5e354d6a@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [04/11] git commit: ACCUMULO-1956 expand docs, addition/decommision of cluster nodes ACCUMULO-1956 expand docs, addition/decommision of cluster nodes Signed-off-by: Eric Newton Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/ff29f08a Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/ff29f08a Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/ff29f08a Branch: refs/heads/master Commit: ff29f08a7d79be3baecb356a05444f342b74b620 Parents: 19a48da Author: Alex Moundalexis Authored: Mon Dec 9 16:33:57 2013 -0500 Committer: Eric Newton Committed: Wed Dec 11 09:15:04 2013 -0500 ---------------------------------------------------------------------- docs/administration.html | 23 ++++++++++++++ .../src/user_manual/chapters/administration.tex | 32 ++++++++++++++++++++ 2 files changed, 55 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/ff29f08a/docs/administration.html ---------------------------------------------------------------------- diff --git a/docs/administration.html b/docs/administration.html index b0c8e88..b8712dc 100644 --- a/docs/administration.html +++ b/docs/administration.html @@ -53,6 +53,29 @@ ask the master to shut down the tablet servers gracefully. If the tablet servers at the password prompt, and waiting 15 seconds for the script to force a shutdown. Normally, once the shutdown happens gracefully, unresponsive tablet servers are forcibly shut down after 5 seconds. +

Adding a Node

+ +

Update your $ACCUMULO_HOME/conf/slaves (or $ACCUMULO_CONF_DIR/slaves) file to account for the addition; at a minimum this needs to be on the host(s) being added, but in practice it's good to ensure consistent configuration across all nodes.

+ +
+$ACCUMULO_HOME/bin/accumulo admin start >host(s)> {<host> ...}
+
+ +

Alternatively, you can ssh to each of the hosts you want to add and run $ACCUMULO_HOME/bin/start-here.sh.

+ +

Make sure the host in question has the new configuration, or else the tablet server won't start.

+ +

Decomissioning a Node

+ +

If you need to take a node out of operation, you can trigger a graceful shutdown of a tablet server. Accumulo will automatically rebalance the tablets across the available tablet servers.

+ +
+$ACCUMULO_HOME/bin/accumulo admin stop >host(s)> {<host> ...}
+
+ +

Alternatively, you can ssh to each of the hosts you want to remove and run $ACCUMULO_HOME/bin/stop-here.sh.

+ +

Be sure to update your $ACCUMULO_HOME/conf/slaves (or $ACCUMULO_CONF_DIR/slaves) file to account for the removal of these hosts. Bear in mind that the monitor will not re-read the slaves file automatically, so it will report the decomissioned servers as down; it's recommended that you restart the monitor so that the node list is up to date.

Configuration

Accumulo configuration information is stored in a xml file and ZooKeeper. System wide http://git-wip-us.apache.org/repos/asf/accumulo/blob/ff29f08a/docs/src/user_manual/chapters/administration.tex ---------------------------------------------------------------------- diff --git a/docs/src/user_manual/chapters/administration.tex b/docs/src/user_manual/chapters/administration.tex index f3feca5..d0533d9 100644 --- a/docs/src/user_manual/chapters/administration.tex +++ b/docs/src/user_manual/chapters/administration.tex @@ -184,6 +184,38 @@ To shutdown cleanly, run \texttt{bin/stop-all.sh} and the master will orchestrat shutdown of all the tablet servers. Shutdown waits for all minor compactions to finish, so it may take some time for particular configurations. +\subsection{Adding a Node} + +Update your \texttt{\$ACCUMULO_HOME/conf/slaves} (or \texttt{\$ACCUMULO_CONF_DIR/slaves}) file to account for the addition. + +\begin{verbatim} +$ACCUMULO_HOME/bin/accumulo admin start { ...} +\end{verbatim} + +Alternatively, you can ssh to each of the hosts you want to add and run +\texttt{\$ACCUMULO_HOME/bin/start-here.sh}. + +Make sure the host in question has the new configuration, or else the tablet +server won't start; at a minimum this needs to be on the host(s) being added, +but in practice it's good to ensure consistent configuration across all nodes. + +\subsection{Decomissioning a Node} + +If you need to take a node out of operation, you can trigger a graceful shutdown of a tablet +server. Accumulo will automatically rebalance the tablets across the available tablet servers. + +\begin{verbatim} +$ACCUMULO_HOME/bin/accumulo admin stop { ...} +\end{verbatim} + +Alternatively, you can ssh to each of the hosts you want to remove and run +\texttt{\$ACCUMULO_HOME/bin/stop-here.sh}. + +Be sure to update your \texttt{\$ACCUMULO_HOME/conf/slaves} (or \texttt{\$ACCUMULO_CONF_DIR/slaves}) file to +account for the removal of these hosts. Bear in mind that the monitor will not re-read the +slaves file automatically, so it will report the decomissioned servers as down; it's +recommended that you restart the monitor so that the node list is up to date. + \section{Monitoring} The Accumulo Master provides an interface for monitoring the status and health of