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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...