Installation Manual

 


Updating 2.1.x to 2.2.x

This documentation does not apply to the most recent version of Splunk. Click here for the latest version.

Updating 2.1.x to 2.2.x

These instructions apply to Splunk 2.1 and later releases. To update a 2.0.x release see the migration instructions.


Step 1

Stop the Splunk Server by running this command on its host.


# $SPLUNK_HOME/bin/splunk stop

Step 2

Create a backup of your $SPLUNK_HOME/etc directory in an alternate location


# cp -r $SPLUNK_HOME/etc /foo/etc.bak

Step 3

Use the upgrade instructions for your package.


RPM

# rpm -U splunk-2.2.i386.rpm

deb

# dpkg -i splunk-2.2-linux-2.6-intel.deb

``FreeBSD``

# pkg_add splunk-2.2-freebsd-5.4-intel.tgz

``MacOS``

Double-click on splunk.pkg


When the installer gets to the Select Destination dialog, click Choose... to select a directory other than /Applications


# installer -pkg splunk.pkg

# installer -pkg splunk.pkg -target /Volumes/LaCie\ Disk

-target specifies a target volume, such as another disk, where Splunk will be installed in /Applications/splunk .


To install into a directory other than /Applications/splunk on any volume, use the graphical installer as described above.


Solaris

# pkgadd splunk.pkg

Tarball

Step 4

If you configured multiple users in your 2.1.x Splunk install those users will not be presented after upgrading to 2.2


The users are still stored in the authentication database. This script will allow your 2.2 install to read the users in.


Step 5

If you altered any of the configuration files verify that those changes were not overwritten. Common configuration files that can be overwritten include (but are not limited to):


Step 6

Restart the Splunk Server.


# cd $SPLUNK_HOME/bin/splunk start

This documentation applies to the following versions of Splunk: 2.1 , 2.2 , 2.2.1 , 2.2.3 , 2.2.6 View the Article History for its revisions.


You must be logged into splunk.com in order to post comments. Log in now.

Was this documentation topic helpful?

If you'd like to hear back from us, please provide your email address:

We'd love to hear what you think about this topic or the documentation as a whole. Feedback you enter here will be delivered to the documentation team.