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 23247185AD for ; Fri, 28 Aug 2015 18:12:12 +0000 (UTC) Received: (qmail 27738 invoked by uid 500); 28 Aug 2015 18:12:09 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 27701 invoked by uid 500); 28 Aug 2015 18:12:09 -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 27691 invoked by uid 99); 28 Aug 2015 18:12:09 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2015 18:12:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 38EAA181799 for ; Fri, 28 Aug 2015 18:12:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.429 X-Spam-Level: ** X-Spam-Status: No, score=2.429 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id p-qQzk4fWh0E for ; Fri, 28 Aug 2015 18:12:08 +0000 (UTC) Received: from mail-yk0-f180.google.com (mail-yk0-f180.google.com [209.85.160.180]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 39E9A2055B for ; Fri, 28 Aug 2015 18:12:08 +0000 (UTC) Received: by ykay144 with SMTP id y144so8147057yka.2 for ; Fri, 28 Aug 2015 11:12:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jUmzTleJXtkZlI9Sna6j8Aa+/q3oHcw8DxGLnRcmIMg=; b=aG2xxMuGYP/ZPrH4tePRTtbGWKwhQ3rbBnNdx+0xSZih0vVP40pTFPmiujAQ3RGBMO 89VavQgM+h2B6ZtLXZ1ylMUGn+lypFn3fMkAbH7ecC1iTak79PtIPG3SomSVBGfxyTaK IZztjs1YELFA3Pd7oR71d5zvo5x95M1pguhCI11nMRu0ENRI89Z0/13GNv1aa2jFl4Wj OybHnPDzv5Si1RDyimmvfUbv9whqpepIEbkYSBgfwJj6AQQulmf0m8fBC/rwXiYgr5m7 2b3sujRNW4aqEkIy881D0Jf5m3BGRWaB/Hjl60V18vkUvuJrxPQic+KqyxFCbn0/ZQr9 KUmA== MIME-Version: 1.0 X-Received: by 10.13.249.196 with SMTP id j187mr9428428ywf.173.1440785520896; Fri, 28 Aug 2015 11:12:00 -0700 (PDT) Received: by 10.37.53.69 with HTTP; Fri, 28 Aug 2015 11:12:00 -0700 (PDT) In-Reply-To: References: Date: Fri, 28 Aug 2015 14:12:00 -0400 Message-ID: Subject: Fwd: Re : Restoring nodes in a new datacenter, from snapshots in an existing datacenter From: sai krishnam raju potturi To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=94eb2c0826742bc8bd051e630580 --94eb2c0826742bc8bd051e630580 Content-Type: text/plain; charset=UTF-8 hi; We have cassandra cluster with Vnodes spanning across 3 data centers. We take backup of the snapshots from one datacenter. In a doomsday scenario, we want to restore a downed datacenter, with snapshots from another datacenter. We have same number of nodes in each datacenter. 1 : We know it requires copying the snapshots and their corresponding token ranges to the nodes in new datacenter, and running nodetool refresh. 2 : The question is, we will now have 2 datacenters, with the same exact token ranges. Will that cause any problem. DC1 : Node-1 : token1......token10 Node-2 : token11 .....token20 Node-3 : token21 ..... token30 Node-4 : token31 ..... token40 DC2 : Node-1 : token1.....token10 Node-2 : token11....token20 Node-3 : token21....token30 Node-4 : token31....token40 thanks Sai --94eb2c0826742bc8bd051e630580 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

hi;
= =C2=A0 =C2=A0 =C2=A0We have cassandra cluster with Vnodes spanning across 3= data centers. We take backup of the snapshots from one datacenter.
=C2=A0 =C2=A0In a doomsday scenario, we want to restore a downed datacen= ter, with snapshots from another datacenter. We have same number of nodes i= n each datacenter.

1 : We know it requires copying= the snapshots and t= heir corresponding token ra= nges=C2=A0to the nodes in new datacenter, and running nodetool refre= sh.

2 : The question is, we will now have 2 datace= nters, with the same exact token ranges. Will that cause any problem.=C2=A0=

DC1 : Node-1 : token1......token10
      Node-2 : token11 .....token20
      Node-3 : token21 ..... token30
      Node-4 : token31 ..... token40

 DC2 : Node-1 : token1.....token10
       Node-2 : token11....token20
       Node-3 : token21....token30
       Node-4 : token31....token40

th= anks
Sai=C2=A0



--94eb2c0826742bc8bd051e630580--