It may be necessary to replace Cluster Manager after a node failure or as part of an impactful maintenance activity which requires the existing machine to be rebuilt, such as replacing the OS. Per Splunk Documentation, this is a fairly straightforward process.
However, if the indexers try to rejoin the cluster and show on the Cluster Manager's Indexer Clustering dashboard in "BatchAdding" status, you may be encountering a permissions issue.
Check the Cluster Manager's splunkd.log for the following messages posted very frequently:
05-09-2024 11:23:48.853 -0400 WARN CMPeer [5682 TcpChannelThread] - version=9.1.1 is not part of known_versions={ }. Ignoring.
05-09-2024 11:23:47.091 -0400 ERROR ClusterMasterPeerHandler [5682 TcpChannelThread] - Cannot add peer=10.32.1.149 mgmtport=8089 (reason: ).
05-09-2024 11:23:47.081 -0400 WARN CMMaster [5682 TcpChannelThread] - event=addPeerParallel Timed out while waiting previous batches being processed peer=F6836087-7081-412E-A424-21F26E4966F6 batch_sn=101 total=101
The above messages can also be identified with the following search:
index=_internal source=*splunkd.log* log_level!=INFO component IN (CMPeer,CMMaster,ClusterMasterPeerHandler)
Additionally, the following search will determine whether permissions to the remote-peer folder are an issue:
index=_internal source=*splunkd.log* component=CMBundleMgr "Unable to re-encrypt bundle"
If applicable, this search will capture the following message, which only appears once upon startup of the Cluster Manager:
05-09-2024 09:52:46.907 -0400 ERROR CMBundleMgr [66687 MainThread] - Unable to re-encrypt bundle on the cluster manager. Failed to create directory="/opt/splunk/var/run/splunk/cluster/remote-bundle/54147097705af0c485b54f8b02980904-1714139566/etc/apps" error="Permission denied"
Upon SSH'ing into the Cluster Manager, navigate to $SPLUNK_HOME/var/run/splunk/cluster/ and perform a long listing to confirm permissions are consistent for all folders in this directory (this command assumes $SPLUNK_HOME has been named in your environment. If it has not, replace $SPLUNK_HOME with the path to your Splunk installment):
cd $SPLUNK_HOME/var/run/splunk/cluster/remote-bundle
ls -ll
In in most environments, Splunk is run as a user (not as root). This is generally the 'splunk' user (or its equivalent). In which case, all files and folders under $SPLUNK_HOME must be owned by that user which runs Splunk.
Run a "long listing" of items in the $SPLUNK_HOME/var/run/splunk/cluster folder to determine ownership of the remote-peers folder:
If permissions to the remote-bundle folder are incorrect, use the following command to change ownership of this folder and all of its contents (replace "splunk" below with your system's splunk username if it differs from these instructions):
sudo chown -hR splunk:splunk remote-bundle
or
sudo chown -hR splunk:splunk $SPLUNK_HOME/var/run/splunk/cluster/remote-bundle

Restart Splunk on the Cluster Manager. Now that the user running Splunk has access to this folder, the Cluster Manager can distribute the most current bundle to all peers.
Splunk Documentation for replacing Cluster Manager
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |