Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.84 KB

step1.md

File metadata and controls

58 lines (43 loc) · 1.84 KB
VNodes ℹ️ For technical support, please contact us via email.
⬅️ Back Next ➡️ Step 1 of 2
Edit cassandra.yaml to use VNodes

In this exercise there is a two-node Cassandra cluster. The root directories for the nodes are: ./node1 and ./node2. You are going to edit the configuration file (cassandra.yaml) for node2. You are going to assign an initial_token value of -9223372036854775808

✅ Open /workspace/ds201-lab08/node1/conf/cassandra.yaml in a nano or the text editor of your choice.

nano /workspace/ds201-lab08/node1/conf/cassandra.yaml
  • Make sure that intial_token is commented out:

  • Set num_tokens to 128


num_tokens: 128

...

# initial_token:


Save and exit the editor.

✅ Make the same changes to /workspace/ds201-lab08/node2/conf/cassandra.yaml

⬅️ Back Next ➡️