<?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 Capabilities needed to Add Search Head to Cluster in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Capabilities-needed-to-Add-Search-Head-to-Cluster/m-p/561953#M10476</link>
    <description>&lt;P&gt;I am trying to create a new process to have a service (non-admin) account adding new Search Heads into a cluster. Specifically, need enough capabilities to to have the service account initialize and add a search head to a cluster. I want to avoid giving "admin-all-objects" as its too much privilege and want to adhere to least-priv policy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a new local account and added it to the deployer, SH cluster, and the new SH. I then added capabilities related to SH clustering so that i can have this service account initialize and add SH to a cluster. However, i am getting errors related to permissions.&lt;/P&gt;&lt;P&gt;Capabilities added:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;edit_restmap&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;edit_search_head_clustering&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;edit_search_server&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;edit_server&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;list_search_head_clustering&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;rest_apps_management&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;rest_apps_view&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;rest_properties_get&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;rest_properties_set&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;restart_splunkd&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error when trying to initialize SH:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunk/bin/splunk init shcluster-config  &amp;lt;CLUSTER INFO&amp;gt;&amp;gt; 

User 'shcluster_config' with roles { shcluster_config, user-shcluster_config } cannot write: /nobody/system/server { read : [ * ], write : [ admin ] }, removable: no&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anybody know what capability i need to give this service account enough access to add new SHs to a cluster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 03 Aug 2021 20:27:23 GMT</pubDate>
    <dc:creator>amat</dc:creator>
    <dc:date>2021-08-03T20:27:23Z</dc:date>
    <item>
      <title>Capabilities needed to Add Search Head to Cluster</title>
      <link>https://community.splunk.com/t5/Installation/Capabilities-needed-to-Add-Search-Head-to-Cluster/m-p/561953#M10476</link>
      <description>&lt;P&gt;I am trying to create a new process to have a service (non-admin) account adding new Search Heads into a cluster. Specifically, need enough capabilities to to have the service account initialize and add a search head to a cluster. I want to avoid giving "admin-all-objects" as its too much privilege and want to adhere to least-priv policy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a new local account and added it to the deployer, SH cluster, and the new SH. I then added capabilities related to SH clustering so that i can have this service account initialize and add SH to a cluster. However, i am getting errors related to permissions.&lt;/P&gt;&lt;P&gt;Capabilities added:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;edit_restmap&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;edit_search_head_clustering&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;edit_search_server&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;edit_server&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;list_search_head_clustering&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;rest_apps_management&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;rest_apps_view&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;rest_properties_get&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;rest_properties_set&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;restart_splunkd&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error when trying to initialize SH:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunk/bin/splunk init shcluster-config  &amp;lt;CLUSTER INFO&amp;gt;&amp;gt; 

User 'shcluster_config' with roles { shcluster_config, user-shcluster_config } cannot write: /nobody/system/server { read : [ * ], write : [ admin ] }, removable: no&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anybody know what capability i need to give this service account enough access to add new SHs to a cluster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 20:27:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Capabilities-needed-to-Add-Search-Head-to-Cluster/m-p/561953#M10476</guid>
      <dc:creator>amat</dc:creator>
      <dc:date>2021-08-03T20:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Capabilities needed to Add Search Head to Cluster</title>
      <link>https://community.splunk.com/t5/Installation/Capabilities-needed-to-Add-Search-Head-to-Cluster/m-p/561980#M10480</link>
      <description>&lt;P&gt;The answer is in the error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;write : [ admin ]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;means only an admin can write to that service.&amp;nbsp; In this case, admin is least-priv.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 00:24:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Capabilities-needed-to-Add-Search-Head-to-Cluster/m-p/561980#M10480</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-04T00:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Capabilities needed to Add Search Head to Cluster</title>
      <link>https://community.splunk.com/t5/Installation/Capabilities-needed-to-Add-Search-Head-to-Cluster/m-p/562262#M10495</link>
      <description>&lt;P&gt;Is there anyway we can add another role to have write to that service?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 14:20:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Capabilities-needed-to-Add-Search-Head-to-Cluster/m-p/562262#M10495</guid>
      <dc:creator>amat</dc:creator>
      <dc:date>2021-08-05T14:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Capabilities needed to Add Search Head to Cluster</title>
      <link>https://community.splunk.com/t5/Installation/Capabilities-needed-to-Add-Search-Head-to-Cluster/m-p/562274#M10496</link>
      <description>&lt;P&gt;I'm pretty sure admin means admin.&amp;nbsp; You can try setting individual capabilities in a custom role until you hit upon the right combination if you want, though.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 15:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Capabilities-needed-to-Add-Search-Head-to-Cluster/m-p/562274#M10496</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-05T15:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Capabilities needed to Add Search Head to Cluster</title>
      <link>https://community.splunk.com/t5/Installation/Capabilities-needed-to-Add-Search-Head-to-Cluster/m-p/562275#M10497</link>
      <description>&lt;P&gt;yes that makes sense. But do you know if its possible if we can change the write permission so it can include another role ?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 15:54:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Capabilities-needed-to-Add-Search-Head-to-Cluster/m-p/562275#M10497</guid>
      <dc:creator>amat</dc:creator>
      <dc:date>2021-08-05T15:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Capabilities needed to Add Search Head to Cluster</title>
      <link>https://community.splunk.com/t5/Installation/Capabilities-needed-to-Add-Search-Head-to-Cluster/m-p/562282#M10498</link>
      <description>&lt;P&gt;That I don't know.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 16:46:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Capabilities-needed-to-Add-Search-Head-to-Cluster/m-p/562282#M10498</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-05T16:46:05Z</dc:date>
    </item>
  </channel>
</rss>

