在多節點的叢集上執行Cassandra

jieforest發表於2012-08-04
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

CODE:

Open cassandra.yaml which is in 'apache-cassandra-1.1.0/conf'.
Change listen_address: localhost --&gt  listen_address:
rpc_address: localhost --&gt  rpc_address:
- seeds: "127.0.0.1" --&gt - seeds: "node IP address"

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/301743/viewspace-739813/,如需轉載,請註明出處,否則將追究法律責任。

相關文章