Deployment Architecture

Moving splunk to a new server

bfay
Explorer

I am in the process to migrate our Splunk installation to a new server. I found how to move the Splunk index... a big part of the job!

Now I would like to know how I can move the configuration from our old server to the new one. Or maybe the configuration is part of the index?

Thanks,
Bernard

Tags (1)
0 Karma
1 Solution

jbsplunk
Splunk Employee
Splunk Employee

Hello Bernard,

Your indexes are held in the location specified in your SPLUNK_HOME/etc/splunk-launch.conf. By default, if you aren't using any custom indexes, the location is under /opt/splunk/var/lib/splunk/. The configuration can be retained by copying $SPLUNK_HOME/etc/.

More on this topic can be found here:

http://www.splunk.com/wiki/Deploy:Migrating_a_Splunk_Install

View solution in original post

bfay
Explorer

Thanks, this is a very good start.

But I am not sure I can simply copy $SPLUNK_HOME/etc/. We are migrating from a CentOS 5 32-bit to CentOS 5 64-bit. I found some 32-bits files related to an installed app: pdfserver. But it seems the 64-bit binaries for this app have been installed at the same time as the 32-bit binaries. Should I understand from this the copy will be fine and the application pdfserver will be ok in the new environment?

Thanks,
Bernard

jbsplunk
Splunk Employee
Splunk Employee

Hello Bernard,

Your indexes are held in the location specified in your SPLUNK_HOME/etc/splunk-launch.conf. By default, if you aren't using any custom indexes, the location is under /opt/splunk/var/lib/splunk/. The configuration can be retained by copying $SPLUNK_HOME/etc/.

More on this topic can be found here:

http://www.splunk.com/wiki/Deploy:Migrating_a_Splunk_Install

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

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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