From user-return-62308-archive-asf-public=cust-asf.ponee.io@cassandra.apache.org Mon Sep 17 17:41:48 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 75671180627 for ; Mon, 17 Sep 2018 17:41:47 +0200 (CEST) Received: (qmail 8454 invoked by uid 500); 17 Sep 2018 15:41:45 -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 8444 invoked by uid 99); 17 Sep 2018 15:41:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2018 15:41:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 532F1CBDFC for ; Mon, 17 Sep 2018 15:41:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.897 X-Spam-Level: * X-Spam-Status: No, score=1.897 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id k-jOmv7o8nv1 for ; Mon, 17 Sep 2018 15:41:44 +0000 (UTC) Received: from mail-ua1-f45.google.com (mail-ua1-f45.google.com [209.85.222.45]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 642FB5F46D for ; Mon, 17 Sep 2018 15:41:44 +0000 (UTC) Received: by mail-ua1-f45.google.com with SMTP id w7-v6so10638793uan.9 for ; Mon, 17 Sep 2018 08:41:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=9nHfdAQf71o5L0xpMIt4N1xNRLO8gGlcluY3wLTjtjk=; b=XW3y2cVu821vPGTjkcFbL2zd+OyzPl6UTwXs2Bxcskh9WCy0aHaTUvFzVXj/Qq1BHH 3owFBXIL+CuHDAkp1sGNIBKta68hDmcLKfDSH6jApivWyy3aSKgSEK5Lf1Y3GhLzkPsJ JzICe7q8FNsWxkPPhxteAPueAFP9YzFKO6xLUD5I+adKuV3/vs8Q0nsjW9FIoQ5lJEeq hJ0Cvez/o20xUnhdJXqft77irEUYY9kjSzIDkSlBqWgDH6wUsIEYjbZ9htavBRalbWLs X33r1H7w9gpOd78Y0UNJg+txorWoCfcTvkp2y84jta7YyYQA9bZGpuvyZQ2vbc2Kkvb3 eQWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=9nHfdAQf71o5L0xpMIt4N1xNRLO8gGlcluY3wLTjtjk=; b=KXWG7+ep3ykYPsukkeySM6QeH+xO2/hE7NuaNuNSRW5UOYah6JnkUtuu+ehZYoQGUr tRjzMB+aV49ozvoRGPCbcimLEcMizsiHZa0UC+gLhbhZIB32KVCXLfB28phgwc/3zwPk RZJ7EPdjYmd/QXgAAsWyJvbdwVlGC06F2hxZw3jGtgG5mQWMlCALMZx6ggqd5YD6/biF z4F/yrN7Fv90izGgxNBmD228EmgOTXK/dugy5jiLtVjFworS2cwdS56sEBilyMFpjfzk OXAKYSnHmKmqD525Cm3GV5RN3vk/DLPHSDcUscXkxN0ZiZGybuGhxCaLzbMSQS/63juV rpWw== X-Gm-Message-State: APzg51CzOo9A50FIKWKLl1lw9t063d3YkG6Lensj1Adqgzj/p8cpuKpT X9iXDE9SXepdBMH/dg8rceoWie0wkF6Tngz9sFlcGM+0B5k= X-Google-Smtp-Source: ANB0VdY4pqsBi3CC9RW5YcK1KwTvEHUBG/ToPXO+y74WzsjiXtltd6n65RMF6IVUMI/UUapP+5LyJkCkOcKOPcycb1U= X-Received: by 2002:a9f:3051:: with SMTP id i17-v6mr7797105uab.89.1537198897780; Mon, 17 Sep 2018 08:41:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alain RODRIGUEZ Date: Mon, 17 Sep 2018 16:41:26 +0100 Message-ID: Subject: Re: Adding datacenter and data verification To: "user cassandra.apache.org" Content-Type: multipart/alternative; boundary="000000000000405bf605761302c1" --000000000000405bf605761302c1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Pradeep, It looks good to me and it's a cool runbook for you to follow and for others to reuse. To make sure that cassandra nodes in one datacenter can see the nodes of > the other datacenter, add the seed node of the new datacenter in any of t= he > old datacenter=E2=80=99s nodes and restart that node. Nodes seeing each other from the distinct rack is not related to seeds. It's indeed recommended to use seeds from all the datacenter (a couple or 3). I guess it's to increase availability on seeds node and/or maybe to make sure local seeds are available. You can perfectly (and even have to) add your second datacenter nodes using seeds from the first data center. A bootstrapping node should never be in the list of seeds unless it's the first node of the cluster. Add nodes, then make them seeds. Le lun. 17 sept. 2018 =C3=A0 11:25, Pradeep Chhetri = a =C3=A9crit : > Hello everyone, > > Can someone please help me in validating the steps i am following to > migrate cassandra snitch. > > Regards, > Pradeep > > On Wed, Sep 12, 2018 at 1:38 PM, Pradeep Chhetri > wrote: > >> Hello >> >> I am running cassandra 3.11.3 5-node cluster on AWS with SimpleSnitch. I >> was testing the process to migrate to GPFS using AWS region as the >> datacenter name and AWS zone as the rack name in my preprod environment = and >> was able to achieve it. >> >> But before decommissioning the older datacenter, I want to verify that >> the data in newer dc is in consistence with the one in older dc. Is ther= e >> any easy way to do that. >> >> Do you suggest running a full repair before decommissioning the nodes of >> older datacenter ? >> >> I am using the steps documented here: https://medium.com/p/465e9bf28d99 >> I will be very happy if someone can confirm me that i am doing the right >> steps. >> >> Regards, >> Pradeep >> >> >> >> >> > --000000000000405bf605761302c1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Pradeep,

=
It looks good to me and it's a cool runbook for = you to follow and for others to reuse.

To make sure that cassandra nodes in one d= atacenter can see the nodes of the other datacenter, add the seed node of t= he new datacenter in any of the old datacenter=E2=80=99s nodes and restart = that node.

Nodes seeing=C2=A0each other fro= m the distinct rack is not related to seeds. It's indeed recommended to= use seeds from all the datacenter (a couple or 3). I guess it's to inc= rease availability on seeds node and/or maybe to make sure local seeds are = available.

You can perfectly (and even have to) ad= d your second datacenter nodes using seeds from the first data center. A bo= otstrapping node should never be in the list of seeds unless=C2=A0it's = the first node of the cluster. Add nodes, then make them seeds.
<= br>

= Le=C2=A0lun. 17 sept. 2018 =C3=A0=C2=A011:25, Pradeep Chhetri <pradeep@stashaway.com> a =C3=A9cri= t=C2=A0:
Hello eve= ryone,

Can someone please help me in validating the step= s i am following to migrate cassandra snitch.

Rega= rds,
Pradeep

On Wed, Sep 12, 2018 at 1:38 PM, Pradeep Chhetri <pra= deep@stashaway.com> wrote:
=
Hello

I am running cas= sandra 3.11.3 5-node cluster on AWS with SimpleSnitch. I was testing the pr= ocess to migrate to GPFS using AWS region as the datacenter name and AWS zo= ne as the rack name in my preprod environment and was able to achieve it.= =C2=A0

But before decommissioning the older datace= nter, I want to verify that the data in newer dc is in consistence with the= one in older dc. Is there any easy way to do that.=C2=A0

Do you suggest running a full repair before decommissioning the nod= es of older datacenter ?

I am using the steps docu= mented here:=C2=A0https://medium.com/p/465e9bf28d99 I will be very happy if someon= e can confirm me that i am doing the right steps.

= Regards,
Pradeep



<= div>

--000000000000405bf605761302c1--