<?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 How can I delete the last license from an active group? in Installation</title>
    <link>https://community.splunk.com/t5/Installation/How-can-I-delete-the-last-license-from-an-active-group/m-p/409694#M5497</link>
    <description>&lt;P&gt;Attempting to remove the final license within an active group is failing with the following error;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;"failed to remove license: 'cannot delete last license from active group=&amp;lt;license group&amp;gt;, please switch active group and try again'"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 15 Jun 2020 20:23:23 GMT</pubDate>
    <dc:creator>jhatch_splunk</dc:creator>
    <dc:date>2020-06-15T20:23:23Z</dc:date>
    <item>
      <title>How can I delete the last license from an active group?</title>
      <link>https://community.splunk.com/t5/Installation/How-can-I-delete-the-last-license-from-an-active-group/m-p/409694#M5497</link>
      <description>&lt;P&gt;Attempting to remove the final license within an active group is failing with the following error;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;"failed to remove license: 'cannot delete last license from active group=&amp;lt;license group&amp;gt;, please switch active group and try again'"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Jun 2020 20:23:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-can-I-delete-the-last-license-from-an-active-group/m-p/409694#M5497</guid>
      <dc:creator>jhatch_splunk</dc:creator>
      <dc:date>2020-06-15T20:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete the last license from an active group?</title>
      <link>https://community.splunk.com/t5/Installation/How-can-I-delete-the-last-license-from-an-active-group/m-p/409695#M5498</link>
      <description>&lt;P&gt;is this a question?&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 14:44:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-can-I-delete-the-last-license-from-an-active-group/m-p/409695#M5498</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-05-24T14:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete the last license from an active group?</title>
      <link>https://community.splunk.com/t5/Installation/How-can-I-delete-the-last-license-from-an-active-group/m-p/409696#M5499</link>
      <description>&lt;P&gt;Thanks for sharing.&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 15:43:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-can-I-delete-the-last-license-from-an-active-group/m-p/409696#M5499</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-05-24T15:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete the last license from an active group?</title>
      <link>https://community.splunk.com/t5/Installation/How-can-I-delete-the-last-license-from-an-active-group/m-p/409697#M5500</link>
      <description>&lt;P&gt;You must first switch groups before removing the last license, in the below example we are using the 'Free' license group.&lt;/P&gt;

&lt;P&gt;Via the GUI;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Settings &amp;gt; Licensing &amp;gt; Change license group &amp;gt; Free license (save and 'restart now') 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or via the CLI;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk edit licenser-groups Free -is_active 1
$SPLUNK_HOME/bin/splunk restart
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Once splunkd restarts, re-run the license removal operation, first running 'list licenses' to confirm the correct hash for the license to be removed;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk list licenses
$SPLUNK_HOME/bin/splunk remove licenses &amp;lt;hash&amp;gt; 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Subsequently installing a new license will automatically switch to, and make active, the group appropriate to the type of license installed (Enterprise, DevTest, etc) following a restart of splunkd.&lt;/P&gt;

&lt;P&gt;Add the new license using the GUI;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Settings &amp;gt; Licensing &amp;gt; Add license &amp;gt; &amp;lt;select license&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or add the new license using the CLI;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk add licenses &amp;lt;path_to_license&amp;gt;
$SPLUNK_HOME/bin/splunk restart
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 May 2018 15:44:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-can-I-delete-the-last-license-from-an-active-group/m-p/409697#M5500</guid>
      <dc:creator>jhatch_splunk</dc:creator>
      <dc:date>2018-05-24T15:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete the last license from an active group?</title>
      <link>https://community.splunk.com/t5/Installation/How-can-I-delete-the-last-license-from-an-active-group/m-p/409698#M5501</link>
      <description>&lt;P&gt;Good point...I've split the question and answer across separate posts.&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 15:45:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-can-I-delete-the-last-license-from-an-active-group/m-p/409698#M5501</guid>
      <dc:creator>jhatch_splunk</dc:creator>
      <dc:date>2018-05-24T15:45:41Z</dc:date>
    </item>
  </channel>
</rss>

