<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Thawing data in an indexer clustering environment, do I need the rb_ buckets too? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182208#M6811</link>
    <description>&lt;P&gt;I down-voted this because it really didn't have much to do with my question. &lt;/P&gt;

&lt;P&gt;While it might a good idea, it doesn't consider a lot of issues that would come up. Off the top of my head, here's a couple of stopper issues for me. I'd have to copy terabytes of data from 7 indexers to a spare, multi-terabyte server that I really don't have.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Oct 2015 18:39:03 GMT</pubDate>
    <dc:creator>dfronck</dc:creator>
    <dc:date>2015-10-06T18:39:03Z</dc:date>
    <item>
      <title>Thawing data in an indexer clustering environment, do I need the rb_ buckets too?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182203#M6806</link>
      <description>&lt;P&gt;Our Splunk implementation uses a cluster, so we have db_nnnnnn and rb_nnnnnn files in the frozendb directory. The rb directories are the replicated buckets.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Do I have to restore the db and rb directories?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;The doc says to do the following.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;cp -r db_1181756465_1162600547_1001 $SPLUNK_HOME/var/lib/splunk/defaultdb/thaweddb
splunk rebuild $SPLUNK_HOME/var/lib/splunk/defaultdb/thaweddb/db_1181756465_1162600547_1001
splunk restart
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The problem is, if I only restore the db files, I get the following errors in the Master Node on the Fixup Tasks - Pending screen.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Search Factor: cannot fix up search factor as bucket is not serviceable
Replication Factor: cannot replicate as bucket is not serviceable
Generation: cannot fix up search factor as bucket is not serviceable;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;If I also restore the rb files, I do not get those errors, but I'd think that I might get duplicate data.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:24:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182203#M6806</guid>
      <dc:creator>dfronck</dc:creator>
      <dc:date>2020-09-28T20:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Thawing data in an indexer clustering environment, do I need the rb_ buckets too?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182204#M6807</link>
      <description>&lt;P&gt;"bucket is not serviceable" is a temporary state - we don't immediately start replicating / fixing up buckets, instead we'll wait a few minutes before we start doing the fixups.&lt;/P&gt;

&lt;P&gt;if you restore all copies of a buckets' db_ and rb_ versions - it won't show the "bucket is not serviceable" message because theres no replications that we need to do for it, so it'll skip the temporary not serviceable state.&lt;/P&gt;

&lt;P&gt;you'll have duplicate data, but thats the point of clustering - it'll duplicate your data :). it'll only have one copy of the data return results from a search however (the primary copy)&lt;/P&gt;

&lt;P&gt;edit: there is a bug with thawing buckets into the thawed folder:&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/153341/thawed-buckets-error-clusterslavebuckethandler-failed-to-trigger-replication"&gt;http://answers.splunk.com/answers/153341/thawed-buckets-error-clusterslavebuckethandler-failed-to-trigger-replication&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;the cluster has  trouble replicating these buckets (but it will be made primary if its searchable). workaround is to thaw them back into the db/ or colddb/ folders, where we can then replicate them - or thaw all copies so replication is not needed.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2015 18:20:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182204#M6807</guid>
      <dc:creator>dxu_splunk</dc:creator>
      <dc:date>2015-06-30T18:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Thawing data in an indexer clustering environment, do I need the rb_ buckets too?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182205#M6808</link>
      <description>&lt;P&gt;If you only restore the db files, "bucket is not serviceable" &lt;STRONG&gt;is a permanent state.&lt;/STRONG&gt; Well, 20 hours at least so I assume never. I assume that's because they are in the thaweddb directory and the code probably says not to replicate that.&lt;/P&gt;

&lt;P&gt;I restored all the rb files and the errors went away and I did not get dups. I assume because the Master Node is smarter than me and said, "don't search those rb files!"&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2015 18:35:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182205#M6808</guid>
      <dc:creator>dfronck</dc:creator>
      <dc:date>2015-06-30T18:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Thawing data in an indexer clustering environment, do I need the rb_ buckets too?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182206#M6809</link>
      <description>&lt;P&gt;I think the answer and the dialog is great, but for many cases I would ask: do you really need to restore the buckets to the same place they came from?&lt;/P&gt;

&lt;P&gt;Here is a use case: After diagnosing a current security problem, you need to go back in time and see if certain patterns occurred back then. This is a one-shot search; after you do these forensics, you are done with the old data.&lt;/P&gt;

&lt;P&gt;Instead of dragging this data back into your production environment, why not restore the frozen buckets to a test server, run the searches there and then delete them? All you would need to do is:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Create an index on the test server to hold the restored data; let's call the index "forensics".&lt;/LI&gt;
&lt;LI&gt;Put the restored buckets in the thawed directory of the forensics index.&lt;/LI&gt;
&lt;LI&gt;Restart Splunk.&lt;/LI&gt;
&lt;LI&gt;Search the forensics index as needed.&lt;/LI&gt;
&lt;LI&gt;When finished, disable/delete the forensics index from the test server.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;This will have no impact on your production environment, and you don't need to care if production is clustered or not.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2015 00:11:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182206#M6809</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-08-18T00:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Thawing data in an indexer clustering environment, do I need the rb_ buckets too?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182207#M6810</link>
      <description>&lt;P&gt;oops, theres a bug with thawed bucket state. see &lt;A href="http://answers.splunk.com/answers/153341/thawed-buckets-error-clusterslavebuckethandler-failed-to-trigger-replication"&gt;http://answers.splunk.com/answers/153341/thawed-buckets-error-clusterslavebuckethandler-failed-to-trigger-replication&lt;/A&gt; . your error went away since u thawed all copies of a bucket, so replication was no longer necessary.&lt;/P&gt;

&lt;P&gt;will edit my answer accordingly&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2015 00:33:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182207#M6810</guid>
      <dc:creator>dxu_splunk</dc:creator>
      <dc:date>2015-08-18T00:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Thawing data in an indexer clustering environment, do I need the rb_ buckets too?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182208#M6811</link>
      <description>&lt;P&gt;I down-voted this because it really didn't have much to do with my question. &lt;/P&gt;

&lt;P&gt;While it might a good idea, it doesn't consider a lot of issues that would come up. Off the top of my head, here's a couple of stopper issues for me. I'd have to copy terabytes of data from 7 indexers to a spare, multi-terabyte server that I really don't have.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2015 18:39:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182208#M6811</guid>
      <dc:creator>dfronck</dc:creator>
      <dc:date>2015-10-06T18:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Thawing data in an indexer clustering environment, do I need the rb_ buckets too?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182209#M6812</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;

&lt;P&gt;could you confirm we should copy thawed buckets into colddb instead of thaweddb in 6.5.2?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 19 May 2018 11:15:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Thawing-data-in-an-indexer-clustering-environment-do-I-need-the/m-p/182209#M6812</guid>
      <dc:creator>splunkreal</dc:creator>
      <dc:date>2018-05-19T11:15:02Z</dc:date>
    </item>
  </channel>
</rss>

