Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1AB559863 for ; Wed, 21 Sep 2011 23:01:39 +0000 (UTC) Received: (qmail 90458 invoked by uid 500); 21 Sep 2011 23:01:36 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 90422 invoked by uid 500); 21 Sep 2011 23:01:35 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 90413 invoked by uid 99); 21 Sep 2011 23:01:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 23:01:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a80.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 23:01:28 +0000 Received: from homiemail-a80.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a80.g.dreamhost.com (Postfix) with ESMTP id E824337A065 for ; Wed, 21 Sep 2011 15:59:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=thelastpickle.com; b=it8m7Ed3eh phDJJMPsTfA1FYNJ+O2j8aFDtajXHNH9GoPNsUMWepvOR2ubGl8SKopW4CIVvjXZ oWfdxRDK+6ZhMux16RHGqgs8EyvN57teZpYCHQodza/YZb6cj4ESRX1UEM2s1VjA +XzVQgSQv//vNXkN89ZrqHzTPWmEby48s= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=thelastpickle.com; bh=0xhKZWgToYpZqfcp xWR8iHqJzyA=; b=RkJA/yNdobIhPWry2kxb4HwexV/Ur1eMFMPaEtvmqVxO9ob5 JwS4vVjeLhgiYcfrF2e3igIOMW1x5A1vBwe80ZLrWxsl44lYvOyEltUDomfYtEYh DyY9dGJ2yrwvRHOFsXLgNvWu2OimPgL8k+1DeBehvg3+W499b83k337Lo9E= Received: from [172.16.1.4] (122-57-116-244.jetstream.xtra.co.nz [122.57.116.244]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a80.g.dreamhost.com (Postfix) with ESMTPSA id F3FD237A05B for ; Wed, 21 Sep 2011 15:59:52 -0700 (PDT) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: multipart/alternative; boundary="Apple-Mail=_98842BD7-AE52-426B-A931-F246A438ED8F" Subject: Re: Cassandra reconfiguration Date: Thu, 22 Sep 2011 11:01:00 +1200 In-Reply-To: <2D4E4F80A4D7C94CB2C440C53D2CA1951BB23B04@DTORDEXCPN01.dotomi.com> To: user@cassandra.apache.org References: <2D4E4F80A4D7C94CB2C440C53D2CA1951BB23B04@DTORDEXCPN01.dotomi.com> Message-Id: <83F0F87B-DBB1-4248-98A4-C271A6181E70@thelastpickle.com> X-Mailer: Apple Mail (2.1244.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_98842BD7-AE52-426B-A931-F246A438ED8F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 What are the token assignments and what is the RF ?=20 Without knowing the details I would guess=85 Make the RF changes you want for DC 1 and 2 and repair.=20 decomission the nodes in DC3 one at a time.=20 Cheers ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 22/09/2011, at 5:29 AM, Hiren Shah wrote: > Hi, > =20 > We have cassandra in production in three data centers with five nodes = each. We are getting rid of one of the data centers, so I want to = reconfig my cluster to two data centers, seven nodes each. I first need = to shut down DC3. I have already shut down traffic to DC3 and am running = repairs. My priority #1 is to maintain the stability of overall cluster = (the two live data centers). Some data loss is tolerable, but it will be = ideal if I can avoid that. > =20 > What is the best way to decommission entire data center? Should I = issue decommission to the nodes one by one? Will that put additional = load on remaining nodes in DC3? Or should I just shut them down and then = run removetoken for these nodes? Or is there a better way? > =20 > Thanks in advance, > Hiren Shah > =20 --Apple-Mail=_98842BD7-AE52-426B-A931-F246A438ED8F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
What are the token assignments and what is the = RF ? 

Without knowing the details I would = guess=85

Make the RF changes you want for DC 1 = and 2 and repair. 
decomission the nodes in DC3 one at a = time. 

Cheers

http://www.thelastpickle.com

On 22/09/2011, at 5:29 AM, Hiren Shah wrote:

Hi,
 
We have cassandra in = production in three data centers with five nodes each. We are getting = rid of one of the data centers, so I want to reconfig my cluster to two = data centers, seven nodes each. I first need to shut down DC3. I have = already shut down traffic to DC3 and am running repairs. My priority #1 = is to maintain the stability of overall cluster (the two live data = centers). Some data loss is tolerable, but it will be ideal if I can = avoid that.
 
What is the best way to decommission entire data center? = Should I issue decommission to the nodes one by one? Will that put = additional load on remaining nodes in DC3? Or should I just shut them = down and then run removetoken for these nodes? Or is there a better = way?
 
Thanks in = advance,
Hiren Shah
 

<= /body>= --Apple-Mail=_98842BD7-AE52-426B-A931-F246A438ED8F--