<?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: Search affinity for non-multisite cluster in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-affinity-for-non-multisite-cluster/m-p/310301#M93074</link>
    <description>&lt;P&gt;It seems I was wrong about not being able to use multisite clustering with only 2 peers.&lt;BR /&gt;
I found &lt;A href="https://answers.splunk.com/answers/153508/multi-site-cluster-what-would-i-configure-for-replication-and-search-factor-with-1-peer-at-each-site.html"&gt;this&lt;/A&gt; thread, which indicated that I need to override the default replication factor of 2.&lt;BR /&gt;
By adding in the &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;replication_factor = 1
search_factor = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In addition to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;site_replication_factor = origin:1,total:2
site_search_factor = origin:1,total:2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I was able to successfully start the splunk process.&lt;BR /&gt;
Now, I should be able to set up a searchhead at each site, with affinity for its own site instead of searching across both indexers across the net.&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2017 17:54:46 GMT</pubDate>
    <dc:creator>oliverj</dc:creator>
    <dc:date>2017-05-24T17:54:46Z</dc:date>
    <item>
      <title>Search affinity for non-multisite cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-affinity-for-non-multisite-cluster/m-p/310300#M93073</link>
      <description>&lt;P&gt;I have 2 locations, and not a ton of resources. Multisite clustering took too much -- it seems like I need at least 3 indexers (or maybe it was 2 per site). But, I only have 2 indexers, so I decided a multisite cluster was more then I needed. Instead, I set up a basic index cluster that I was hoping to have span multiple locations. &lt;STRONG&gt;Main goal = data safety&lt;/STRONG&gt;. 2 copies of active splunk indexes, plus backups at each location looks to be exactly what I need.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2980i4410E08D06BB27BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;But, my pipe between sites is pretty limited. Ideally, my search head would be tied to a specific indexer, so I am not trying to pull data across sites. I looked at affinity (but that is multisite only) and distributed search (but that is non-cluster only). Is it possible to restrict my SearchHead1 to only search Indexer1?&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 14:35:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-affinity-for-non-multisite-cluster/m-p/310300#M93073</guid>
      <dc:creator>oliverj</dc:creator>
      <dc:date>2017-05-24T14:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Search affinity for non-multisite cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-affinity-for-non-multisite-cluster/m-p/310301#M93074</link>
      <description>&lt;P&gt;It seems I was wrong about not being able to use multisite clustering with only 2 peers.&lt;BR /&gt;
I found &lt;A href="https://answers.splunk.com/answers/153508/multi-site-cluster-what-would-i-configure-for-replication-and-search-factor-with-1-peer-at-each-site.html"&gt;this&lt;/A&gt; thread, which indicated that I need to override the default replication factor of 2.&lt;BR /&gt;
By adding in the &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;replication_factor = 1
search_factor = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In addition to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;site_replication_factor = origin:1,total:2
site_search_factor = origin:1,total:2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I was able to successfully start the splunk process.&lt;BR /&gt;
Now, I should be able to set up a searchhead at each site, with affinity for its own site instead of searching across both indexers across the net.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 17:54:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-affinity-for-non-multisite-cluster/m-p/310301#M93074</guid>
      <dc:creator>oliverj</dc:creator>
      <dc:date>2017-05-24T17:54:46Z</dc:date>
    </item>
  </channel>
</rss>

