<?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: How to configure multisite clustering without search head affinity? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120075#M4542</link>
    <description>&lt;P&gt;site=site0 disables site affinity in splunk 6.3+ &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
can you edit your answer to reflect that, and lets try to get it to the top &lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2016 23:19:57 GMT</pubDate>
    <dc:creator>dxu_splunk</dc:creator>
    <dc:date>2016-02-01T23:19:57Z</dc:date>
    <item>
      <title>How to configure multisite clustering without search head affinity?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120064#M4531</link>
      <description>&lt;P&gt;What is the correct way to disable search-head affinity in a multi-site cluster configuration?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2014 20:05:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120064#M4531</guid>
      <dc:creator>my2ndhead</dc:creator>
      <dc:date>2014-11-10T20:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure multisite clustering without search head affinity?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120065#M4532</link>
      <description>&lt;P&gt;Edit: Not quite correct, apparently &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Judging by this: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Indexer/Multisitesearchaffinity#Implement_search_affinity"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Indexer/Multisitesearchaffinity#Implement_search_affinity&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;You must explicitly specify the sites that require search affinity.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'd say you get no search affinity if you don't explicitly specify any site in your site rep/search factors... for example, if you have three sites and want a copy in every site but no search affinity you'd specify this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;origin:1, total:3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As opposed to the search affinity for everyone version:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;origin:1, site1: 1, site2: 1, site3: 1, total: 3
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Nov 2014 21:52:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120065#M4532</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-10T21:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure multisite clustering without search head affinity?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120066#M4533</link>
      <description>&lt;P&gt;This isn’t quite correct.&lt;/P&gt;

&lt;P&gt;Search affinity is automatically set whenever a site has a searchable copy. There are two ways to get a site to have searchable copies of a bucket:&lt;/P&gt;

&lt;P&gt;1 explicit: site_search_factor: … site2:1 …&lt;BR /&gt;
This explicitly sets a searchable copy onto site2, so that a search with site2 will get all events from indexers of site2 (since site2 contains a full set of searchable buckets)&lt;/P&gt;

&lt;P&gt;2 implicit: site_search_factor: origin:1 total:3    and 3 sites total&lt;BR /&gt;
Since we have 3 sites, and total set to ‘3’, we will spread out 3 copies amongst 3 sites, so that each site will have a searchable copy. This means that all sites will have search affinity&lt;BR /&gt;
Also see &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Indexer/Sitereplicationfactor#What_is_a_site_replication_factor.3F" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Indexer/Sitereplicationfactor#What_is_a_site_replication_factor.3F&lt;/A&gt;, the section that starts with "Because the total value can be greater” ...&lt;/P&gt;

&lt;P&gt;Will update the docs with regards to this shortly...&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:08:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120066#M4533</guid>
      <dc:creator>dxu_splunk</dc:creator>
      <dc:date>2020-09-28T18:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure multisite clustering without search head affinity?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120067#M4534</link>
      <description>&lt;P&gt;Bummer... does that mean there is no way to turn off search affinity?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2014 23:16:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120067#M4534</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-10T23:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure multisite clustering without search head affinity?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120068#M4535</link>
      <description>&lt;P&gt;Theres currently no way to turn off search affinity&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2014 23:31:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120068#M4535</guid>
      <dc:creator>dxu_splunk</dc:creator>
      <dc:date>2014-11-10T23:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure multisite clustering without search head affinity?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120069#M4536</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;one solution I was told should work is to create a specific site id for your search heads&lt;BR /&gt;
this way, every indexers appears in a remote site and all are used, which is in fact like having disabled search affinity.&lt;BR /&gt;
I should be able to validate it in the future but I'm interested if anybody already did it that way.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 13:10:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120069#M4536</guid>
      <dc:creator>matthieu_araman</dc:creator>
      <dc:date>2015-02-11T13:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure multisite clustering without search head affinity?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120070#M4537</link>
      <description>&lt;P&gt;Any luck in getting this configuration working?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2015 15:53:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120070#M4537</guid>
      <dc:creator>johnstetter</dc:creator>
      <dc:date>2015-03-04T15:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure multisite clustering without search head affinity?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120071#M4538</link>
      <description>&lt;P&gt;Where did you get this information from? I have a case where this might be required. It would be great to know whether it's supported.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:52:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120071#M4538</guid>
      <dc:creator>mikaelbje</dc:creator>
      <dc:date>2015-06-25T20:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure multisite clustering without search head affinity?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120072#M4539</link>
      <description>&lt;P&gt;indirectly but from a thrusworthy source. I don't see why it would not be supported as it's just a multisite splunk deployment with some thinking on top of it.&lt;BR /&gt;
I will use this config but haven't yet been able to test it yet for mainly planning reasons. &lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2015 08:11:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120072#M4539</guid>
      <dc:creator>matthieu_araman</dc:creator>
      <dc:date>2015-06-26T08:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure multisite clustering without search head affinity?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120073#M4540</link>
      <description>&lt;P&gt;You're right; there's no such thing as a "search affinity = disabled" switch.&lt;BR /&gt;
However in splunk 6.3+ there is a supported way to turn it off, though, by indeed setting your search heads to a site that doesn't exist in your indexer cluster. &lt;/P&gt;

&lt;P&gt;Modify your (search head) site (in $SPLUNK_HOME/etc/system/default/server.conf) to site=site0 to "disable" search affinity.&lt;/P&gt;

&lt;P&gt;You can read all about it here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/DistSearch/DeploymultisiteSHC"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/DistSearch/DeploymultisiteSHC&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 15:44:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120073#M4540</guid>
      <dc:creator>renems</dc:creator>
      <dc:date>2016-02-01T15:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure multisite clustering without search head affinity?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120074#M4541</link>
      <description>&lt;P&gt;Did try this myself, and works like a charm. Away is the latency for synchronization between sites. All you have to do is edit the site=site0 in $SPLUNK_HOME/etc/system/default/server.conf.&lt;BR /&gt;
Don't forget to restart your search heads.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 23:03:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120074#M4541</guid>
      <dc:creator>renems</dc:creator>
      <dc:date>2016-02-01T23:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure multisite clustering without search head affinity?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120075#M4542</link>
      <description>&lt;P&gt;site=site0 disables site affinity in splunk 6.3+ &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
can you edit your answer to reflect that, and lets try to get it to the top &lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 23:19:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120075#M4542</guid>
      <dc:creator>dxu_splunk</dc:creator>
      <dc:date>2016-02-01T23:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure multisite clustering without search head affinity?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120076#M4543</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;After configure site=site0 in server.conf  all the search head says error invalid site.&lt;BR /&gt;
Is needed other configuration to disable search affinity?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 13:21:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-configure-multisite-clustering-without-search-head/m-p/120076#M4543</guid>
      <dc:creator>jmallorquin</dc:creator>
      <dc:date>2016-07-12T13:21:19Z</dc:date>
    </item>
  </channel>
</rss>

