Splunk® SOAR (On-premises)

Install and Upgrade Splunk SOAR (On-premises)

Acrobat logo Download manual as PDF


The classic playbook editor will be deprecated soon. Convert your classic playbooks to modern mode.
After the future removal of the classic playbook editor, your existing classic playbooks will continue to run, However, you will no longer be able to visualize or modify existing classic playbooks.
For details, see:
Acrobat logo Download topic as PDF

Upgrade a Splunk SOAR (On-premises) instance

Follow these steps to upgrade your unprivileged instance, or to convert and upgrade your existing, privileged instance to an unprivileged instance. Use these steps even if your unprivileged instance has limited access to the internet. The installation TAR file contains everything needed to complete this upgrade.

The same TAR file is used for install and upgrade processes. The file detects the presence of SOAR and installs or upgrades accordingly.

If you have already downloaded and extracted the installer package to migrate your privileged instance to unprivileged, you can move straight to step 10 and run the install script.

  1. Read upgrade overview and prerequisites.
  2. Prepare your system for upgrade. See Prepare your Splunk SOAR (On-premises) deployment for upgrade.
  3. Restart the operating system if you did not recently restart it as part of the preparations in Step 2.
    This step is required to ensure that the upgrade completes successfully and efficiently.
    As the root user:
    reboot
  4. After the system restarts, log in to the operating system as the user that owns Splunk SOAR (On-premises). Do not perform the upgrade as the root user.
  5. Download the unprivileged installer from the Splunk SOAR site. The unprivileged installer prepackages its dependencies and can be installed on systems that cannot reach out to the internet.
    The unprivileged installer is named in the format splunk_soar-unpriv-<major>.<minor>.<patch>.<build>-<commit_short_sha>-<os>-x86_64.tgz.
  6. Conditional: If you have previously upgraded this instance of Splunk SOAR (On-premises), you may still have a directory at <$PHANTOM_HOME>/splunk-soar. If that is true, remove that directory.
    rm -rf <$PHANTOM_HOME>/splunk-soar
  7. Extract the TAR file you downloaded into the Splunk SOAR (On-premises) installation directory.
    tar -xvf <installer>.tgz -C <$PHANTOM_HOME>
    Extracting the TAR file this way creates a new directory in the Splunk SOAR (On-premises) home directory, <$PHANTOM_HOME>/splunk-soar.
  8. Make sure that that your current installation of is running.
    <$PHANTOM_HOME>/bin/start_phantom.sh
  9. Change directory to the <$PHANTOM_HOME>/splunk-soar directory.
    cd <$PHANTOM_HOME>/splunk-soar
  10. The installer package you extracted creates a file called soar-install in the <$PHANTOM_HOME>/splunk-soar directory. Run that script.
    ./soar-install --upgrade --with-apps
    1. Conditional: If you extracted the installation TAR file to a different directory than <$PHANTOM_HOME>/splunk-soar, you must supply the path to your Splunk SOAR (On-premises) installation to the installation script.
      <path/to/extracted/TAR file>/soar-install --splunk-soar-home <path/to/$PHANTOM_HOME> --upgrade --with-apps

      You can see the full list of arguments for the soar-install script by using the --help option.

      If you are converting a privileged cluster to an unprivileged one, you will need to configure your load balancer to listen for your custom HTTPS port. If you did not specify a port during the migration, the port 8443 is set for you. See Manually converting a privileged deployment to an unprivileged deployment for more information.

  11. Verify that upgrade is complete by logging in to the 's web-based user interface.

    If your Splunk SOAR (On-premises) deployment uses an external PostgreSQL database, skip the following steps. When you upgrade to the 6.2.0 or higher release Splunk SOAR (On-premises)'s local PostgreSQL is upgraded from 11.19 to 15.3. Additional manual steps are required to make sure the local PostgreSQL database runs with the best performance. These steps may add significant time to your upgrade.

  12. Remove the PostgreSQL 11 database from Splunk SOAR (On-premises). You may move them to longterm storage or delete them.
    rm -rf <$PHANTOM_HOME>/data/db.old
  13. Optimize Splunk SOAR (On-premises)'s PostgresSQL 15 database so that it gives the best possible performance.
    1. Open a database management shell.
      phenv python -m manage dbshell 
    2. Run this pgsql query.
      VACUUM (VERBOSE, ANALYZE); 
    3. Once the query is complete, close the database management shell.
      \q
  14. After your Splunk SOAR (On-premises) upgrade is complete, remove installation package by deleting the <$PHANTOM_HOME>/splunk-soar directory.
    rm -rf <$PHANTOM_HOME>/splunk-soar
Last modified on 07 March, 2024
PREVIOUS
Convert a privileged Splunk SOAR (On-premises) deployment to an unprivileged deployment
  NEXT
Upgrade a Splunk SOAR (On-premises) cluster

This documentation applies to the following versions of Splunk® SOAR (On-premises): 6.2.0, 6.2.1


Was this documentation topic helpful?


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

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters