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.
- Read Splunk Phantom upgrade overview and prerequisites.
- Prepare each node for upgrade:
- On each cluster node, update the operating system and installed packages: See Prepare your Splunk Phantom deployment for upgrade.
- On each cluster node, install the Splunk Phantom source repositories and signing keys. See Splunk Phantom repositories and signing keys packages.
- Upgrade the PostgreSQL database. See Upgrade PostgreSQL for Splunk Phantom deployments with external databases.
- Upgrade the GlusterFS-based file share. See Upgrade GlusterFS for Splunk Phantom deployments with GlusterFS fileshares.
- On each node, one node at a time, Upgrade the cluster node.
- If the upgrade script produced the following message: Then run the command:
To improve database performance, after completing the upgrade, run: su - postgres -c '/usr/pgsql-11/bin/vacuumdb -h /tmp --all --analyze-in-stages'
su - postgres -c '/usr/pgsql-11/bin/vacuumdb -h /tmp --all --analyze-in-stages'
- 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.
- Log in to the operating system as either the root user or a user with sudo privileges.
- Run the upgrade script. For example, as the root user: If you don't want to upgrade your installed apps during the upgrade, you can use the
/opt/phantom/bin/phantom_setup.sh upgrade
--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.
Upgrade a single unprivileged Splunk Phantom instance | Upgrade an unprivileged Splunk Phantom Cluster |
This documentation applies to the following versions of Splunk® Phantom (Legacy): 4.9
Feedback submitted, thanks!