Upgrade a single Splunk Phantom instance on a system with limited internet access
Some deployments of Splunk Phantom have deliberately limited access to the internet, making it difficult to upgrade using RPM packages. TAR file distributions of Phantom are available to upgrade these offline deployments.
To upgrade an offline Phantom deployment:
- Get the upgrade TAR file. See Splunk Phantom repositories and signing keys packages.
- Update the operating system and dependencies. See Prepare your Splunk Phantom deployment for upgrade.
- If your Splunk Phantom instance uses an external PostgreSQL database, Upgrade PostgreSQL for Splunk Phantom deployments with external databases.
- If your Splunk Phantom deployment uses an external GlusterFS-based file share, upgrade GlusterFS. See Upgrade GlusterFS for Splunk Phantom deployments with GlusterFS fileshares.
- Upgrade Splunk Phantom from the tar file.
Upgrade Splunk Phantom from the tar file
- Make sure you have read and done the steps from Splunk Phantom upgrade overview and prerequisites.
- Log in to the Splunk Phantom instance's operating system as either the root user or a user with sudo privileges.
- Make a directory for the tar file. mkdir /usr/local/src/upgrade-<version>
- Change to the directory you just created. cd /usr/local/src/upgrade-<version>
- Download or copy the TAR file to the directory you just created.
- Extract the TAR file. tar -xvzf phantom_offline_setup_<OS>-<version>.tgz
- Change to the directory phantom_offline_setup, which was created by extracting the TAR file:cd phantom_offline_setup_<OS>-<version>
- Run the installation script. ./phantom_offline_setup_<OS>.sh upgradeTo upgrade without apps, add
--without-apps
to the command:./phantom_offline_setup_<OS>.sh upgrade --without-apps - 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'
- Validate the upgrade by logging in to the Splunk Phantom web interface.
- Once your deployment has 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 a single Splunk Phantom instance | Upgrade a single unprivileged Splunk Phantom instance |
This documentation applies to the following versions of Splunk® Phantom (Legacy): 4.9
Feedback submitted, thanks!