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). Thanks a lot for help. Best Regards. 2015-03-16 21:59 GMT+01:00 Ali Akhtar <ali.rac...@gmail.com>: > Yes, absolutely. I thought he was looking for an install.sh type of > script. I did say a fresh server ;) > > On Tue, Mar 17, 2015 at 1:52 AM, Jonathan Haddad <j...@jonhaddad.com> > wrote: > >> Be careful w/ that script if you're looking to upgrade, it nukes your >> data directory. >> >> sudo rm -rf /var/lib/cassandra/data/system/* >> >> On Mon, Mar 16, 2015 at 1:41 PM, Ali Akhtar <ali.rac...@gmail.com> wrote: >> >>> https://gist.github.com/aliakhtar/3649e412787034156cbb >>> >>> Best run from a fresh ubuntu server. >>> >>> On Tue, Mar 17, 2015 at 12:50 AM, jean paul <researche...@gmail.com> >>> wrote: >>> >>>> i find this solution: >>>> >>>> http://www.liquidweb.com/kb/error-failed-to-connect-to-127-0-0-17199-connection-refused-cassandra-solved/ >>>> >>>> but i haven't this file at all !! >>>> /etc/cassandra/default.conf/cassandra-env.sh >>>> >>>> please, i have a dought about how to install cassandra.. i have only >>>> downloaded the paquet et used the command inside the bin directory! that's >>>> it ? >>>> >>>> i can't find a file install.sh for example... >>>> >>>> >>>> >>>> >>>> 2015-03-16 20:11 GMT+01:00 jean paul <researche...@gmail.com>: >>>> >>>>> i can test './cqlsh' command but not with nodetool ! >>>>> >>>>> /Bureau/apache-cassandra-2.0.13/bin# ./cqlsh >>>>> Connected to Test Cluster at localhost:9160. >>>>> [cqlsh 4.1.1 | Cassandra 2.0.13 | CQL spec 3.1.1 | Thrift protocol >>>>> 19.39.0] >>>>> Use HELP for help. >>>>> cqlsh> >>>>> cqlsh> >>>>> cqlsh> exit >>>>> /Bureau/apache-cassandra-2.0.13/bin# . >>>>> >>>>> >>>>> */nodetool infoFailed to connect to '127.0.0.1:7199 >>>>> <http://127.0.0.1:7199>': Connexion refusée* >>>>> >>>>> 2015-03-16 19:50 GMT+01:00 jean paul <researche...@gmail.com>: >>>>> >>>>>> ./nodetool help gossipinfo >>>>>> NAME >>>>>> nodetool gossipinfo - Shows the gossip information for the >>>>>> cluster >>>>>> >>>>>> SYNOPSIS >>>>>> nodetool [(-h <host> | --host <host>)] [(-p <port> | --port >>>>>> <port>)] >>>>>> [(-pw <password> | --password <password>)] >>>>>> [(-pwf <passwordFilePath> | --password-file >>>>>> <passwordFilePath>)] >>>>>> [(-u <username> | --username <username>)] gossipinfo >>>>>> >>>>>> OPTIONS >>>>>> -h <host>, --host <host> >>>>>> Node hostname or ip address >>>>>> >>>>>> -p <port>, --port <port> >>>>>> Remote jmx agent port number >>>>>> >>>>>> -pw <password>, --password <password> >>>>>> Remote jmx agent password >>>>>> >>>>>> -pwf <passwordFilePath>, --password-file <passwordFilePath> >>>>>> Path to the JMX password file >>>>>> >>>>>> -u <username>, --username <username> >>>>>> Remote jmx agent username >>>>>> >>>>> >>>>> >>>> >>> >> >> >> -- >> Jon Haddad >> http://www.rustyrazorblade.com >> twitter: rustyrazorblade >> > >