Splunk Enterprise

resync commands

Bisho-Fouad
Explorer

messages shows the below:
Search head cluster member A is having problems pulling configurations from the search head cluster captain B. Changes from the other members are not replicating to this member, and changes on this member are not replicating to other members. Consider performing a destructive configuration resync on this search head cluster member.

any idea regarding the resync commands ??

Labels (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

A Google search for "destructive configuration resync" finds this in Docs: https://docs.splunk.com/Documentation/Splunk/9.2.1/DistSearch/HowconfrepoworksinSHC#Why_a_recovering...

---
If this reply helps you, Karma would be appreciated.
0 Karma

deepakc
Builder

This is the command if using Linux - /opt/splunk/bin/splunk resync shcluster-replicated-config (Run this on other SHC members – not captain)  

Check the status first, runs on one of the SHC members

/opt/splunk/bin/splunk show shcluster-status

But might be worth trying a rolling restart and see if that helps, looks like the /var/run folder on the captain is having some kind of issue. Check Disk Space as well. du -sh /opt/splunk/var/run to get the size of the folder.

Rolling restart command = /opt/splunk/bin/splunk rolling-restart shcluster-members from one of the members

Monitor the rolling restart /opt/splunk/bin/splunk rolling-restart shcluster-members  -status 1

The captain may change – so observe – you can change the captain back to original

/opt/splunk/bin/splunk transfer shcluster-captain -mgmt_uri <your SHC Captain>


If this is production, then factor in maintenance window or do it when least busy for users, as it will be somewhat disruptive for searches, until it's resolved.

But it It's worth going through the previous answers for this issue, the commands and various steps. Ensure you have backups and plan the steps for the procedure. At minimum /opt/splunk/etc which contains the configuration.


https://community.splunk.com/t5/Deployment-Architecture/How-to-resolve-error-quot-Error-pulling-conf...


https://community.splunk.com/t5/Deployment-Architecture/How-do-I-fix-quot-splunk-resync-shcluster-re...

0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...