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 6ED7B10199 for ; Sat, 18 Jan 2014 19:24:21 +0000 (UTC) Received: (qmail 59836 invoked by uid 500); 18 Jan 2014 19:24:17 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 59748 invoked by uid 500); 18 Jan 2014 19:24:17 -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 59739 invoked by uid 99); 18 Jan 2014 19:24:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jan 2014 19:24:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hadoopandcassandra@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-wg0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jan 2014 19:24:13 +0000 Received: by mail-wg0-f48.google.com with SMTP id x13so5580249wgg.3 for ; Sat, 18 Jan 2014 11:23:52 -0800 (PST) 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=koR/p+8/n5c0fLctNkE/jrn7FHwSg96zI5X/4XTzv7A=; b=0PFN1HnuS15DYbPVYTRwJZhSzX7UxfgyjsfMHkzcaYKCd1xMCJ9BTL86JulUqQLSxU FpaPnadxk3HphsG3RGjJ1g7wyGSgelLri7fu8WhavXhwQZ7vH+4eTyQGDq2amrjHL8wa CzfAODWw4bz2EUm5TspRIVFZPOuO9haRR04VMUavrNeTgd+3sJ/ZKE0GNj8OZyka7ixH gPjsr6IV4C/bKHPmzupcMNSn49+zvFFEoFe261ntB4eORochw6GgLEi/X57Or07R/01r DE0eej7P9I72weMBLb/cIMV1bgls1a1pKQN0FGWV5+jo26tQinmWe9AzlMTPkzPpcFrl yMFw== MIME-Version: 1.0 X-Received: by 10.180.37.162 with SMTP id z2mr3501956wij.51.1390073031944; Sat, 18 Jan 2014 11:23:51 -0800 (PST) Received: by 10.216.81.193 with HTTP; Sat, 18 Jan 2014 11:23:51 -0800 (PST) In-Reply-To: <187A7B5E-2B0E-4D9A-8524-4B3D1447FB35@thelastpickle.com> References: <187A7B5E-2B0E-4D9A-8524-4B3D1447FB35@thelastpickle.com> Date: Sat, 18 Jan 2014 14:23:51 -0500 Message-ID: Subject: Re: AddContractPoint /VIP From: chandra Varahala To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=e89a8f646f8f47ec9604f0439946 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f646f8f47ec9604f0439946 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Thank you. -Chandra On Wed, Dec 11, 2013 at 9:06 PM, Aaron Morton wrot= e: > What is the good practice to put in the code as addContactPoint ie.,how > many servers ? > > I use the same nodes as the seed list nodes for that DC. > > The idea of the seed list is that it=92s a list of well known nodes, and > it=92s easier operationally to say we have one list of well known nodes t= hat > is used by the servers and the clients. > > 1) I am also thinking to put this way here I am not sure this good or > bad if i conigure 4 serves into one VIP ( virtual IP/virtual DNS) > and specifying that DSN in the code as ContactPoint, so that that VIP is > smart enough to route to different nodes. > > Too complicated. > > 2) Is that problem if i use multiple Data centers in future ? > > You only need to give the client the local seeds, it will discover all th= e > nodes. > > Cheers > > ----------------- > Aaron Morton > New Zealand > @aaronmorton > > Co-Founder & Principal Consultant > Apache Cassandra Consulting > http://www.thelastpickle.com > > On 7/12/2013, at 7:12 am, chandra Varahala > wrote: > > Greetings, > > I have 4 node cassandra cluster that will grow upt to 10 nodes,we are > using CQL Java client to access the data. > What is the good practice to put in the code as addContactPoint ie.,how > many servers ? > > 1) I am also thinking to put this way here I am not sure this good or > bad if i conigure 4 serves into one VIP ( virtual IP/virtual DNS) > and specifying that DSN in the code as ContactPoint, so that that VIP is > smart enough to route to different nodes. > > 2) Is that problem if i use multiple Data centers in future ? > > > thanks > Chandra > > > --e89a8f646f8f47ec9604f0439946 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Thank you.

-Chandra


On Wed, Dec 11, 2013 = at 9:06 PM, Aaron Morton <aaron@thelastpickle.com> wro= te:
What is the good pract= ice to put in the code as addContactPoint ie.,how many servers ?
I use the same nodes as the seed list nodes for that DC.= =A0

The idea of the seed list is that it=92s a list of w= ell known nodes, and it=92s easier operationally to say we have one list of= well known nodes that is used by the servers and the clients.=A0

1) I am also thinking to put this way here =A0 I am not sure thi= s good or bad if i conigure =A0 =A0 =A0 4 serves into one VIP ( virtual IP/= virtual DNS)
and specifying that DSN in the code as ContactPoint, =A0so that that V= IP is smart enough to route to different nodes.
Too complicated.=A0

2) Is that problem if i use multiple Data centers in futur= e ?
You only need to give the= client the local seeds, it will discover all the nodes.=A0

Cheers

-----------------
Aaron Morton
New Zealand
@aaronmorton

Co-Founder & Principal Consult= ant
Apache Cassandra Consulting

On 7/12/2013, at 7:12 am, chandra Varahala <hadoopandcassandra@gmai= l.com> wrote:

Greetings,

I have 4 node cassandra cluster that wi= ll grow upt to 10 nodes,we are using =A0CQL =A0Java client to access the = =A0data.
What is the good practice to put in the code as addConta= ctPoint ie.,how many servers ?

1) I am also thinking to put this way here =A0 I am not= sure this good or bad if i conigure =A0 =A0 =A0 4 serves into one VIP ( vi= rtual IP/virtual DNS)
and specifying that DSN in the code as Cont= actPoint, =A0so that that VIP is smart enough to route to different nodes.<= /div>

2) Is that problem if i use multiple Data centers in fu= ture ?


thanks
Chandra


--e89a8f646f8f47ec9604f0439946--