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 8C8B510EA6 for ; Tue, 3 Dec 2013 02:25:16 +0000 (UTC) Received: (qmail 73524 invoked by uid 500); 3 Dec 2013 02:25:13 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 73494 invoked by uid 500); 3 Dec 2013 02:25:13 -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 73486 invoked by uid 99); 3 Dec 2013 02:25:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Dec 2013 02:25:13 +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 (nike.apache.org: domain of bnsk1990rulz@gmail.com designates 209.85.219.44 as permitted sender) Received: from [209.85.219.44] (HELO mail-oa0-f44.google.com) (209.85.219.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Dec 2013 02:25:07 +0000 Received: by mail-oa0-f44.google.com with SMTP id m1so14342718oag.3 for ; Mon, 02 Dec 2013 18:24:46 -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=V8Qct4EVA0XvxhRALu8wBOUQifFJiyKn5LdhGGDEIi0=; b=xv+xoiqyXSCofGhzDF+KtqXPsQGA3jG1hInaKArq9EhdGom8lou3HQoO9j6RWe3bbd Ye45FggBsJTwm6wShTJFe7QxuWoxWkpFr61/9QadOy/aK6ynNRCW44q+eYaikF81JAdY Mg7YpQz/dPxSDNYev1P+21yfd2Dg7J1tlEnKN7LDEwkq0c4FEWI9PgVkR4z1cgt9zXiB zt0vSp8XwJjlya+FHWKQefl/HqhiVKCPBEAcSf4U1mbMI1hIJKP1CDi4PreQfLijDNYx tjljPd1dYNk8GCf0BmJOt/doKsoQF48oeSKDA3jXR3POMWFLNv6oXK5MOZyaGrRk4SgC Z3SA== MIME-Version: 1.0 X-Received: by 10.182.166.40 with SMTP id zd8mr56770700obb.25.1386037486534; Mon, 02 Dec 2013 18:24:46 -0800 (PST) Received: by 10.76.171.42 with HTTP; Mon, 2 Dec 2013 18:24:46 -0800 (PST) Received: by 10.76.171.42 with HTTP; Mon, 2 Dec 2013 18:24:46 -0800 (PST) In-Reply-To: References: <20131112051709.268CA816018@nike.apache.org> <009301cedf84$a2c3a150$e84ae3f0$@struq.com> <20131112091946.461873EC@athena.apache.org> Date: Mon, 2 Dec 2013 16:54:46 -0930 Message-ID: Subject: =?GB2312?Q?Re=3A_=B4=F0=B8=B4=3A_How_to_configure_linux_service_for_Cassa?= =?GB2312?Q?ndra=3F?= From: Krishna Chaitanya To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=e89a8ff1ce0207c63a04ec98006a X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1ce0207c63a04ec98006a Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hey why dont you try Datastax Opscenter? Its a cool Gui tool to start/stop/manage your cluster(even remotely) . It also provides administrative tools fr checking on the performance with vital statistics. Definitely worth it. On Dec 3, 2013 3:14 AM, "Kumar Ranjan" wrote: > Hey Folks, > > I have been using ccm for some time and it's pretty awesome tool to test > out admin stuff. Now, I really want to test modeling data by trying to > access ccm running cassandra using Thrift based pycassaShell client from > remote hosts (not locally). My setup is like this: > > Lets say, private IP of this machine is: 10.11.12.13 (Just an example) > > lo Link encap:Local Loopback > > inet addr:127.0.0.1 Mask:255.0.0.0 > > inet6 addr: ::1/128 Scope:Host > > UP LOOPBACK RUNNING MTU:16436 Metric:1 > > RX packets:67392708 errors:0 dropped:0 overruns:0 frame:0 > > TX packets:67392708 errors:0 dropped:0 overruns:0 carrier:0 > > collisions:0 txqueuelen:0 > > RX bytes:7398829042 (6.8 GiB) TX bytes:7398829042 (6.8 GiB) > > > lo:1 Link encap:Local Loopback > > inet addr:127.0.0.2 Mask:255.255.255.0 > > UP LOOPBACK RUNNING MTU:16436 Metric:1 > > > lo:2 Link encap:Local Loopback > > inet addr:127.0.0.3 Mask:255.0.0.0 > > UP LOOPBACK RUNNING MTU:16436 Metric:1 > > > lo:3 Link encap:Local Loopback > > inet addr:127.0.0.4 Mask:255.0.0.0 > > UP LOOPBACK RUNNING MTU:16436 Metric:1 > > > and 127.0.0.1 (node1), 127.0.0.2 (node2), 127.0.0.3 (node3), 127.0.0.4 > (node4) > > > $ ccm status > > node1: UP > > node3: UP > > node2: UP > > node4: UP > > > How to connect to any of the instance from non-local hosts? When I do: > > pycassaShell --host 10.11.12.13 --port 9160, it throws an exception, > > > thrift.transport.TTransport.TTransportException: Could not connect to > 10.11.12.13:9160 > > > Is there a way to make it work? > > > > On Tue, Nov 12, 2013 at 4:19 AM, Boole.Z.Guo (mis.cnsh04.Newegg) 41442 < > Boole.Z.Guo@newegg.com> wrote: > >> Thanks very much. I will try. >> >> >> >> The goal of ccm and ccmlib is to make is easy to create, manage and >> destroy a >> >> small cluster on a local box. It is meant for testing of a Cassandra >> cluster. >> >> Best Regards, >> >> *Boole Guo* >> >> *Software Engineer, NESC-SH.MIS* >> >> *+86-021-51530666 <%2B86-021-51530666>*41442* >> >> *Floor 19, KaiKai Plaza, 888, Wanhangdu Rd, Shanghai (200042)* >> >> >> >> *=B7=A2=BC=FE=C8=CB:* Christopher Wirt [mailto:chris.wirt@struq.com] >> *=B7=A2=CB=CD=CA=B1=BC=E4:* 2013=C4=EA11=D4=C212=C8=D5 16:53 >> *=CA=D5=BC=FE=C8=CB:* user@cassandra.apache.org >> *=D6=F7=CC=E2:* RE: How to configure linux service for Cassandra? >> >> >> >> Starting multiple Cassandra nodes on the same machine involves setting >> loop back aliases and some configuration fiddling. >> >> >> >> Lucky for you Sylvain Lebresne made this handy tool in python which does >> the job for you. >> >> https://github.com/pcmanus/ccm >> >> >> >> to run as a service you need a script like this >> http://www.bajb.net/2012/01/cassandra-service-script/ >> >> I haven=A1=AFt tried this, I just run Cassandra in the foreground of a s= creen >> session. >> >> >> >> >> >> *From:* Boole.Z.Guo (mis.cnsh04.Newegg) 41442 [ >> mailto:Boole.Z.Guo@newegg.com ] >> *Sent:* 12 November 2013 05:17 >> *To:* user@cassandra.apache.org >> *Subject:* How to configure linux service for Cassandra? >> >> >> >> How to configure linux service for Cassandra or start multiple Cassandra >> nodes from a single node? >> >> >> >> Thanks very muh! >> >> >> >> Best Regards, >> >> *Boole Guo* >> > > --e89a8ff1ce0207c63a04ec98006a Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable

Hey why dont you try Datastax Opscenter?  Its a cool Gui tool to st= art/stop/manage your cluster(even remotely) . It also provides administrati= ve tools fr checking on the performance with vital statistics. Definitely w= orth it.

On Dec 3, 2013 3:14 AM, "Kumar Ranjan"= <winnerdood@gmail.com> w= rote:
Hey Folks,

I have been using ccm for so= me time and it's pretty awesome tool to test out admin stuff. Now, I re= ally want to test modeling data by trying to access ccm running cassandra u= sing Thrift based pycassaShell client from remote hosts (not locally). My s= etup is like this:

Lets say, private IP of this machine is: 10.11.12.13 (J= ust an example)

lo        Link encap:Local Loopb= ack  

    &nbs= p;     inet addr:127.0.0.1  Mask:255.0.0.0

    &nbs= p;     inet6 addr: ::1/128 Scope:Host

    &nbs= p;     UP LOOPBACK RUNNING  MTU:16436  Metric:1

    &nbs= p;     RX packets:67392708 errors:0 dropped:0 overruns:0 frame:0<= /p>

    &nbs= p;     TX packets:67392708 errors:0 dropped:0 overruns:0 carrier:= 0

    &nbs= p;     collisions:0 txqueuelen:0 

    &nbs= p;     RX bytes:7398829042 (6.8 GiB)  TX bytes:7398829042 (6= .8 GiB)

lo:1    =   Link encap:Local Loopback  

    &nbs= p;     inet addr:127.0.0.2  Mask:255.255.255.0

    &nbs= p;     UP LOOPBACK RUNNING  MTU:16436  Metric:1

lo:2    =   Link encap:Local Loopback  

    &nbs= p;     inet addr:127.0.0.3  Mask:255.0.0.0

    &nbs= p;     UP LOOPBACK RUNNING  MTU:16436  Metric:1

lo:3    =   Link encap:Local Loopback  

    &nbs= p;     inet addr:127.0.0.4  Mask:255.0.0.0

    &nbs= p;     UP LOOPBACK RUNNING  MTU:16436  Metric:1


and 127.0.0.1 (node1), 127.0.0.2 (node2), 127.0.0.3 (node3), 127.0.0.4 (nod= e4)


$ ccm status

node1: UP  

node3: UP

nod= e2: UP

node4: UP

<= div>


=

How to connect= to any of the instance from non-local hosts? When I do:

pycassaShell --hos= t 10.11.12.13 --port= 9160, it throws an exception,


thrift.transport.TTranspor= t.TTransportException: Could not connect to 10.11.12.13:9160


Is there a way to make it = work?




On Tue, Nov 12, 2013 at 4:19 AM, Boole.Z.Guo (mis.cnsh04.Newegg) 41442 <Boole.Z.Guo@newegg.com> wrote:

Thanks = very much. I will try.

=  

The goa= l of ccm and ccmlib is to make is easy to create, manage and destroy a

small c= luster on a local box. It is meant for testing of a Cassandra cluster.

Best Regards,

B= oole Guo

S= oftware Engineer, NESC-SH.MIS

+86-021-51530666*41442

Floor 19, KaiKai Plaza, 888, Wanhangdu Rd, Shanghai (200042)=

=  

=B7=A2=BC=FE=C8=CB: Christopher Wirt [mailto:chris.wirt@struq.com]
=B7=A2=CB=CD= =CA=B1=BC=E4: 2013=C4=EA11=D4=C2= 12=C8=D5 16:53
=CA=D5=BC=FE=C8=CB: user= @cassandra.apache.org
=D6=F7=CC=E2: RE: How to configure linux service for Cassandra?

 

Starting multiple Cassandra nodes on the same machine involves se= tting loop back aliases and some configuration fiddling.

 

Lucky for you Sylvain Lebresne made this handy tool in python whi= ch does the job for you.

http= s://github.com/pcmanus/ccm

 

to run as a service you need a script like this http://www.bajb.net/2012/01/cassandra-service-script/

I haven’t tried this, I just run Cassandra in the foregroun= d of a screen session.

 

 

From: Boole.Z.Guo = (mis.cnsh04.Newegg) 41442 [mailto:= Boole.Z.Guo@newegg.com]
Sent: 12 November 2013 05:17
To: u= ser@cassandra.apache.org
Subject: How to configure linux service for Cassandra?=

 

How to configure linux service = for Cassandra or start multiple Cassandra nodes from a single node?<= u>

 

Thanks very muh!<= /span>

 

Best Regards,

B= oole Guo


--e89a8ff1ce0207c63a04ec98006a--