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!

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...