We have one node having all the functionalities like search head, indexer, deployment manager, license manager I.
Now we want to migrate indexer data from existing indexer to newly created indexer without data loss.
Please suggest how to achieve it.
We have two peer node in the proposed setup and one peer node in the current setup.
We are looking for peer to peer index data migration steps.
Thanks in advance
@satyajitjem Please go through the the answer below - https://answers.splunk.com/answers/582405/how-to-migrate-a-clustered-indexer-peer-to-a-new-h.html
If you're not using clustering, rsync is perfect.
We ran incremental rsync's while the indexers were in production.
Shutdown, final rsync, put new indexers into production.
As long as you arent copying buckets from multiple indexers onto a single index (where you would need to adjust the bucket IDs to prevent duplicates), you should be fine.
Thanks but this is not my requirement !
I want to migrate a single Index called index=restcall from my stand-alone indexer to another Indexer with same name.
Can you please what steps can be followed.
Ok, so I would rsync the index from indexerA to indexerB
Shutdown A, disable restcall index (move the data or whatever cleanup you want to do).
Make sure the permission and ownership of the data on B is correct.
Start A and B.
Add B as a peer to your search heads (A should remain a peer)
Thanks. Here what I have perfomed :
Index A data path :
Here I have db, colddb, thewdb, summary folders exists and copied to Index B : Path : Splunk/indexes/restcall/
After that o started splunk on both A& B.
Now I could not see Splunk B console, it is not coming up. I have removed the copied foldees from restcall ane restarted splunk and then console came up.
Am I on deviating or skipping any steps here or my approach is wrong here.
My goal is to see how to migrate a single Index from Indexes A to B.
A& B indexer hosted on separate node and have no connection between them but have connection with deployment manager (Hosted on a separate server) parallely.
Ok, so on indexer B, did you configure the index? The index settings will need to be configured on the indexerB. You will need to configure it to point to the locations you just copied over.
If you are still having issue, check your internal logs...look for any issues splunk might be having accessing or reading the new index data.