Installation

Splunk upgrade with odd path

jerm1020rq
Explorer

I am working on upgrading a deployment server which is typically an easy task. My issue is that this particular environment has a strange path instead of the usual /opt/splunk/etc. This environment has /opt/Splunk/splunkenterprise/etc/. I feel like if i run the upgrade as i normally do untarring the file to /opt, it could create some issues. does anyone have insight as to if this should be upgraded "business as usual" or if the command needs modification? I am worried that untarring in under /opt will cause issues with other possible dependencies to particular file paths. 

Labels (3)
Tags (1)
0 Karma

scelikok
SplunkTrust
SplunkTrust

You can untar to a temp folder and move like below; (Make sure have a backup before upgrade)

cd /tmp
tar xzvf /path/to/splunk-install.tgz
mv splunk /opt/Splunk/splunkenterprise
If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

codebuilder
Influencer

Just create a symlink named /opt/splunk which points to your odd path:

ln -s /opt/Splunk/splunkenterprise /opt/splunk


Make sure it's owned by your Splunk OS user and then continue on with your upgrade.

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

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, ...