I am following the below process to remove a search head cluster member
I run the following CLI on the host I would like to remove from search head cluster and got following error.
sudo /opt/splunk/bin/splunk remove shcluster-member -auth admin:yahoo7
https://"captain host mgmt uri" ERROR: Raft not initialized. This means that dynamic captain mode was not set in server.conf
I am using static Splunk search head captain than the dynamic election. What is the correct approach to remove search head member when I using static captain?
I have already followed the document.
The error message seems to mean that I am using static captain than dynamical captain, so
splunk remove shcluster-member does not work here.