I have 3 standalone indexers, and another 3 indexers in a cluster. We want to decommission the 3 standalones but first, have to move the data off the 3 onto the cluster. I imagine the process would be something like to roll all hot buckets to warm.. then rsync the warm and cold mounts/directory to a temp directory on one of the idx cluster members? standalone 1 to idxcluster 1,, 2 to 2, then 3 to 3..
But when we do rsync the data over.. How do i get the new indexer to recognize the old imported data? is it as simple as merging the old imported data into the appropriate index directory on the new indexer? for example.. copy the old wineventlog index, into the same named directory on the new indexer? would that work or is there more to it?
Is there some kind of splunk native command to move all data from idx A to idx B? Is there a better (or correct) way to make the new idx recognize the imported data?
I appreciate any help! Thanks.
Hi
It's just like @richgalloway said, there is no supported way how anyone can do it.
You could try the next if it works, BUT do it by your own risk/responsibility! I haven't test this!
When you are reading that splunk docs it said that it don't convert existing buckets to clustered when you add an old individual indexer to cluster. Based on that you could try (IF You have TEST environment to do it) to emulate this behaviour as moving those buckets to your cluster. BUT it needs at least the next:
If you cannot fulfil above, then you cannot try the next! Instead of you should ask help from Splunk Professional Services!
If this fails you will be in situation where your cluster is probably down. To fix that you probably must manually edit indexes.conf files to remove those index configurations from it. It's also needed to remove from CM and do a new apply.
But as I said. You must test this first on your test environment, then ensure that those requirements are fulfil and reserve some time for possible downtime when you doing that on production.
And once again, You will do it by your own risk and responsibility!!!
r. Ismo
There is no documented way to do that. Splunk recommends engaging Professional Services for that situation. See https://docs.splunk.com/Documentation/Splunk/9.1.2/Indexer/Migratenon-clusteredindexerstoaclusterede...
It's not as simple as copying data from one indexer to another because care must be taken to ensure bucket IDs are not duplicated.