cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ali Akhtar <ali.rac...@gmail.com>
Subject Re: nodetool help
Date Tue, 17 Mar 2015 11:21:39 GMT
The script that you ran has a lot of comments with links that describe the
installation process. I would suggest reading those links.

On Tue, Mar 17, 2015 at 3:42 PM, jean paul <researcherfr@gmail.com> wrote:

> Hello All,
>
> I launched the script (./cassandra-install.sh) without making any changes
> and it works.
> Then:
> *First Terminal:*
> $cassandra
> .......................
>  INFO 10:52:26,655 Node /127.0.0.1 state jump to normal
>  INFO 10:52:26,791 Starting listening for CQL clients on
> localhost/127.0.0.1:9042...
>  INFO 10:52:26,829 Using TFramedTransport with a max frame size of
> 15728640 bytes.
>  INFO 10:52:26,830 Binding thrift service to localhost/127.0.0.1:9160
>  INFO 10:52:26,836 Using synchronous/threadpool thrift server on localhost
> : 9160
>  INFO 10:52:26,836 Listening for thrift clients...
>
> *Second Terminal:*
>
> $nodetool join
> This node has already joined the ring.
>
> $nodetool status
> Datacenter: datacenter1
> =======================
> Status=Up/Down
> |/ State=Normal/Leaving/Joining/Moving
> --  Address    Load       Tokens  Owns (effective)  Host
> ID                               Rack
> *UN  127.0.0.1  83.05 KB   256     100.0%
> 460ddcd9-1ee8-48b8-a618-c076056aad07  rack1*
>
> Please, i have two questions:
> 1) i have 10 machines in my cluster, how can i create a ring on these 10
> machines, i have to launch cassandra on each machine ?
> 2) what command can i use to see all nodes on the ring and their status
> (alive or not).
>
> i would like to have details like in this list: (
>
> http://stackoverflow.com/questions/8589938/how-to-remove-dead-node-out-of-the-cassandra-cluster
> )
>
> nodetool status
>
> DN  *192.168.56.201*  ?          256     13.1%  4fa4d101-d8d2-4de6-9ad7-a487e165c4ac
 r1
> DN  192.168.56.202  ?          256     12.6%  e11d219a-0b65-461e-babc-6485343568f8  r1
> UN  192.168.2.91    156.04 KB  256     12.4%  e1a33ed4-d613-47a6-8b3b-325650a2bbd4  RAC1
> UN  192.168.2.92    156.22 KB  256     13.6%  3a4a086c-36a6-4d69-8b61-864ff37d03c9  RAC1
> UN  192.168.2.93    149.6 KB   256     11.3%  20decc72-8d0a-4c3b-8804-cc8bc98fa9e8  RAC1
>
>
>
> Thanks a lot for help.
> Best Regards.
>

Mime
View raw message