Deployment Architecture

What is the process and the effect of changing the `shcluster_label` parameter in `server.conf` in a search head cluster (SHC)?

vzedbny
Engager

If there is a SHC whose shcluster_label is my_old_shc and I want to change it to my_new_shc, how would I change it so that the SHC doesn't break on me?

My idea would be to run splunk edit shcluster-config -shcluster_label my_new_shc on all of the search head cluster members then also running the same command on the deployer. After that, I restart all of the search head cluster members and the deployer. Does that sound right?

0 Karma

woodcock
Esteemed Legend

Yes, or if you are admining your cluister correctly, you can change it in server.conf and push that out everywhere. In any case, the label is just that: a label. It isn't used for anything really, so changing it is very, very low risk.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...