incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: Configuring 2 node Cassandra cluster
Date Tue, 16 Apr 2013 15:11:10 GMT
If you are using a two node cassandra cluster locally use ccm, it builds
all the configuration files for you.

https://github.com/pcmanus/ccm


On Tue, Apr 16, 2013 at 11:06 AM, Alicia Leong <lccalicia@gmail.com> wrote:

>
>
> *Node2(ip2):*
>
> initial_token: 85070591730234615865843651857942052864
> rpc_address: ip*1*       <---- Should be  *ip2*
> listen_address: ip*1*    <---- Should be  *ip2*
> seeds: “ip1"
>
>
> On Tue, Apr 16, 2013 at 5:43 PM, Alain RODRIGUEZ <arodrime@gmail.com>wrote:
>
>> Could we have the logs after starting each node ?
>>
>>
>> 2013/4/16 Sai Kumar Ganji <saikumarganji.i@gmail.com>
>>
>>> Hello Guys,
>>>
>>> I am trying to setup a 2 node Cassandra clustesr.
>>>
>>> My parameters are:
>>>
>>> *Node1(ip1):*
>>>
>>> initial_token: 0
>>> rpc_address: ip1
>>> listen_address: ip1
>>> seeds: “ip1"
>>>
>>> *Node2(ip2):*
>>>
>>> initial_token: 85070591730234615865843651857942052864
>>> rpc_address: ip1
>>> listen_address: ip1
>>> seeds: “ip1"
>>>
>>> and in Node2 *auto_bootstrap: true;*
>>> *
>>> *
>>> Then when i try to run:* **/usr/lib/apache-cassandra/bin/nodetool -host
>>> localhost ring*
>>> *
>>> *
>>> I get this error:
>>>
>>> *Failed to connect to 'localhost:7199': Connection refused ; * on both
>>> nodes.
>>>
>>> Can you help here please.
>>>
>>> Also when I create a key space and a column family in Node1, how can I
>>> access this data from Node2 ?
>>>
>>>
>>>
>>> --
>>> Thanks & Regards
>>>
>>> Venkata Sai Ganji
>>> Graduate Student
>>> Dept of Computer Science
>>> Montana State University - Bzn
>>>
>>
>>
>

Mime
View raw message