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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...