Deployment Architecture

How to update replication_factor after creating SHC

a212830
Champion

Hi,

I setup a dev SHC, and realized that my replication_factor was incorrect. How can I modify it?

0 Karma

jkat54
SplunkTrust
SplunkTrust

http://docs.splunk.com/Documentation/Splunk/6.3.1/DistSearch/ChooseSHCreplicationfactor

Replication factor configuration
All cluster members must use the same replication factor. The server.conf attribute that determines the replication factor is replication_factor.

You specify the replication factor during deployment of the cluster, as part of member initialization. See "Initialize cluster members."

You can change the replication factor post-deployment, if necessary, but it is recommended that you consult Splunk Support before doing so. If you change the replication factor on one member, you must change it on all members. For information on modifying configuration values, see "Configure the search head cluster."

Consulting with Splunk will probably not be needed since this is development. You'll want to shut down the whole cluster, make the changes via $SPLUNK_HOME/etc/system/local/server.confon each search head, then start the search heads.

sloshburch
Splunk Employee
Splunk Employee

Because of this quirk, I've grown to keep the config that needs to be the same on all SHs on the deployer. That way if I do push out changes it can be consistent.

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...