Installation

move Splunk install from one directory to another

seanlon11
Path Finder

On my Unix system:

I have installed Splunk to: /opt/splunk/

However, now I'd like to move it to: /opt/splunk/server

Can I just do move the files from the original location to the 2nd location? Or will I have to do an entirely new install to the new location?

Thanks, Sean

Tags (1)
0 Karma
1 Solution

Chris_R_
Splunk Employee
Splunk Employee

Moving directories in this way will work since all files necessary for splunk to funciton are contained under the working directory. If your environment variables need to be manually set, make the edits to $SPLUNK_HOME And $SPLUNK_DB in /opt/splunk/server/etc/splunk-launch.conf

View solution in original post

Chris_R_
Splunk Employee
Splunk Employee

Moving directories in this way will work since all files necessary for splunk to funciton are contained under the working directory. If your environment variables need to be manually set, make the edits to $SPLUNK_HOME And $SPLUNK_DB in /opt/splunk/server/etc/splunk-launch.conf

dwaddle
SplunkTrust
SplunkTrust

If you are using the RPM-based installer be careful, as doing upgrades after having moved the files from where RPM thinks they are might be more difficult.

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