Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 2718 invoked from network); 18 Nov 2009 19:03:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Nov 2009 19:03:58 -0000 Received: (qmail 3739 invoked by uid 500); 18 Nov 2009 19:03:58 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 3680 invoked by uid 500); 18 Nov 2009 19:03:58 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 3671 invoked by uid 99); 18 Nov 2009 19:03:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2009 19:03:58 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 72.14.220.156 as permitted sender) Received: from [72.14.220.156] (HELO fg-out-1718.google.com) (72.14.220.156) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2009 19:03:55 +0000 Received: by fg-out-1718.google.com with SMTP id e21so646817fga.0 for ; Wed, 18 Nov 2009 11:03:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=B6csht+SCt5skAS2O3OSofDwbAlLhci7nlsEEMjSCJs=; b=O5MdDr/QVd7IQwnLLVmAn2gv9sJRRgarUUYi6mBt+LuJWdhMootcwO7fln1+84B1Tr grlFdUCDBUzN5AAnJjzqevXSmD+bFJVFh8xJ6wXzSE/I1bfb+EEdwQdJx/R0K5PErcwB vaQT4rJG3AvgEuUXhG1N9Tl+HIRMm7LNL322c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=hjHu1ltSXkDauyT2rsAOeI6+F/yp8qzE3mDx51BpChwZhEHcY3YfVrTWpIG79t6QPU VxuZKWwYGRMwOs6pGqUBH+4r44rlPAgMDMIOA+yWrfvEWfNg9sx31OhLaDxrmMi1H/s6 pEaeNsMIzobbbyoWFgZCUEgNF70TOFO4CdUEw= MIME-Version: 1.0 Received: by 10.216.86.135 with SMTP id w7mr943431wee.176.1258571014543; Wed, 18 Nov 2009 11:03:34 -0800 (PST) In-Reply-To: References: From: Jonathan Ellis Date: Wed, 18 Nov 2009 13:03:14 -0600 Message-ID: Subject: Re: Cassandra backup and restore procedures To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Tokens can change, so IP is used for node identification, e.g. for hinted handoff. On Wed, Nov 18, 2009 at 1:00 PM, Ramzi Rabah wrote: > Hey Jonathan, why should a replacement node keep the same IP > address/DNS name as the original node? Wouldn't having the same token > as the node that went down be sufficient (provided that you did the > steps above of copying the data from the 2 neighboring nodes)? > > On Wed, Nov 18, 2009 at 10:30 AM, Jonathan Ellis wrote: >> On Wed, Nov 18, 2009 at 12:05 PM, Jon Graham wrote: >>> Hello Everyone, >>> >>> Is there a recommended backup/restore procedure to be able to recover a >>> failed node? >> >> Until tickets 193 and 520 are done, the easiest thing is to copy all >> the sstables from the other nodes that have replicas for the ranges it >> is responsible for (e.g. for replication factor of 3 on rack unaware >> partitioner, the nodes before it and the node after it on the right >> would suffice), and then run nodeprobe cleanup to clear out the >> excess. >> >>> How does Cassandra keep track of a node's identity? >> >> It stores it in the system table. >> >>> Should a replacement node keep the same IP address/DNS name as the original >>> node? >> >> Yes. >> >>> Does a node still receive data while a nodeprobe snapshot" command runs? >> >> Yes. >> >> -Jonathan >> >