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.
- 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.
- 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 with the
nohuphelps you avoid issues in case the SSH session times out, such as upgrade failure or system wipe and rebuild.nohup phantom_offline_setup_<OS>.sh upgrade --no-prompt --without-appsTo upgrade all the installed apps during the platform upgrade:nohup phantom_offline_setup_<OS>.sh --no-prompt upgrade
Because upgraded apps may require changes to their asset configuration, apps should be individually evaluated and upgraded using Main Menu > Apps, then clicking the APP UPDATES button.
- 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: 4.10, 4.10.1, 4.10.2, 4.10.3, 4.10.4, 4.10.6, 4.10.7