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