Installation

Splunk license reverts to free version after upgrading to 4.2.1

jambajuice
Communicator

Whenever we upgrade a 4.1 server to 4.2.1, Splunk reverts to the enterprise trial license. When I look in the etc directory, I no longer see a splunk.license file. Even after I have added the license to Splunk via the GUI.

We're going to need to upgrade Splunk to 4.2 on over three hundred servers. How can I automate applying the license to those servers after they are upgraded to 4.2.1?

And really, guys... Shouldn't the license survive the upgrade procedure?

Thx.

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Separate forwarder licenses are not required in 4.2. Instead, forwarder licensing is enabled via a server.conf configuration:

[license]
active_group = Forwarder

Maybe it would make sense to have this setting built in to the SplunkLightForwarder and SplunkForwarder apps.

Note that 4.2 enterprise licenses are stored in etc/licenses/stackname/*, and during migration the old etc/splunk.license file is moved there to a stack named enterprise (if it is an eligible enterprise license) and the local server is automatically added to a pool that consumes that license, so it should work exactly the same after upgrade. The old file location of course is no longer valid. You may wish to consolidate all enterprise licenses to a single stack on a master instance, and point all other indexers as slaves to that master.

0 Karma

hazekamp
Builder

Jamba,

For light forwarders you will want to make sure that the following stanza is enabled in server.conf:

## server.conf
[license]
active_group = Forwarder

If you are pushing out via deployment-server or enabling 4.2.x SplunkLightForwarder apps this setting will be enabled automatically. For full forwarders that are indexing the instance should instead be given access to an Enterprise license stack. Universal forwarders apply the forwarding license automatically.

See also: Types of Splunk licenses

0 Karma

jambajuice
Communicator

It looks like this is only happening about 50% of the time. It doesn't seem to matter whether the machine is Windows 2003 or 2008

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...