From user-return-37786-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon Dec 2 12:14:19 2013 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 75CB010F6D for ; Mon, 2 Dec 2013 12:14:19 +0000 (UTC) Received: (qmail 23639 invoked by uid 500); 2 Dec 2013 12:13:59 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 23491 invoked by uid 500); 2 Dec 2013 12:13:55 -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 23394 invoked by uid 99); 2 Dec 2013 12:13:51 -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 12:13:51 +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 santosh.shet@vista-one-solutions.com designates 207.46.163.209 as permitted sender) Received: from [207.46.163.209] (HELO na01-bl2-obe.outbound.protection.outlook.com) (207.46.163.209) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 12:13:46 +0000 Received: from BLUPR04MB102.namprd04.prod.outlook.com (10.255.213.148) by BLUPR04MB103.namprd04.prod.outlook.com (10.255.213.149) with Microsoft SMTP Server (TLS) id 15.0.820.5; Mon, 2 Dec 2013 12:13:08 +0000 Received: from BLUPR04MB102.namprd04.prod.outlook.com ([169.254.16.113]) by BLUPR04MB102.namprd04.prod.outlook.com ([169.254.16.113]) with mapi id 15.00.0820.005; Mon, 2 Dec 2013 12:13:08 +0000 From: Santosh Shet To: "'user@cassandra.apache.org'" Subject: Configuration of multiple nodes in a single machine Thread-Topic: Configuration of multiple nodes in a single machine Thread-Index: Ac7vV7OG0ykYI4JtTHiLgwEeJhjiSA== Date: Mon, 2 Dec 2013 12:13:07 +0000 Message-ID: <29f56a854ce342099b96c530ec224cb2@BLUPR04MB102.namprd04.prod.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [202.45.7.168] x-forefront-prvs: 0048BCF4DA x-forefront-antispam-report: SFV:NSPM;SFS:(199002)(57704003)(189002)(74662001)(16236675002)(2656002)(19609705001)(56776001)(15975445006)(31966008)(76576001)(15202345003)(17760045001)(59766001)(69226001)(74876001)(18206015023)(19300405004)(74316001)(50986001)(47736001)(81342001)(19580405001)(74366001)(83322001)(74706001)(65816001)(81816001)(76176001)(54316002)(77982001)(81686001)(85306002)(77096001)(87266001)(47446002)(4396001)(80976001)(79102001)(87936001)(66066001)(53806001)(47976001)(49866001)(54356001)(76786001)(83072001)(81542001)(46102001)(63696002)(19580395003)(33646001)(51856001)(76796001)(90146001)(56816005)(24736002)(491001);DIR:OUT;SFP:;SCL:1;SRVR:BLUPR04MB103;H:BLUPR04MB102.namprd04.prod.outlook.com;CLIP:202.45.7.168;FPR:;RD:InfoNoRecords;A:1;MX:1;LANG:en; Content-Type: multipart/related; boundary="_004_29f56a854ce342099b96c530ec224cb2BLUPR04MB102namprd04pro_"; type="multipart/alternative" MIME-Version: 1.0 X-OriginatorOrg: vista-one-solutions.com X-Virus-Checked: Checked by ClamAV on apache.org --_004_29f56a854ce342099b96c530ec224cb2BLUPR04MB102namprd04pro_ Content-Type: multipart/alternative; boundary="_000_29f56a854ce342099b96c530ec224cb2BLUPR04MB102namprd04pro_" --_000_29f56a854ce342099b96c530ec224cb2BLUPR04MB102namprd04pro_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I have requirement to setup multiple nodes to the existing single node Cass= andra cluster. I am new to Cassandra and I don't have idea whether do I nee= d to setup multiple nodes in a single machine by copying Cassandra configur= ation or do I require separate physical machines to create multiple 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 * Name of the cluster * Specify seed node * Change listening address * Change rpc_address * 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 proper= ty log4j.appender.R.File address if needed. 8. Make 2 copies of Cassandra.in.sh under /bin folder and edit CASSAN= DRA_HOME. 9. Make copies of Cassandra under /bin folder. Specify which config f= older 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, it = gives following error [cid:image001.png@01CEEF85.E7325F50] Please could you provide some inputs. Santosh Shet Software Engineer | VistaOne Solutions Direct India : +91 80 30273829 | Mobile India : +91 8105720582 Skype : santushet --_000_29f56a854ce342099b96c530ec224cb2BLUPR04MB102namprd04pro_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I have requirement to setup multiple nodes to the ex= isting single node Cassandra cluster. I am new to Cassandra and I don’= ;t 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 multiple nodes. =

 

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

1.     &= nbsp; Download apache Cassandra

2.     &= nbsp; Unzip Cassandra file

3.     &= nbsp; Go inside /Cassandra folder

4.     &= nbsp; Make 2 copies of /conf folder named as /conf2,/conf= 3(in case of 3 nodes)

5.     &= nbsp; Go inside conf folder and edit cassandra.yaml<= /o:p>

·         Name of the cluster

·         Specify seed node

·         Change listening address

·         Change rpc_address

·         Change locations of data_file, commitlog and= saved_caches

6.     &= nbsp; Go to Cassandra-env.sh under /conf and change JMX_P= ORT

7.     &= nbsp; Go to log4j-server.properties under /conf folder an= d modify property log4j.appender.R.File address if needed.

8.     &= nbsp; Make 2 copies of Cassandra.in.sh under /bin folder = and edit CASSANDRA_HOME.

9.     &= nbsp; 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<= /o:p>

 

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.

 

Santosh Shet

Softw= are Engineer | VistaOne Solutions

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

Skype= : santushet

 

--_000_29f56a854ce342099b96c530ec224cb2BLUPR04MB102namprd04pro_-- --_004_29f56a854ce342099b96c530ec224cb2BLUPR04MB102namprd04pro_ Content-Type: image/png; name="image001.png" Content-Description: image001.png Content-Disposition: inline; filename="image001.png"; size=3709; creation-date="Mon, 02 Dec 2013 12:13:05 GMT"; modification-date="Mon, 02 Dec 2013 12:13:05 GMT" Content-ID: Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAAfMAAAA5CAIAAACtaVV6AAAAAXNSR0IArs4c6QAADjdJREFUeF7t nbtu4zoQhnXOYxhGgG3zAIaxTapU7lykSZHa1aZLkTpFumzlOkWaFO5cbbVNEPgB0gYIBL/GOcOL SEqakUhZvuZXsdjI1HD4cUiNbj//ycrb+ez5Lnu8mX8UuycPf25HQZnV0+X9Uv9NRX9PB8VP7fup pDfmi2s7w1dtdfb8x/xPF1yvVtloZGpYL35Zp4JqbQFtq+pnlqndn4WP6o/MNsXYorq897pwrVne /suZbWvdTtAoqnO1Go1G68XlzZyc9lUEza06WhSudIT7k/VT5pPMwVRU63e1c/LwfPZyk909fN1Y OJKT2A8CIHDQBGiEP8/Od+wiVfrHbA+THVeN6tzMXu93mtln5+ofUAIBEDhuAsUku/vp/bi5HbP3 lOarDV1+zJ0I30EABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABA6Y gH07Q72fccBefj/X6E0peg9Vv/zYS+P38k5tL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