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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...