<?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: Splunk shcluster configuration on master not updating config in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491003#M17001</link>
    <description>&lt;P&gt;@jdhunter - thanks for bringing up the license question - I was not installing the license. I have updated it to do so, but am still not seeing the right config get added.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ splunk add licenses /path/to/enterprise.lic 
The licenses object has been added
You need to restart the Splunk Server (splunkd) for your changes to take effect.
$ service splunk restart
$ splunk list licenses # enterprise license shows.
$ splunk list licenser-pools
    auto_generated_pool_enterprise
        description:auto_generated_pool_enterprise
        effective_quota:REDACTED
        is_unlimited:0
        quota:MAX
        slaves:
        stack_id:enterprise
        used_bytes:0
$ splunk edit shcluster-config -secret testingsecret  -shcluster_label shclusterlabel_test
The shcluster-config property has been edited.
$ cat etc/system/local/server.conf
[lmpool:auto_generated_pool_enterprise]
description = auto_generated_pool_enterprise
quota = MAX
slaves = *
stack_id = enterprise

[license]
active_group = Enterprise

[shclustering]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;shcluster_label&lt;/CODE&gt; and the secret is not set still in the &lt;CODE&gt;[shclustering]&lt;/CODE&gt; section. However, when I run the indexer cluster master commands "edit cluster-config" with cluster_label and secret, it is set as expected in the &lt;CODE&gt;[clustering]&lt;/CODE&gt; section.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2019 05:15:01 GMT</pubDate>
    <dc:creator>brettcave</dc:creator>
    <dc:date>2019-10-01T05:15:01Z</dc:date>
    <item>
      <title>Splunk shcluster configuration on master not updating config</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491001#M16999</link>
      <description>&lt;P&gt;I am trying to configure a master node in a splunk cluster to be an indexer master and shc deployer. I install Splunk Enterprise (7.3.1) and then execute commands to configure it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk edit shcluster-config -secret clustersecret -shcluster_label myshclabel -auth user:pass
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After doing this, &lt;CODE&gt;etc/system/local/server.conf&lt;/CODE&gt; is updated with a &lt;CODE&gt;[shcluster]&lt;/CODE&gt; heading, but no &lt;CODE&gt;pass4SymmKey&lt;/CODE&gt; or cluster label is configured. it is a blank stanza.&lt;/P&gt;

&lt;P&gt;I am also running &lt;CODE&gt;edit cluster-config&lt;/CODE&gt; on the server and this is updating the config as expected. My understanding is that these commands should add a cluster label and secret to the config. Am I missing something? Not sure if licensing needs to be configured first? For my use-case, manually editing the file is not an option, it needs to be configured by command.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2019 07:37:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491001#M16999</guid>
      <dc:creator>brettcave</dc:creator>
      <dc:date>2019-09-28T07:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk shcluster configuration on master not updating config</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491002#M17000</link>
      <description>&lt;P&gt;Do you have a License installed on this server? I would setup a License Master and point all of your Splunk instances to it. &lt;/P&gt;

&lt;P&gt;Once you have a license master configured, you can run this command on all your Splunk servers.&lt;/P&gt;

&lt;P&gt;Setting License Master Slave&lt;/P&gt;

&lt;P&gt;splunk edit licenser-localslave -master_uri '&lt;A href="https://license_master_uri:8089" target="_blank"&gt;https://license_master_uri:8089&lt;/A&gt;'&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.1/Admin/Configurealicensemaster" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.1/Admin/Configurealicensemaster&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.1/Admin/LicenserCLIcommands" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.1/Admin/LicenserCLIcommands&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Next, I would setup the Cluster Master and the Cluster Peers&lt;/P&gt;

&lt;P&gt;Cluster Master&lt;/P&gt;

&lt;P&gt;splunk edit cluster-config -mode master -replication_factor # -search_factor # -secret your_key -cluster_label cluster1&lt;/P&gt;

&lt;P&gt;Cluster Peer (Your Indexers)&lt;/P&gt;

&lt;P&gt;splunk edit cluster-config -mode slave -master_uri &lt;A href="https://cluster_master:8089" target="_blank"&gt;https://cluster_master:8089&lt;/A&gt; -replication_port 9887 -secret your_key&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.1/Indexer/Enablethemasternode" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.1/Indexer/Enablethemasternode&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.1/Indexer/ConfiguremasterwithCLI" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.1/Indexer/ConfiguremasterwithCLI&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.1/Indexer/ConfigurepeerswithCLI" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.1/Indexer/ConfigurepeerswithCLI&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Finally, there are multiple steps in setting up a Search Head Cluster to Deploy the cluster:&lt;/P&gt;

&lt;P&gt;These are the key steps in deploying clusters:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Identify your requirements.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Set up the deployer.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Install the Splunk Enterprise instances.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Initialize cluster members.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Bring up the cluster captain.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Perform post-deployment set-up.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.1/DistSearch/SHCdeploymentoverview" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.1/DistSearch/SHCdeploymentoverview&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;System Requirements for installing Cluster Master and SHC Deployer on the same machine&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.1/Indexer/Systemrequirements" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.1/Indexer/Systemrequirements&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:27:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491002#M17000</guid>
      <dc:creator>jdhunter</dc:creator>
      <dc:date>2020-09-30T02:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk shcluster configuration on master not updating config</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491003#M17001</link>
      <description>&lt;P&gt;@jdhunter - thanks for bringing up the license question - I was not installing the license. I have updated it to do so, but am still not seeing the right config get added.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ splunk add licenses /path/to/enterprise.lic 
The licenses object has been added
You need to restart the Splunk Server (splunkd) for your changes to take effect.
$ service splunk restart
$ splunk list licenses # enterprise license shows.
$ splunk list licenser-pools
    auto_generated_pool_enterprise
        description:auto_generated_pool_enterprise
        effective_quota:REDACTED
        is_unlimited:0
        quota:MAX
        slaves:
        stack_id:enterprise
        used_bytes:0
$ splunk edit shcluster-config -secret testingsecret  -shcluster_label shclusterlabel_test
The shcluster-config property has been edited.
$ cat etc/system/local/server.conf
[lmpool:auto_generated_pool_enterprise]
description = auto_generated_pool_enterprise
quota = MAX
slaves = *
stack_id = enterprise

[license]
active_group = Enterprise

[shclustering]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;shcluster_label&lt;/CODE&gt; and the secret is not set still in the &lt;CODE&gt;[shclustering]&lt;/CODE&gt; section. However, when I run the indexer cluster master commands "edit cluster-config" with cluster_label and secret, it is set as expected in the &lt;CODE&gt;[clustering]&lt;/CODE&gt; section.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 05:15:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491003#M17001</guid>
      <dc:creator>brettcave</dc:creator>
      <dc:date>2019-10-01T05:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk shcluster configuration on master not updating config</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491004#M17002</link>
      <description>&lt;P&gt;A quick note: &lt;CODE&gt;splunk help edit shcluster-config&lt;/CODE&gt; does not show shcluster_label in the options - it shows &lt;CODE&gt;secret&lt;/CODE&gt; and then replication factor param, timeouts and port settings. &lt;/P&gt;

&lt;P&gt;Also - I can set labels and secrets fine for the indexer cluster master and cluster. I am trying to also configure the indexer master as the shc deployer, it's the shcluster-config command that is not updating the config. However, I am still able to bring up shc's in a shc cluster with no label specified and it connects / registers to the deployer fine. However, i'd like to specify a secret and a label&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 05:20:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491004#M17002</guid>
      <dc:creator>brettcave</dc:creator>
      <dc:date>2019-10-01T05:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk shcluster configuration on master not updating config</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491005#M17003</link>
      <description>&lt;P&gt;I am using this to configure shc deployer: &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.1/DistSearch/SHCconfigurationoverview#Configuration_methods"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.1/DistSearch/SHCconfigurationoverview#Configuration_methods&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 05:23:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491005#M17003</guid>
      <dc:creator>brettcave</dc:creator>
      <dc:date>2019-10-01T05:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk shcluster configuration on master not updating config</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491006#M17004</link>
      <description>&lt;P&gt;last post: this doc describes setting up the deployer in step 2 - &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.1/DistSearch/SHCdeploymentoverview"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.1/DistSearch/SHCdeploymentoverview&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;however, i am looking to use the CLI to configure it, not modifying config files directly.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 05:26:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491006#M17004</guid>
      <dc:creator>brettcave</dc:creator>
      <dc:date>2019-10-01T05:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk shcluster configuration on master not updating config</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491007#M17005</link>
      <description>&lt;P&gt;From my clustering class notes, there is no CLI support for enabling the deployer. You have to edit the server.conf file and then restart splunk:&lt;/P&gt;

&lt;P&gt;[shclustering]&lt;BR /&gt;
pass4SymmKey = &lt;/P&gt;

&lt;P&gt;Secret needs to be the same on deployer and SHC members&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 20:10:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491007#M17005</guid>
      <dc:creator>jdhunter</dc:creator>
      <dc:date>2019-10-02T20:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk shcluster configuration on master not updating config</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491008#M17006</link>
      <description>&lt;P&gt;thanks. accepting your answer.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Oct 2019 19:44:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-shcluster-configuration-on-master-not-updating-config/m-p/491008#M17006</guid>
      <dc:creator>brettcave</dc:creator>
      <dc:date>2019-10-06T19:44:49Z</dc:date>
    </item>
  </channel>
</rss>

