Hi All;
This may have been a complicated question, but I was wondering if there was a way to force hot directories that were in a filesystem snapshot to cold so that I can move them to my thaweddb?
We had a file system issue this past week in a clustered environment and lost a ton of historical data in Splunk (possibly human error, so i wont get into that). One thing that we were able to do, is recover our data from a nightly backup of our filesystems. The great thing was that we were able to do this without any service interruption as we:
This worked just great as the data was instantly restored (albeit now i have to manage that space moving forward). I did see however that some indexes still have significant gaps. The likely culprit is that these indexes still had hot buckets during their backup snapshot. I was wondering, is there a way that I can either:
A. throw those hot buckets into thaweddb and have them work as well as the cold buckets did
B. force the hot buckets in the local backup directory to cold, so that i can put them in thaweddb
Thanks for the assistance!
All;
I managed to solve this problem using one of the answers from the following posting:
I can verify that this still works with v6.4.2.
What I did was copied my backed up hot buckets to the production index's db directory. The most important part however is that you need to take the hot bucket reference lines from the .bucketManifest on the backup and add them to the production bucketManifest. If you dont, the indexer will fail to start as it will see directories in the db directory that it doesn't know about.
Once I did that, a start of the indexer caused the hot buckets to roll to warm.
All;
I managed to solve this problem using one of the answers from the following posting:
I can verify that this still works with v6.4.2.
What I did was copied my backed up hot buckets to the production index's db directory. The most important part however is that you need to take the hot bucket reference lines from the .bucketManifest on the backup and add them to the production bucketManifest. If you dont, the indexer will fail to start as it will see directories in the db directory that it doesn't know about.
Once I did that, a start of the indexer caused the hot buckets to roll to warm.
One thing I was able to conclude is that you cannot move a backed up hot bucket to the index's db even if there is no bucket collissions. Once you restart the indexer, it will roll the latest self-created hot bucket to warm, but the old (restored) hot buckets won't roll. Instead you will get an error alerting you to the fact that there are manually-copied hot buckets 😞