Upgrading to 1.0.19.7
The IBM® Integrated Analytics System 1.0.19.7 upgrade process includes upgrading your Db2 database engine to version 11.5. The procedure is more complex than the standard IIAS upgrade, as it includes a number of pre- and post-upgrade steps to ensure that the database upgrades successfully. Read this section before running apupgrade.
Typically, a Db2 engine upgrade goes smoothly, however, there can be cases where a Db2 engine upgrade can hit some roadblocks which will need manual intervention. Fixing the Db2 upgrade issues can be very complex and time consuming depending on the nature of the Db2 engine changes which may include deprecated functionality.
Troubleshooting and fixing the encountered Db2 issues can potentially overflow the upgrade window of allotted maintenance time. In this scenario, it is possible to rollback to the previous version of Db2 until a solution is available. Db2 11.5 upgrade includes modifications to the catalog which has the potential to break an in-place upgrade which is why the option has been advocated.
When the upgrade is performed, prior to deploying the new Db2 11.5 container, a set of snapshots will be created automatically. A GPFS snapshot of all the key filesystems associated with the Db2 Warehouse container that are mounted from the IIAS platform will be performed. These snapshots will facilitate a roll-back of the Db2 engine to the point in time when the snapshot was created.
To learn more about new features, changes, deprecated or discontinued functionalities in the Db2 engine version 11.5, read What's new and What's changed in the Db2 11.5 Knowledge Center.
Preparation for Db2 engine upgrade to 11.5
Follow all the steps mentioned in this task before you run apupgrade.
Procedure
Upgrading to 1.0.19.7
Once you completed the preparation steps for Db2 engine upgrade, proceed with the standard system upgrade procedure:
Procedure
- Follow the pre-check steps as described in Preparation steps.
- Follow the upgrade procedure as described in Upgrading with apupgrade.
Post-upgrade steps
When the upgrade is finished, run the following steps to verify that the Db2 engine upgrade was successful.
Procedure
What to do next
- If issues arise in any steps above, restoring from an offline backup from the previous Db2 11.1 release may be indicated. Contact IBM support for assistance in restoring an offline backup.
- If the upgrade was successful, and you ensure that Db2 is up and the database operates
without issues, you must delete the snapshot created by apupgrade by using
the apdbrollback tool.
Run the apdbrollback command from platform as
apuser
from the master node on the system. This applies to both Single Rack and Multi Rack Systems.Usage:apdbrollback snapshot --delete [-y] Deletes all the snapshots present in the system Optional arguments -y | --yes If provided, skips the prompt
Example:[apuser@node0101 ~]# apdbrollback snapshot --delete Please enter yes/no if you want to proceed with deleting all existing snapshots yes Successfully deleted snapshot for scratch on node0101-fab Successfully deleted snapshot for local on node0101-fab Successfully deleted snapshot for head on node0101-fab Successfully deleted snapshot for data on node0101-fab Successfully deleted snapshots for all filesystems
If you do not run this step, the following alert will remain open in your system:
902: Stored snapshots reduce available storage
.