Changing the IP address of a node

To change the IP address of a node, simply change the IP of node and then restart DataStax Enterprise (DSE).

Where is the cassandra.yaml file?

The location of the cassandra.yaml file depends on the type of installation:

Installation Type Location

Package installations + Installer-Services installations


Tarball installations + Installer-No Services installations



  1. Stop DSE.

    If running DataStax Enterprise as a service, be sure to drain the node.

  2. Replace the old IP address in the cassandra.yaml with the new one.

  3. If the node is a seed node, update the -seeds parameter in the seed_provider list cassandra.yaml file on all nodes.

  4. If the endpoint_snitch is PropertyFileSnitch, add an entry for the new IP address in the file on all nodes.

    Do NOT remove the entry for the old IP address.

  5. Update the DNS and the local host IP settings.

  6. Start DSE on the local host.

  7. If the using the PropertyFileSnitch, then perform a rolling restart.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000,