Upgrading
This will guide you through the upgrade process of IBM Financial Services Workbench.
The upgrade is similar to the installation process, except that backups should be created, configuration files do not need to be created from scratch, and version-specific configuration and migration steps must be performed according to the latest upgrade notes.
Here's the basic process for installing a new upgrade or hotfix version:
Check prerequisites
Before you upgrade IBM Financial Services Workbench, ensure that the following tasks are complete:
Review the upgrade notes
Please note the version-specific upgrade instructions in the upgrade notes for your version. It contains important information about the version-specific changes and the necessary changes to be made when you upgrade to the new version. Also check the upgrade notes of all version numbers between the currently installed version and the version you are about to install.
Verify system requirements
If you plan to upgrade IBM Cloud Pak for Data or a third-party component along with the upgrade, please check compatibility with the system requirements and inspect the installing 3rd-party components page before upgrading to the new version. It is recommended that you upgrade only on the basis of the changes required for the upgrade and re-run the installation process separately if other configuration changes require it.
Provide access to the configuration files of the last installation
This guide assumes that you have read access to the folder containing the customized configuration files that were used for the currently installed version. Use the backup of the custom configuration files that was created according to the Backup the configuration files section just before the last installation was performed. For example in folder
~/install/ssob_2.2.2/ssob-install/deployments/configs.bak/
.Obtain account with sufficient permissions
Setting up cluster-wide resources requires an account in the cluster administrator role, and upgrading to a new version by running the
install.sh
script requires the project administrator role for the project where you previously installed IBM Financial Services Workbench.
Obtain the installation package
To obtain files required for upgrading IBM Financial Services Workbench:
Search for Financial Services Workbench for Cloud Pak for Data
Download the new version you want to upgrade to, e.g.
ssob-3.0-ibm-openshift-4.6-cpd-installations.tgz
(search for the latest version)
Unpack the installation file on the computer from which the installation commands are to be executed:
INSTALLDIR=~/install/
mkdir ${INSTALLDIR}
cd ${INSTALLDIR}
tar xzvf ssob-3.0-ibm-openshift-4.6-cpd-installations.tgz
mv ssob-3.0-ibm-openshift-4.6-cpd-installations ssob_3.0
cd ${INSTALLDIR}/ssob_3.0
ssob-install/deployments/configs
folder that will
contain the customized parameters for this installation are still accessible when upgrading to a newer version.Configure the new version
Unless required otherwise in the upgrade notes, the upgrade uses the same configuration files that were active when the
last version was installed. Take the configuration files from the backup configuration directory of the last
installation, e.g. ~/install/ssob_2.2.2/ssob-install/deployments/configs.bak/
and copy those files to the config
folder of the version you are about to install, e.g. ~/install/ssob_3.0/ssob-install/deployments/configs/
.
Customize the configuration files
Adjust the configuration to your needs based on the upgrade notes:
scp
to the server host and download the files to your local computer, see example below.
scp user@remote_host:remote_file ~/remote_directory
scp root@11.11.11.11:/root/install/ssob_3.0/ssob-install/deployments/configs/install_init_data.yaml /root/install
Locally edit your files and then connect via scp to the server host and upload each edited file, for example:
scp local_file user@remote_host:remote_file
scp install_init_data.yaml root@11.11.11.11:/root/install/ssob_3.0/ssob-install/deployments/configs/install_init_data.yaml
After transferring or editing the files, make sure that the file structure has not changed.
vimdiff /root/install/ssob_2.2.2/ssob-install/deployments/configs.bak/install_init_data.yaml configs/install_init_data.yaml
vimdiff /root/install/ssob_2.2.2/ssob-install/deployments/configs.bak/solution-designer-values.yaml configs/solution-designer-values.yaml
vimdiff /root/install/ssob_2.2.2/ssob-install/deployments/configs.bak/solution-hub-values.yaml configs/solution-hub-values.yaml
Backup the configuration files
Backup the following files:
install_init_data.yaml
install.yaml
solution-designer-values.yaml
solution-hub-values.yaml
For example:
cd ~/install/ssob_3.0/ssob-install/deployments
mv configs configs.bak
mkdir configs
cp ./configs.bak/* configs
Install the Upgrade
For detailed instructions, refer to the installation process. The installation of the new version during the upgrade is essentially the same as the initial installation. To illustrate the upgrade, the following sections provide examples of the commands required for the installation.
Make sure that docker is started and that you are logged into OpenShift as project / cluster admin.
oc login systemctl start docker cd ~/install/ssob_3.0
Run the script
ssob_admin_setup.sh
with cluster-admin permissions in the project where the last version was installed , i.e.zen
.cd ssob-install/deployments chmod +x ssob_admin_setup.sh ./ssob_admin_setup.sh --accept_license --cpd_namespace=zen --external_address_image_registry=image-registry.apps.{your.domain.cloud}
Run the script
ssob_install.sh
with project-admin permissions in the project where the last version was installed.$ cd ~/install/ssob_3.0/ssob-install/deployments $ chmod +x ssob_install.sh $ ./ssob_install.sh \ --accept_license \ --external_address_image_registry=image-registry.apps.{your.domain.cloud} \ --internal_address_image_registry=image-registry.openshift-image-registry.svc:5000 \ --cpd_namespace=zen \ --host_domain=apps.{your.domain.cloud} \ --helm-tls-ca-cert=~/install/ssob_3.0/zenhelm/ca.cert.pem \ --helm-tls-cert=~/install/ssob_3.0/zenhelm/helm.cert.pem \ --helm-tls-key=~/install/ssob_3.0/zenhelm/helm.key.pem
Solution Designer and Solution Hub will not work until the configuration via the K5 Configurator API has been done properly. If you are upgrading to version 2.5, you must configure this once.
Attention: If you upgrade to 2.5, you must keep your previous configuration available (see pre-installation-checklist.html#concept_pre_installation__section_xfb_kqs_tnb ) and use the K5 Configurator API to create the same configuration settings as before the upgrade.The installation will finish with the message
The script finished successfully
. Make sure that the expected versions of Solution Designer and Solution Hub are deployed. Additionally, check at least that the Solution Designer works as expected.In case the installation failed, please check the log file
/tmp/wdp.install.log
and refer to the Troubleshooting section.
Perform Post-Upgrade tasks
Please refer to the upgrade notes for the corresponding version(s). They may contain additional necessary upgrade steps, especially migration instructions. And validate that the Solution Designer and Solution Envoy Web applications can be opened in the browser.