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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...