The first two commands run successfully but cluster-init command is failing with the below error:
ERROR: indexerStorageMode - Changing the optimization mode of global indexes is not supported when index service nodes are present in the cluster. Please remove all index service nodes to change this option.
I don’t have any data in the cluster yet. And I did not modify the indexerStorageMode as you can see in the first two commands.
Can someone please help me understand what I am doing wrong?
Which Edition of Couchbase Server are you using enterprise or community edition?
Can you please try the cluster-init command with --cluster 127.0.0.1:8091 instead of --cluster test-server.com:8091. I want to ensure that it’s the same cluster that’s being talked to in both commands.
I just tried this with the command with 127.0.0.1 as you suggested, but it still fails with the same error.
I am using enterprise edition.
Also, I had a strange observation, when I try to run this series of commands on a host with fresh installation, everything works well.
But, when I destroy that server and try to create a new server on the same host, I hit this error.