Situation: Indexer cluster, dual site, replication factor=2
We have some old indexer servers to be moved to new servers. The disk is going to be the same and reused.
In a way, you can do it.
If you're not going to use the old server, I recommend to copy all the $SPLUNK_HOME contents to the new server.
or, try to use the same host name, site and GUID (instance.cfg) for the new instance.
In a way, you can do it.
If you're not going to use the old server, I recommend to copy all the $SPLUNK_HOME contents to the new server.
or, try to use the same host name, site and GUID (instance.cfg) for the new instance.
"instance.cfg" just didn't work as it had lot of issues.
Atlast went with whole copy of $SPLUNK_HOME which went smooth
thanks @Masa for pointing out "instance.cfg".
Will a direct copy of "$SPLUNK_HOME" work? or do i need to clear _raft etc?
@koshyk - Did Masa's answer help to provide a solution to your question? If yes, please don't forget to click "Accept" below the answer to resolve this post. Thanks!
A direct copy of "$SPLUNK_HOME" should work. I still recommend you to test it in a small test environment.