i have to configure cassandra.yaml ? that's it ? echo "INFORMATION:" echo "Make changes to /etc/security/limits.d/cassandra.conf and /etc/security/limits.conf manually as per http://www.datastax.com/documentation/cassandra/2.0/cassandra/install/installRecommendSettings.html ."
echo "Remember to *change listen_address , broadcast_address, seeds, snitch, cluster name, rpc_address in /etc/cassandra/cassandra.yaml."* echo "rpc_address should be 0.0.0.0 to allow clients to connect." #echo "snitch: Ec2MultiRegion, seeds: public ip, listen_address: private ip, broadcast_address: public ip. Ports would need to be opened. Secure cluster first." echo "snitch: Ec2Snitch, seeds: private, listen_address: private ip, broadcast_address: private ip" echo "To change data storage directories, change commitlog_directory and data_file_directories" echo "For OpsCenter, see comments in script" 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 ? 2015-03-17 12:21 GMT+01:00 Ali Akhtar <ali.rac...@gmail.com>: > 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 <researche...@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. >> > >