Splunk® Phantom (Legacy)

Install and Upgrade Splunk Phantom

Acrobat logo Download manual as PDF


This documentation does not apply to the most recent version of Splunk® Phantom (Legacy). For documentation on the most recent version, go to the latest release.
Acrobat logo Download topic as PDF

Upgrade a Splunk Phantom cluster

Perform the following tasks to upgrade your Splunk Phantom cluster. This section applies to privileged clusters running on local hardware, or privileged clusters running in Amazon Web Services.

  1. Read Splunk Phantom upgrade overview and prerequisites.
  2. Prepare each node for upgrade:
    1. On each cluster node, update the operating system and installed packages: See Prepare your Splunk Phantom deployment for upgrade.
    2. On each cluster node, install the Splunk Phantom source repositories and signing keys. See Splunk Phantom repositories and signing keys packages.
  3. Upgrade the PostgreSQL database. See Upgrade PostgreSQL for Splunk Phantom deployments with external databases.
  4. Upgrade the GlusterFS-based file share. See Upgrade GlusterFS for Splunk Phantom deployments with GlusterFS fileshares.
  5. On each node, one node at a time, Upgrade the cluster node.
  6. If the upgrade script produced the following message:
    To improve database performance, after completing the upgrade, run: su - postgres -c '/usr/pgsql-11/bin/vacuumdb -h /tmp --all --analyze-in-stages'
    Then run the command:
    su - postgres -c '/usr/pgsql-11/bin/vacuumdb -h /tmp --all --analyze-in-stages'
  7. Once all cluster nodes have been upgraded, reindex playbook data. From Main Menu > Administration > Administration Settings > Search Settings, select "playbooks from the drop-down menu, then click the Reindex Search Data button.

Upgrade the cluster node

Do not attempt to upgrade all the nodes at the same time. Upgrade a single node and bring it back online before proceeding to the next cluster node.

When you have upgraded N+1 nodes, where N is equal to half of the number of nodes in your cluster, database migrations will be applied. This can take a significant amount of time, depending on the amount of data in your database and the version of Splunk Phantom from which you're upgrading.

  1. Log in to the operating system as either the root user or a user with sudo privileges.
  2. Run the upgrade script. For example, as the root user:
    /opt/phantom/bin/phantom_setup.sh upgrade
    If you don't want to upgrade your installed apps during the upgrade, you can use the --without-apps option.
    /opt/phantom/bin/phantom_setup.sh upgrade --without-apps

    You will be prompted during this script for your Splunk Phantom Community portal login.

Last modified on 07 May, 2021
PREVIOUS
Upgrade a single unprivileged Splunk Phantom instance
  NEXT
Upgrade an unprivileged Splunk Phantom Cluster

This documentation applies to the following versions of Splunk® Phantom (Legacy): 4.9


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