Knowledge Management

Relocate KVstore in a cluster

nawazns5038
Builder

Hi,

How do we relocate the KVstore on to a new location in a search head cluster.

I heard that there are some settings on the server.conf which would help in relocating the KVstore but what is the safest way to do it in a cluster without causing any KV store errors ??

Thanks

0 Karma

dchoi_splunk
Splunk Employee
Splunk Employee

Tested on SHC which has 3 members:
To change the default kvstore path to a different mount point in SHC, below steps can be doable.

  1. Stop the service on one of search head member(not kvstore primary)
  2. Repoint the kvstore path to a newly created empty directory with write permission (http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverconf?utm_source=answers&utm_medium=in...)
  3. Start the service
  4. Check if resync is working.
  5. then repeat 1-4 for the next member

Above steps worked.

0 Karma

solarboyz1
Builder

You will need to do it one member at a time.

Take the member out of the cluster.
shut member down
Follow instructions to move kvstore
Start member
Add member to cluster

Repeat on next cluster member.

0 Karma

solarboyz1
Builder

I don't believe so, the cluster will not recognize changes made by edits to the ../etc/system/local/server.conf.

If you're concerned...then you could shut the entire cluster down and move the location. Just requires and outage.

0 Karma

nawazns5038
Builder

If we do that won't there be any errors if the member joins back with a different KV store location than others ? ?

0 Karma

p_gurav
Champion
0 Karma

nawazns5038
Builder

yup, but how do you do it in a cluster without any errors ??

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Seamless IT/OT Security: A Hands-On Look at the Cisco Cyber Vision Splunk Add-on

With just a few clicks, you can ingest critical OT asset details, vulnerabilities, baseline deviations, ...