3.4. Cluster

简介:

3.4.1. Running a cluster

			
<Seed>127.0.0.1</Seed>
			
			

改为

			
<Seed>172.16.0.1</Seed>
			
			
			

			
			

			
  <ListenAddress>localhost</ListenAddress>
改为:
  <ListenAddress>172.16.0.1</ListenAddress>
  			
    		
			
    <ThriftAddress>localhost</ThriftAddress>
改为:
    <ThriftAddress>0.0.0.0</ThriftAddress>
    		
    		
$ bin/cassandra

3.4.2. Running a single node

			
<Seed>127.0.0.1</Seed>
			
			

改为

			
<Seed>172.16.0.2</Seed>
			
			
			
  <Seeds>
      <Seed>172.16.0.1</Seed>
      <Seed>172.16.0.2</Seed>
      <Seed>172.16.0.3</Seed>
      <Seed>172.16.0.4</Seed>
      <Seed>172.16.0.5</Seed>
  </Seeds>
			
			

			
  <ListenAddress>localhost</ListenAddress>
改为:
  <ListenAddress>172.16.0.2</ListenAddress>
  			
    		
			
    <ThriftAddress>localhost</ThriftAddress>
改为:
    <ThriftAddress>0.0.0.0</ThriftAddress>
    		
    		
$ bin/cassandra

3.4.3. nodetool

nodeprobe -host 172.16.0.1 ring
			





原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
NoSQL Java Redis
Redis Cluster:Too many Cluster redirections异常
  转载请注明出处哈:http://carlosfu.iteye.com/blog/2240426   一、现象:     我们的redis私有云,对外提供了redis-standalone, redis-sentinel, redis-cluster三种类型的redis服务。
4135 0
|
4月前
|
存储 NoSQL Redis
redis集群cluster
redis集群cluster
32 0
|
11月前
|
前端开发
网络设置错误造成cluster不能启动(oifcfg setif cluster_interconnect )
设置rac节点之间的互联网络错误,造成集群无法启动,应该设置成
|
存储 索引
Cluster 与 Replication
Cluster 与 Replication
76 1
|
大数据 开发者
Cluster|学习笔记
快速学习 Cluster。
83 0
|
开发者
Cluster | 学习笔记
快速学习 Cluster
64 0
|
监控 MySQL 关系型数据库
ProxySQL Cluster 概述
1:前言 在ProxySQL 1.4.2 之前,ProxySQL 单点的解决方法有配合keepalived 使用来实现ProxySQL的主备,但是需要在主备上配置两份完全相同的路由或规则,如果再没有自动运维平台,同时维护两份配置的也是相当麻烦的。
7153 0
|
NoSQL Redis