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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...