CassandraSetup 841 Bytes
Newer Older
TongZuu committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

### 	    config conf/cassandra.yaml  for connect cql 
	set	-	start_rpc : true
    set	-	rpc_address : your ip address
    
### 	    config conf/cassandra.yaml for cluster 
	set	-	cluster_name : Zeeme Cluster
	set	-	seeds : 10.1.1.80,10.1.1.81,10.1.1.82,10.1.1.83,10.1.1.84,10.1.1.92,10.1.1.93
				192.168.30.31,192.168.30.32,192.168.30.33,192.168.30.34,192.168.30.35
	set	-	listen_address : your ip address
	set	-	endpoint_snitch : GossipingPropertyFileSnitch
	add	-	auto_bootstrap: false

##3		remove temp data for new init cluster 
	remove		-	rm -rf data/data/system/*
	
###		config firewall		ปิดไปก่อน ค่อยมาจัดการทีหลัง
	set	-	systemctl stop firewalld
	set	-	systemctl disable firewalld
	
###		config /etc/hosts		for check access hostname
    set	-	your hostname into line 127.0.0.1