Deployment Architecture

How to add a new search head to an existing SHC?

ram254481493
Explorer

Hello , we are planning to add a new search head to our existing search head cluster.
What are the steps I need to follow to properly to add a new member to our existing search head cluster?
We are pushing configs through deployer, so what is a command that I can use to update the new member with existing deployer and other search head settings?

0 Karma

amitm05
Builder

You need to initialize and then Add this instance to the cluster. This can be done by running the following commands on your new instance

To initialize, run the below command and restart-

splunk init shcluster-config -auth <username>:<password> -mgmt_uri <URI>:<management_port> -replication_port <replication_port> -replication_factor <n> -conf_deploy_fetch_url <URL>:<management_port> -secret <security_key> -shcluster_label <label>  
splunk restart 

To Add instance to Cluster, run this command -

splunk add shcluster-member -current_member_uri <URI>:<management_port>

Let me know if this helps

harsmarvania57
Ultra Champion

ram254481493
Explorer

Thanks i found the commands to update the configs here for SHC settings but didnt find the resync command to update the deployer configs .

0 Karma

harsmarvania57
Ultra Champion

You do not require to resync, when you add new SH to SHC it will automatically get configuration bundle from Deployer and then it will contact Captain & download replicated config tarball.

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...