This post gathers the steps I followed in setting up an Apache Cassandra cluster in multi-node. I have referred Cassandra wiki and Datastax documentation in setting up my cluster. The following procedure is expressed in details, sharing my experience in setting up the cluster.
1. Setting up first node
2. Adding other nodes
3. Monitoring the cluster - nodetool, jConsole, Cassandra GUI
I used Cassandra 1.1.0 and Cassandra GUI - cassandra-gui-0.8.0-beta1 version(As older release had problems in showing data) in Ubuntu OS.
Setting up first node
Change listen_address: localhost --> listen_address:
rpc_address: localhost --> rpc_address:
- seeds: "127.0.0.1" --> - seeds: "node IP address"
1. Setting up first node
2. Adding other nodes
3. Monitoring the cluster - nodetool, jConsole, Cassandra GUI
I used Cassandra 1.1.0 and Cassandra GUI - cassandra-gui-0.8.0-beta1 version(As older release had problems in showing data) in Ubuntu OS.
Setting up first node
CODE:
Open cassandra.yaml which is in 'apache-cassandra-1.1.0/conf'.Change listen_address: localhost --> listen_address:
rpc_address: localhost --> rpc_address:
- seeds: "127.0.0.1" --> - seeds: "node IP address"
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/301743/viewspace-739813/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/301743/viewspace-739813/