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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...