Tuning configuration options setting up a 3-node cluster

As discussed before, the first step would be to set up multiple loopback addresses. This step is not required on Linux machines as all the loopback IP addresses will respond by default. On a Mac, you can use the Terminal to create loopback addresses as follows:

$ ifconfig lo0 alias 127.0.0.2$ ifconfig lo0 alias 127.0.0.3

Now to check whether these were created, you can simply run the following command on the Terminal:

$ ifconfig | grep 127.0.0

You should see three loopback addresses in the output, which are ready to be used:

Once you have the three loopback addresses up and running, ...

Get Learning Apache Cassandra - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.