From user-return-63716-archive-asf-public=cust-asf.ponee.io@cassandra.apache.org Mon Apr 22 23:00:47 2019 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9802C18064D for ; Tue, 23 Apr 2019 01:00:47 +0200 (CEST) Received: (qmail 55819 invoked by uid 500); 22 Apr 2019 23:00:44 -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 55809 invoked by uid 99); 22 Apr 2019 23:00:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Apr 2019 23:00:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id BF2E9C03A6 for ; Mon, 22 Apr 2019 23:00:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.8 X-Spam-Level: * X-Spam-Status: No, score=1.8 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id paMA0j16XEQC for ; Mon, 22 Apr 2019 23:00:38 +0000 (UTC) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0D8CB5FB54 for ; Mon, 22 Apr 2019 23:00:38 +0000 (UTC) Received: by mail-lf1-f50.google.com with SMTP id a28so10145153lfo.7 for ; Mon, 22 Apr 2019 16:00:38 -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=ybGjCgKqWYqdnBrbqQtFvlo/x6amka2Wi63aIH6s7Ew=; b=WsUyucRig4PfmegHw77FFcpvLIWiWj4RZ2cXl3KjxoJUkEIbx+Yj7iroYkYHWkFYLS PxThExOeo0YMFGmUdPI1OMYJHnRQPSCv6Wi5kcTBQ0YoZNu9Wbb1Oj2P7vCB0ApV1cJm yfJkKN5rP1hWt0MbEK87lubkgRfW5pDmudY8+f2A23iMqxj2kz5fMP+4UUjT+w9X3e2O v2jiztrkmxH2RNG+VKikIzOnRgQ4ocwuoHtg4l0sSiCtkA/X/Q72r41LUt0kvrULu+qd T/nDuPIp0NlQ2S3vmNEn0vcUiUpGoEs7b3eV050ReCryvRh//35d0RxHpyh+Pme7ZJaR Ujrw== 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=ybGjCgKqWYqdnBrbqQtFvlo/x6amka2Wi63aIH6s7Ew=; b=PXQ6yrpn2dMQ82g36HBl0rh3HNtFjblZe1wBcLhiBWenFMXJXEdRIDW4q0dIifauK1 LYDSAhh8Q++XwCYzerifdxrj5/R0C+TVvg736eQvvF/V23VRWs5VplKIOswDyF9NzD0I exIJSYwyFO0rnaZibsBzcAIzo3nZUA5rwXWvNVFjJTS6oXjqUz52TtfJJMM18WQ6K04Y 4kWJw1OEn8oPvjSY4dBOmi/h5Bv/4uE12zqcunyUBW1SjPWyeTbkFulgZqAJIQoBfcdP n5zrPOclHSY/ki1aIbpr9iKeoVuALAMp07g9m10zGXAEjiT7K6TnkvjvbgvlHJB+tagE OOSg== X-Gm-Message-State: APjAAAW0tDkevU734i/ZPSO2vX0xT+8UlHxnIEDlj9VGr2/nr1BMeKVb A0WC2GJ+E4Z0a5aC3kWyb+G2eziw3eExQ5/iK1v4ag== X-Google-Smtp-Source: APXvYqzhiI0DzuzjxQGfpVfY/t44xb3AVj65nDra/OXi1nr91sCJLioJJyrPX8mINvj7hsScetsW3s+6NFNE5b2XUq8= X-Received: by 2002:a19:48cb:: with SMTP id v194mr11472370lfa.20.1555974037136; Mon, 22 Apr 2019 16:00:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kunal Date: Mon, 22 Apr 2019 16:00:25 -0700 Message-ID: Subject: Re: Unpair cassandra datacenters To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary="000000000000c36db40587266f3d" --000000000000c36db40587266f3d Content-Type: text/plain; charset="UTF-8" HI Marc, Appreciate your prompt response. Yes we are starting datacenter B from scratch. We tried using cluster name change on side B and it works but our requirement says we can not change cluster name because during our product's major or patch release, the scripts expect cluster name to be the same. . On datacenter B , we are changing the seeds nodes. On datacenter A , we are changing the seeds nodes in cassandra.yml but that will be picked up during cassandra restart only but we can not have downtime for datacenter A. It has to be up all the time. Regards, Kunal Vaid On Mon, Apr 22, 2019 at 3:49 PM Marc Selwan wrote: > Hi Kunal, > > Did you edit the cassandra.yaml file in each data center to remove the > seed nodes? On which ever data center is starting from scratch (I think > it's B in your case), you may want to also change the cluster name. > > Best, > *Marc Selwan | *DataStax *| *PM, Server Team *|* *(925) 413-7079* *|* > Twitter > > * Quick links | *DataStax *| *Training > *| *Documentation > > *| *Downloads > > > > On Mon, Apr 22, 2019 at 3:38 PM Kunal wrote: > >> Hi Friends, >> >> I need small help in unpairing two datacenters. >> We have 2 datacenters (say A and B ) with 3 nodes in each datacenter. We >> want to remove one whole data center (B) (3 nodes) from the other one (B). >> basically, want to unpair both datacenter and want to use them both >> individually. >> We are trying this using nodetool decommission and it is removing the 3 >> nodes from B datacenter. But when we are trying to bring up datacenter B to >> use it separately from Datacenter A, it is joining back to datacenter A. We >> noticed in debug.log, nodes from datacenter A keeps looking for nodes in >> datacenter B and getting connection refused error when the nodes of >> datacenter B are down, but as soon as nodes comes back, they are joining to >> the cluster. >> We don't want nodes from datacenter B to join datacenter A once they are >> decommissioned. >> >> Can you please let me know if i am missing anything. >> >> Thanks in advance. >> >> Regards, >> Kunal Vaid >> > -- Regards, Kunal Vaid --000000000000c36db40587266f3d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
HI Marc,

Appreciate your pro= mpt response.

Yes we are starting datacenter B fro= m scratch. We tried using cluster name change on side B and it works but ou= r requirement says we can not change cluster name because during our produc= t's major or patch release, the scripts expect cluster name to be the s= ame.
.
On datacenter B , we are changing the seeds nodes. On d= atacenter A , we are changing the seeds nodes in cassandra.yml but that wil= l be picked up during cassandra restart only but we can not have downtime f= or datacenter A. It has to be up all the time.


Regards,
Kunal Vaid


On M= on, Apr 22, 2019 at 3:49 PM Marc Selwan <marc.selwan@datastax.com> wrote:
Hi Kunal,=C2=A0
<= br>
Did you edit the cassandra.yaml file in each data center to r= emove the seed nodes? On which ever data center is starting from scratch (I= think it's B in your case), you may want to also change the cluster na= me.=C2=A0

Best,=C2=A0
=
Marc Selw= an |=C2=A0DataStax | <= /b>PM, Server Team=C2=A0|=C2=A0(925) 413-7079=C2=A0|=C2=A0Twitter=C2=A0
=
= =C2=A0 Quick links |=C2=A0DataStax=C2=A0|=C2=A0Training=C2=A0|=C2=A0Documentation=C2=A0|=C2=A0<= /b>Downloads= =C2=A0



On Mon, Apr 22, 2019 at 3:38 PM = Kunal <kunal.v= aid@gmail.com> wrote:
Hi Friends,

I n= eed small help in unpairing two datacenters.
We = have 2 datacenters (say A and B ) with 3 nodes in each datacenter. We want = to remove one whole data center (B) (3 nodes) from the other one (B). basic= ally, want to unpair both datacenter and want to use them both individually= .
We are trying this using nodetool decommission and it is removing the= 3 nodes from B datacenter. But when we are trying to bring up datacenter B= to use it separately from Datacenter A, it is joining back to datacenter A= . We noticed in debug.log, nodes from datacenter A keeps looking for nodes = in datacenter B and getting connection refused error when the nodes of data= center B are down, but as soon as nodes comes back, they are joining to the= cluster.
We don't want nodes from datacenter= B to join datacenter A once they are decommissioned.

Can you please let me know if i am missing= anything.

Thanks in advance.

Regards,
Kunal Vaid


--
<= br>
= =C2=A0
=C2=A0
R= egards,
Ku= nal Vaid
--000000000000c36db40587266f3d--