Changed in 51.0.0.0 Upgrading the SOAR Platform
The supported upgrade path for IBM Security® QRadar® SOAR Platform requires that you upgrade to each major release, one at a time. For example, if you currently have V49 installed and you want to upgrade to V51, you must run two installers. You must first upgrade to V50 and then upgrade to V51.
When you upgrade to a major version, it is recommended to install the latest point release for the version that you are installing. The latest version is SOAR Platform 51.0.0.0.
Before you begin
- Download the upgrade package from IBM® Support Fix
Central.
By default, the security updates and optional packages are included in the SOAR software package; however, you can select a different download option so that you can download each package separately.
- If your environment includes a Disaster Recovery (DR) system, you must disable it before you
upgrade the SOAR Platform. For more information, see
Disabling Disaster
Recovery.
When you upgrade, you must upgrade both the SOAR Platform and the DR system to the same version.
- If your SOAR Platform is configured to use an App Host, consider upgrading the App Host software.
About this task
The upgrade automatically backs up the full database.
If the upgrade includes new features or enhancements that require specific privileges, the upgrade process does not change the privileges for existing roles. Administrators must update the permissions to make the new features available to existing roles.
The upgrade process creates a snapshot of the Elasticsearch data that exists on your system. The Elasticsearch snapshot is incremental so the first time that you upgrade, it might take a little longer than usual while the snapshot is created. You can view the log file for creating the Elasticsearch snapshot in /usr/share/co3/logs/create_es_snapshot_before-upgrade-<version>.log.
New in 51.0.0.0 As part of the upgrade process for
SOAR Platform to V51, PostgreSQL is upgraded to
PostgreSQL 14. During the upgrade process, the SOAR Platform uses pgbackrest
to do an
incremental backup of PostgreSQL 12 data. When the database is upgraded to PostgreSQL 14, the
SOAR Platform takes a full backup (as it is the first
backup of the PostgreSQL 14 database). Because the SOAR Platform needs to take a full backup of the database, this
upgrade might take longer than usual. You can view the log file for the PostgreSQL upgrade at
/usr/share/co3/logs/postgresql_12_to_14_*.log.
Procedure
Results
The upgrade continues to run until the process is complete. Depending on which version you upgraded from, some user and API key account owners might receive emails that state that the account is expiring.
What to do next
Post-installation setup has failed Failed to upgrade IBM Security SOAR
If needed, you can revert to the previous state.
- Use the yum command to view the backup package IDs.
sudo yum history
- To revert to the previous state, type this command, using the ID of the backup package that you
want to restore to.
sudo /crypt/resRollbackServerUpgrade /crypt/db_restore_points/before-upgrade-<xx.x.xxxx>-<date> <backup_package_ID>
- Type this command to list the backup
sets.
sudo -u postgres pgbackrest --stanza=ibm-security-soar info
By default, the stanza name is
ibm-security-soar
. If your stanza name is different, use it. - Choose the backup set that you want to restore to, and run the following command to restore the
database.
sudo resRestoreDatabaseToRestorePoint -b <backup_set_name> -p <restore_point>
For example,sudo resRestoreDatabaseToRestorePoint -b 20220522-000101F_20220527-014158I -p before-upgrade-46.0.7900-20220527014202
If postgresql cannot find the restore point from that backup set, the restore fails. You need to cat the restore point file to get the restore point. Afterward, repeat the procedure and choose a different backup set.
To cat the file, use the following command.-bash-4.2$ sudo cat /crypt/db_restore_points/before-upgrade-<xx.x.xxx-date>
You see output similar to the following example.backup_set:20220522-000101F_20220527-014158I restore_point:before-upgrade-46.0.7900-20220527014202 restore_target_time:2022-07-27 01:42:02.359892+00 last_upgrade_script:569-update-united-kingdom-tooltip.groovy
- Roll back the SOAR Platform:
Thesudo /crypt/resRollbackServerUpgrade -n <yum_ID>
-n
option prevents the rollback of the database, which was done in the previous step.
New in 51.0.0.0 The SOAR Platform automatically completes a full backup of the database once every week, and does an incremental backup of the database every day thereafter. It also expires any backups that are more than a week old. So when you upgrade to SOAR Platform V51, the last remaining PostgreSQL 12 backup remains on the system for one week, before being expired. You can copy this last PostgreSQL 12 backup to a permanent location so that you can roll back your system to SOAR Platform V50 more than a week after the upgrade.
sudo cp /crypt/pgbackrest_repo/backup/ibm-security-soar/<backup-set> <permanent>/<location>/<directory>
To find out which backup set is used by the pre-upgrade restore point, use the following
cat
command:$ sudo cat /crypt/db_restore_points/before-upgrade-<xx.x.xxx-date>
The
output includes a backup_set:
field, where it lists the backup set that is used by
the pre-upgrade restore point. If you saved this backup permanently and want to restore to using it
after the original has expired, you must move it back to the
/crypt/pgbackrest_repo/backup/ibm-security-soar/ directory.