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 E7A6710209 for ; Mon, 2 Dec 2013 13:50:16 +0000 (UTC) Received: (qmail 87682 invoked by uid 500); 2 Dec 2013 13:49:12 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 87498 invoked by uid 500); 2 Dec 2013 13:48:58 -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 87380 invoked by uid 99); 2 Dec 2013 13:48:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 13:48:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of kais@neteck-fr.com) Received: from [209.85.219.47] (HELO mail-oa0-f47.google.com) (209.85.219.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 13:48:50 +0000 Received: by mail-oa0-f47.google.com with SMTP id k1so13077841oag.20 for ; Mon, 02 Dec 2013 05:48:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=neNRLw1VTyr1FEnnwIDiX7AO4h+kpRal4UvD2q0DjVE=; b=jAKj4XkMWLMujIY7rewy4NLt0kxg/j0hLUQvxwBJis59FYXbCTvHxWFzkFYFWL2e/p yfTma2f32uPheu4LgjQ0gjHQDV8zfPWM1QCvuX9t6oOppc0CmHwWlKWWr823jcdymYsz 55X9yfjLwP2QlRM5Zpt/IHZcZH9B6YW+dWHiMaHOy38S3RvCT/BRL+vP2AUk5n4ZfAHX eNCRD6fsf+rChwqkB+OtadVyTSUP0Va8ZYgCMPrRvGRnPeBG6AcbTTLDK36jlMbsEGrb u0PA7feV6SlOajvUK8HuQgIj1vIEZpazOd2Tpq0iphNb2jdvJuOb7ZC3Qi2deP1bTxrx vS0A== X-Gm-Message-State: ALoCoQlDNVwUKIKrfsLU5y+wKyof6kB011m3BECAtmf4evU1sbL5nFHGMSOZmoC5igilsTiMPWVn MIME-Version: 1.0 X-Received: by 10.182.135.165 with SMTP id pt5mr789751obb.66.1385992109681; Mon, 02 Dec 2013 05:48:29 -0800 (PST) Received: by 10.182.141.68 with HTTP; Mon, 2 Dec 2013 05:48:29 -0800 (PST) In-Reply-To: <29f56a854ce342099b96c530ec224cb2@BLUPR04MB102.namprd04.prod.outlook.com> References: <29f56a854ce342099b96c530ec224cb2@BLUPR04MB102.namprd04.prod.outlook.com> Date: Mon, 2 Dec 2013 14:48:29 +0100 Message-ID: Subject: Re: Configuration of multiple nodes in a single machine From: Kais Ahmed To: user@cassandra.apache.org Content-Type: multipart/related; boundary=089e0112cb9e5c27e504ec8d6f3c X-Virus-Checked: Checked by ClamAV on apache.org --089e0112cb9e5c27e504ec8d6f3c Content-Type: multipart/alternative; boundary=089e0112cb9e5c27e104ec8d6f3b --089e0112cb9e5c27e104ec8d6f3b Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable You can try https://github.com/pcmanus/ccm 2013/12/2 Santosh Shet > Hi, > > > > I have requirement to setup multiple nodes to the existing single node > Cassandra cluster. I am new to Cassandra and I don=92t have idea whether = do I > need to setup multiple nodes in a single machine by copying Cassandra > configuration or do I require separate physical machines to create multip= le > nodes. > > > > But I have tried doing it in a single machine by following below steps. > > 1. Download apache Cassandra > > 2. Unzip Cassandra file > > 3. Go inside /Cassandra folder > > 4. Make 2 copies of /conf folder named as /conf2,/conf3(in case of > 3 nodes) > > 5. Go inside conf folder and edit cassandra.yaml > > =B7 Name of the cluster > > =B7 Specify seed node > > =B7 Change listening address > > =B7 Change rpc_address > > =B7 Change locations of data_file, commitlog and saved_caches > > 6. Go to Cassandra-env.sh under /conf and change JMX_PORT > > 7. Go to log4j-server.properties under /conf folder and modify > property log4j.appender.R.File address if needed. > > 8. Make 2 copies of Cassandra.in.sh under /bin folder and edit > CASSANDRA_HOME. > > 9. Make copies of Cassandra under /bin folder. Specify which config > folder it has to use. > > 10. Create aliases to localhost using below command > > *Sudo ifconfig lo0 alias 127.0.0.2 up* > > > > I have followed all the above steps but when I am trying to do step 10, i= t > gives following error > > Please could you provide some inputs. > > > > *Santosh Shet* > > Software Engineer | VistaOne Solutions > > Direct India : * +91 80 30273829 <%2B91%2080%2030273829>* | Mobile India > : *+91 8105720582 <%2B91%208105720582>* > > Skype : santushet > > > --089e0112cb9e5c27e104ec8d6f3b Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable

2013/12/2 Santosh Shet &l= t;santosh.shet@vista-one-solutions.com>

Hi,

=A0

I have requirement to setup multiple nodes to the ex= isting single node Cassandra cluster. I am new to Cassandra and I don=92t h= ave idea whether do I need to setup multiple nodes in a single machine by c= opying Cassandra configuration or do I require separate physical machines to create multiple nodes. <= /u>

=A0

But I have tried doing it in a single machine by fol= lowing below steps.

1.= =A0=A0=A0=A0=A0=A0 Download apache Cassandra

2.= =A0=A0=A0=A0=A0=A0 Unzip Cassandra file

3.= =A0=A0=A0=A0=A0=A0 Go inside /Cassandra folder

4.= =A0=A0=A0=A0=A0=A0 Make 2 copies of /conf folder named as /conf2,/conf3(i= n case of 3 nodes)

5.= =A0=A0=A0=A0=A0=A0 Go inside conf folder and edit cassandra.yaml

=B7=A0=A0=A0=A0=A0=A0=A0=A0 Name of the cluster

=B7=A0=A0=A0=A0=A0=A0=A0=A0 Specify seed node

=B7=A0=A0=A0=A0=A0=A0=A0=A0 Change listening address

=B7=A0=A0=A0=A0=A0=A0=A0=A0 Change rpc_address

=B7=A0=A0=A0=A0=A0=A0=A0=A0 Change locations of data_file, commitlog and sa= ved_caches

6.= =A0=A0=A0=A0=A0=A0 Go to Cassandra-env.sh under /conf and change JMX_PORT=

7.= =A0=A0=A0=A0=A0=A0 Go to log4j-server.properties under /conf folder and m= odify property log4j.appender.R.File address if needed.

8.= =A0=A0=A0=A0=A0=A0 Make 2 copies of Cassandra.in.sh under /bin folder and edit CASSANDRA_HO= ME.

9.= =A0=A0=A0=A0=A0=A0 Make copies of Cassandra under /bin folder. Specify wh= ich config folder it has to use.

10.= =A0=A0 Create aliases to localhost using below command=

Sudo ifconfig lo0 alias 127.0.0.2 up

=A0

I have followed all the above steps but when I am tr= ying to do step 10, it gives following error

Please could you provide some inputs.<= /p>

=A0

Santosh Shet<= /u>

Softw= are Engineer | VistaOne Solutions

Direc= t India : +91 80 30273829 | Mobile India : +91 8105720582

Skype= : santushet

=A0


--089e0112cb9e5c27e104ec8d6f3b-- --089e0112cb9e5c27e504ec8d6f3c Content-Type: image/png; name="image001.png" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: 8b322b752c20ed7b_0.1 iVBORw0KGgoAAAANSUhEUgAAAfMAAAA5CAIAAACtaVV6AAAAAXNSR0IArs4c6QAADjdJREFUeF7t nbtu4zoQhnXOYxhGgG3zAIaxTapU7lykSZHa1aZLkTpFumzlOkWaFO5cbbVNEPgB0gYIBL/GOcOL SEqakUhZvuZXsdjI1HD4cUiNbj//ycrb+ez5Lnu8mX8UuycPf25HQZnV0+X9Uv9NRX9PB8VP7fup pDfmi2s7w1dtdfb8x/xPF1yvVtloZGpYL35Zp4JqbQFtq+pnlqndn4WP6o/MNsXYorq897pwrVne /suZbWvdTtAoqnO1Go1G68XlzZyc9lUEza06WhSudIT7k/VT5pPMwVRU63e1c/LwfPZyk909fN1Y OJKT2A8CIHDQBGiEP8/Od+wiVfrHbA+THVeN6tzMXu93mtln5+ofUAIBEDhuAsUku/vp/bi5HbP3 lOarDV1+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