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!

Enterprise Security Content Update (ESCU) | New Releases

In January, the Splunk Threat Research Team had one release of new security content via the Splunk ES Content ...

Expert Tips from Splunk Professional Services, Ensuring Compliance, and More New ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...