Deployment Architecture

When old indexer servers in an indexer cluster are moved to new servers, what is the best way to move disk or data?

koshyk
Super Champion

Situation: Indexer cluster, dual site, replication factor=2

We have some old indexer servers to be moved to new servers. The disk is going to be the same and reused.

  1. Can we just move the disk to new server if the hostname is mapped to old indexer?
  2. In indexer cluster, there is the GUID of machine in the bucket name. Will this be an issue?
  3. Will there be an issue with replicated buckets (rb) ?
0 Karma
1 Solution

Masa
Splunk Employee
Splunk Employee

In a way, you can do it.

If you're not going to use the old server, I recommend to copy all the $SPLUNK_HOME contents to the new server.
or, try to use the same host name, site and GUID (instance.cfg) for the new instance.

View solution in original post

Masa
Splunk Employee
Splunk Employee

In a way, you can do it.

If you're not going to use the old server, I recommend to copy all the $SPLUNK_HOME contents to the new server.
or, try to use the same host name, site and GUID (instance.cfg) for the new instance.

koshyk
Super Champion

"instance.cfg" just didn't work as it had lot of issues.
Atlast went with whole copy of $SPLUNK_HOME which went smooth

0 Karma

koshyk
Super Champion

thanks @Masa for pointing out "instance.cfg".
Will a direct copy of "$SPLUNK_HOME" work? or do i need to clear _raft etc?

0 Karma

aaraneta_splunk
Splunk Employee
Splunk Employee

@koshyk - Did Masa's answer help to provide a solution to your question? If yes, please don't forget to click "Accept" below the answer to resolve this post. Thanks!

0 Karma

Masa
Splunk Employee
Splunk Employee

A direct copy of "$SPLUNK_HOME" should work. I still recommend you to test it in a small test environment.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...