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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...