Hi,

On Tue, Dec 6, 2022 at 12:41 PM Lapo Luchini <l...@lapo.it> wrote:

> I'm trying to change IP address of an existing live node (possibly
> without deleting data and streaming terabytes all over again) following
> these steps:

https://stackoverflow.com/a/57455035/166524
> 1. echo 'auto_bootstrap: false' >> cassandra.yaml
> 2. add "-Dcassandra.replace_address=oldAddress" in cassandra-env.sh
> 3. restart node
>

As I know, you need to change the IP address like this only, when the node
data vanished and need to tell the cluster the replaced IP of the vanished
node.

Or should I delete all the DB on disk and bootstrap from scratch?
>

No! Just start it and the other nodes in the cluster will acknowledge the
new IP, they recognize the node by id, stored in the data folder of the
node.

-- 
Bye,
Auth Gábor (https://iotguru.cloud)

Reply via email to