Splunk Phantom upgrade overview and prerequisites
requires incremental upgrades from earlier versions. This means, for example, that you need to upgrade from the latest version of 4.8.x to the latest version of 4.9.x to the latest version of 4.10.x to the latest version of 5.0.x.
The current upgrade path can go as follows:
- 4.6.latest version -> 4.8.any version
- 4.8.latest version -> 4.9.any version
- 4.9.latest version -> 4.10.any version
- 4.10.any version -> 4.10.any later version (no going backward)
- 4.10.latest version (4.10.7) -> 5.0.1
See the following table for latest build numbers.
|Starting Splunk Phantom or release||Build number||Upgrade to version||Build number|
|Splunk Phantom 4.6||4.6.19142||Splunk Phantom 4.8 patch 1||4.8.24304|
|Splunk Phantom 4.8 patch 1||4.8.24304||Splunk Phantom 4.9 Release 5||4.9.39220|
|Splunk Phantom 4.9 Release 5||4.9.39220||Splunk Phantom 4.10.7||184.108.40.206984|
|Splunk Phantom 4.10.7||220.127.116.11984||Splunk SOAR (On-premises) 5.0.1
See Splunk SOAR (On-premises).
Do not skip any required versions when upgrading Splunk Phantom. For example, to upgrade Splunk Phantom from version 4.9 to version 5.0.1, you must upgrade to version 4.10.7 before upgrading to version 5.0.1.
Follow these steps to prepare for and then perform an upgrade of Splunk Phantom.
|1||Make a full back up of your Splunk Phantom deployment||Make a full backup of your Splunk Phantom deployment before upgrading. See Backup or restore your Splunk Phantom instance in Administer Splunk Phantom.
For single instance deployments running as a virtual machine, you can create a snapshot of the virtual machine instead.
|2||Do the prerequisites||See Prerequisites for upgrading Splunk Phantom.
|3||Prepare your Splunk Phantom deployment for upgrade||See Prepare your Splunk Phantom deployment for upgrade.
|4||Upgrade Splunk Phantom||See Upgrade Splunk Phantom|
|5||Conditional Rerun the setup command for ibackup.||See Prepare Splunk Phantom for a backup in Back up a Splunk Phantom deployment in Administer Splunk Phantom.|
After all the preparation stages are complete, you can upgrade your Splunk Phantom instance or cluster. For clustered deployments, after the preparation stages are complete, upgrading your Splunk Phantom cluster is done in a rolling fashion, one node at a time.
Prerequisites for upgrading Splunk Phantom
You need the following information before beginning your upgrade:
- For privileged deployments, user accounts on the operating system for your Splunk Phantom instance or cluster nodes with sudo or root access on those systems.
- For unprivileged deployments, you also need the login credentials for the user account that runs Splunk Phantom. For new AMI or OVA versions of Splunk Phantom 4.10, the user account is phantom.
- Your Splunk Phantom Community portal login.
- If your Splunk Phantom deployment has restricted internet access, you will need a local yum repository or a satellite server from which to get yum packages.
- A minimum of 5GB of space available in the
/tmpdirectory on the Splunk Phantom instance or cluster node.
For deployments with restricted internet access, add local yum repositories for upgrade
If your Splunk Phantom deployment has no access or restricted access to the internet, you must either create a satellite server or local YUM repository for operating system packages and other dependencies. See the Red Hat Knowledgebase article How can we regularly update a disconnected system (A system without internet connection)?
The required upgrade repositories are:
Prepare your Splunk Phantom deployment for upgrade
Before you upgrade Splunk Phantom, you will need to prepare your instance or your cluster nodes by updating the operating system, installed packages, and adding the Splunk Phantom repositories and their signing keys.
Migrate a privileged deployment to an unprivileged deployment
In Splunk Phantom 4.10 and for future releases, the AMI and OVA versions of Splunk Phantom are unprivileged. New AMI and OVA installations run Splunk Phantom as the user account phantom rather than as root.
If your deployment intends to migrate an existing deployment from a privileged to an unprivileged deployment as part of your upgrade to from Splunk Phantom 4.9 to Splunk Phantom version 4.10, you will use the 'Official Unprivileged Tarball to complete your upgrade and conversion. See Upgrade a single unprivileged Splunk Phantom instance or Upgrade an unprivileged Splunk Phantom Cluster.
Update the operating system and installed packages
Follow these steps to update the operating system and otherwise prepare your deployment for the upgrade.
For a clustered deployment of Splunk Phantom, prepare cluster nodes in a rolling fashion, one cluster node at a time.
- Log in to the Splunk Phantom instance's operating system:
- For privileged deployments, log in as the root user or a user with sudo privileges.
- For unprivileged deployments, log in as the user account that runs Splunk Phantom.
- If you use a warm standby or use ibackup.pyc for backups, you must disable those features before proceeding. If you are not using either of those features, you may skip these sub-steps.
- On a single instance deployment of Splunk Phantom, 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.
- Disable WAL archiving for the PostgreSQL database. Set the
archive_modeto "off" in the file
/opt/phantom/data/db/postgresql.phantom.conf. If your PostgreSQL database is on its own server, you need to disable WAL archiving on that system, not the Splunk Phantom instance.
sed -i -e 's/archive_mode = on/archive_mode = off/i' /<PHANTOM_HOME>/data/db/postgresql.phantom.conf
- Restart PostgreSQL to make the configuration change take effect.
/<PHANTOM_HOME>/bin/phsvc restart postgresql-11
- Stop all Splunk Phantom services. For example, as the root user:
- Clear the YUM caches. As the root user:
yum clean all
- Update the installed software packages, excluding Nginx, and apply operating system patches. As the root user: Systems which cannot access YUM repositories over the internet need a satellite server. See For deployments with restricted internet access, add local yum repositories for upgrade.
yum update --exclude=nginx --disablerepo=phantom*
If you are using the EPEL repository some packages may be upgraded to a version higher than supported by Splunk Phantom. In this case, you want to use the Official Offline RPMs instead of using YUM to get the required versions of package dependencies for Splunk Phantom. See For Splunk Phantom deployments without internet access or unprivileged deployments for instructions.
- If a kernel update was included in your operating system updates, restart the operating system. As the root user: If you did not need to restart the operating system, restart Splunk Phantom. As the root user:
- 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.
- The install script requires the ability to create jobs in cron. See System requirements for production use. Check that the cron daemon is running.
ps -ef | grep crond
- If the cron daemon is not running, start it.
systemctl start crond.service
- If the cron daemon is not running, start it.
Install the Splunk Phantom repositories and signing keys
- For privileged deployments with internet access, install the Splunk Phantom repository and signing keys. See Splunk Phantom repositories and signing keys packages.
- For unprivileged deployments, or deployments with limited internet access, the repositories and signing keys are included in the upgrade tar file. See For Splunk Phantom deployments without internet access or unprivileged deployments.
Upgrade Splunk Phantom
When you are ready to upgrade Splunk Phantom, follow one of these sets of instructions, based on the type of your Splunk Phantom deployment.
Set up Splunk Enterprise
Splunk Phantom repositories and signing keys packages
This documentation applies to the following versions of Splunk® Phantom: 4.10.7