The CM was migrated from RHEL 7 to RHEL 9 and rebuilt on a new host with a new hostname and IP address. The manager_uri setting was updated on all 16 indexers. After the change, all indexers entered a continuous restart loop, making the indexer cluster unavailable for both ingestion and search.Observed behavior:- btool confirmed that every indexer had manager_uri set to the new CM. - After a restart, each indexer's splunkd.log showed it connecting to the new CM and beginning cluster initialization. The splunkd process then stopped during initialization, and the systemd unit automatically restarted it, repeating the cycle. - Some peers appeared to communicate with both the old and new CM after partial rollback attempts.Peer logs included messages similar to:
CMMasterProxy - The cluster manager is down! Make sure pass4SymmKey is matching if the cluster manager is running.
CMSlave - Waiting for the cluster manager to come up... (retrying every second)
The $SPLUNK_HOME/var/run/splunk/cluster/remote-bundle/ directory, which the documented replacement procedure requires to back up, had not been copied from the old CM to the new CM. After it was restored and the old CM was shut down, the indexers joined the cluster.1. Confirm that splunkd is actually restarting. Follow splunkd.log on an affected peer and note where startup stops: tail -f $SPLUNK_HOME/var/log/splunk/splunkd.log2. Verify that every peer and search head uses the new CM's management URI. Check the effective setting and the file that supplies it: $SPLUNK_HOME/bin/splunk btool server list clustering --debug | grep -i manager_uri If the setting comes from an app under $SPLUNK_HOME/etc/peer-apps, change the source app under $SPLUNK_HOME/etc/manager-apps on the CM. A local peer change can be overwritten by a later cluster bundle push. Also check for apps in etc/apps and etc/system/local that hard-code the old CM URI. 3. Make sure only one CM is running. Shut down the old CM after taking the backup, so peers cannot alternate between the old and new managers. 4. Check that the replacement CM has the required files from the old CM, especially etc/manager-apps/ and $SPLUNK_HOME/var/run/splunk/cluster/remote-bundle/. If you copy only the active and previously active bundles, identify the .bundle_active and .bundle_previousActive marker files. Copy each marker's matching .bundle file and bundle directory as well. 5. Check that the [clustering]\pass4SymmKey matches on the CM and peers and can be decrypted. Encrypted values depend on each host's splunk.secret. If the new CM has a different splunk.secret, enter the key in plain text and let Splunk encrypt it again. The CMMasterProxy warning suggests a pass4SymmKey mismatch, but the warning alone does not prove one. In this case, the missing bundles caused the failure.
Follow the Splunk procedure for replacing the manager node on the indexer cluster. For this case:1. Copy the old CM's $SPLUNK_HOME/etc/manager-apps/ and $SPLUNK_HOME/var/run/splunk/cluster/remote-bundle/ directories to the replacement CM. The remote-bundle/ directory contains the generated bundles that were pushed to peers. Restoring it preserves the active bundle ID, so peers do not require a new bundle download, rolling restart, or re-replication. 2. Make sure the replacement CM and every intermediate copy location have enough disk space. The bundle directory in this case was about 4.5 GB. Staging it in /tmp filled the file system and caused permission errors. Preserve ownership and permissions for the Splunk service account. 3. Restore server.conf according to the documentation. Keep the replacement host's sslPassword, and set pass4SymmKey as required for the replacement host. 4. Restart the replacement CM, then shut down the old CM. 5. On each peer, verify the effective manager_uri and pass4SymmKey, then restart the peer. If the CM address or management port changed, also update search heads. Correct any pushed app that sets an obsolete URI at its source on the CM. 6. Confirm peer registration and cluster health: $SPLUNK_HOME/bin/splunk show cluster-status --verbose Verify that the expected bundle is active and that the search factor and replication factor are met. To prevent this issue:- When migrating a CM, preserve splunk.secret, or enter pass4SymmKey and other encrypted secrets again in plain text, so encrypted values continue to match across nodes. - Back up and restore all files listed in the documented manager-replacement procedure, including server.conf, $SPLUNK_HOME/etc/manager-apps/, and $SPLUNK_HOME/var/run/splunk/cluster/remote-bundle/, before you change manager_uri on peers. - Consider cluster manager redundancy to reduce risk and downtime during future CM changes.
- Replace the manager node on the indexer cluster - Configuration file precedence - Implement cluster manager redundancy
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
18-Nov-2026
|
Initial Release |