Installation

Upgrade Splunk Enterprise in Linux

jaracan
Communicator

Hi Team,

I am planning to upgrade Splunk Enterprise from version 6.5.2 to 7.0.3 in Linux Redhat and currently looking on this reference
http://docs.splunk.com/Documentation/Splunk/7.1.0/installation/UpgradeonUNIX

I am using tar file. And in step 5 in the link above, it says.
5. To upgrade and migrate, install the Splunk Enterprise package directly over your existing deployment.
If you use a .tar file, expand it into the same directory with the same ownership as your existing Splunk Enterprise instance.
This overwrites and replaces matching files but does not remove unique files.
tar xzf splunk-7.x.x-.tgz -C /splunk/parent/directory

My question is what do we mean by "/splunk/parent/directory"?
My current $SPLUNK_HOME is /opt/splunk.

Does this mean I will just use the command below:
tar -xzf splunk-7.0.3-fa31da744b51-Linux-x86_64.tgz -C /opt

OR this one

tar -xzf splunk-7.0.3-fa31da744b51-Linux-x86_64.tgz -C /opt/splunk

Thanks in advance.

Labels (2)
1 Solution

p_gurav
Champion

You have to run this command :

tar -xzf splunk-7.0.3-fa31da744b51-Linux-x86_64.tgz -C /opt

i.e splunk parent directory means where splunk folder lies.

View solution in original post

p_gurav
Champion

You have to run this command :

tar -xzf splunk-7.0.3-fa31da744b51-Linux-x86_64.tgz -C /opt

i.e splunk parent directory means where splunk folder lies.

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...