Upgrade a standalone Splunk Phantom instance
Follow these steps to upgrade your Splunk Phantom instance.
- Make sure you have read 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.
- If you are using a warm standby, disable warm standby. See Upgrade or maintain warm standby instances in Administer Splunk Phantom.
- If you are using automation to run ibackup.pyc to make backups, cancel backups that could run during your upgrade window. For example, if you have configured a cron job to run ibackup.pyc, disable that cron job.
- Stop all Splunk Phantom services. For example, as the root user:
/opt/phantom/bin/stop_phantom.sh
- Delete the file
/tmp/phantomOvaUpgrade
.rm -f /tmp/phantomOvaUpgrade
- Clear the YUM caches. For example, as the root user:
yum clean all
- Update the operating system and installed packages. For example, as the root user:
yum update --exclude=nginx
- If a kernel update was included in your operating system updates, restart the operating system. For example, as the root user: If you did not need to restart the operating system, restart Splunk Phantom. For example, as the root user:
reboot
/<PHANTOM_HOME>/bin/start_phantom.sh
- If a system restart was required, after the system restarts, log in to the operating system as either the root user or a user with sudo privileges.
- Install the Splunk Phantom repository and signing keys. See Splunk Phantom repositories and signing keys packages.
- 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.
- After the upgrade is complete, from Main Menu > Administration > Administration Settings > Search Settings, select Playbook from the drop-down menu, then click the Reindex Search Data button.
Splunk Phantom repositories and signing keys packages | Upgrade Splunk Phantom on a system with limited internet access |
This documentation applies to the following versions of Splunk® Phantom (Legacy): 4.8
Feedback submitted, thanks!