Upgrading existing installation
If you are already using earlier releases of IBM Storage Enabler for Containers, you can upgrade to the newer version without having to uninstall the previous one.
Before you begin
To preserve all existing configuration parameters, keep the ubiquity-db PVC, which contains the database.
- Download version 2.1.0 of the IBM Storage Enabler for Containers installation package from IBM® Fix Central .
- Replace the ubiquity_uninstall.sh file from the version 2.0.0 installation package by the one from version 2.1.0, by running the following: cp ../installer-for-ibm-storage-enabler-for-containers-2.1.0/ubiquity_uninstall.sh ../installer-for-ibm-storage-enabler-for-containers-2.0.0/.
- If you intend to continue using the verify-full SSL mode, write down DNS names and/or IP addresses of ubiquity and ubiquity-db service objects. These services must be recreated with the same settings after uninstallation.
- Uninstall any previous installation of the IBM Storage Enabler for Containers, while keeping the ubiquity-db PVC. Use the following command: /ubiquity_uninstall.sh -k ( The -k flag is used to keep the ubiquity-db PVC intact.).
- Recreate two Kubernetes services with DNS/IP address combinations which were in use in the
previous
version.
kubectl create service clusterip ubiquity --clusterip='ubiquity_service_ip' --tcp=9999:9999 --namespace ubiquity kubectl set selector svc ubiquity app.kubernetes.io/name=ubiquity -n ubiquity kubectl create service clusterip ubiquity-db --clusterip='ubiquity_db_service_ip' --tcp=5432:5432 --namespace ubiquity kubectl set selector svc ubiquity-db app.kubernetes.io/name=ubiquity-db -n ubiquity - Create two secrets: Enabler for Containers secret for its database and Enabler for Containers
secret for the IBM Spectrum Connect (Verify that Spectrum Connect secret username and password are
the same as Enabler for Containers interface username and password in Spectrum Connect UI.). See the
Compatibility and requirements for details.
Note: When creating a secret for the Enabler for Containers database, the dbname must be set to ubiquity. Also, its username and password must be the same as in the previous version: UBIQUITY_DB_USERNAME_VALUE and UBIQUITY_DB_PASSWORD_VALUE in the ubiquity_installer.conf file.
Procedure
Perform the following procedure to upgrade IBM Storage Enabler for Containers: