Upgrading IBM Storage Fusion
Procedure to upgrade IBM Storage Fusion to 2.5.1 or 2.5.2. You can also follow these steps to upgrade from 2.5.1 to 2.5.2.
Before you begin
- Ensure that you are on IBM Storage Fusion version 2.4.
- If you installed IBM Storage Fusion version 2.4 by using online or your enterprise registry installation mode, then ensure that you do not change the mode during the upgrade to 2.5.1 version. To change the installation mode, reinstall IBM Storage Fusion 2.5.1 or 2.5.2.
- Ensure all compute nodes are in ready state on OpenShift® user interface.
- Ensure node upsize and disk scale out are not initiated until upgrade is complete.
- Logs that you collected by using the IBM Storage Fusion Collect logs user interface page gets deleted after the upgrade process completes. Download the needed logs before you begin the upgrade.
- Setup enterprise registryIf you installed the earlier version of IBM Storage Fusion by using your enterprise registry, then follow the steps to mirror images in your enterprise registry.
- Mirror IBM Storage Fusion, IBM Spectrum Scale, IBM Spectrum Protect Plus, Backup & Restore, IBM Storage Fusion Data Foundation and Data Cataloging images. For steps to mirror, see Mirroring your images to the enterprise registry.
- Update the global pull secret with the mirror registry credentials to which the current version images are mirrored. Ignore this step, if you are mirroring to the same enterprise registry that you used for the previous version.
- In the IBM Storage Fusion namespace, create a new
key/value secret named
user-install-secretusing the following content.For example 2.5.1:
{ isfimagepath: <path to the mirrored images within the regsitry> isfregistry: <isf-enterprise-registry>:<port> isfregistrypassword: <enterprise registry password> isfregistryuser: <enterprise registry user name> isPrivateRegistry: true }See the followinguser-install-secretsample for 2.5.1:kind: Secret apiVersion: v1 metadata: name: user-install-secret namespace: ibm-spectrum-fusion-ns data: isfregistry: <enterprise registry host:enterprise registry port> isfimagepath: <isf 2.5.1 mirror path> isfregistryuser: <enterprise registry user name> isfregistrypassword: <enterprise registry password> isPrivateRegistry: true - Modify the image content source policy
isf-operator-indexto add the new mirror that points to the new registry for each source defined in the image content source policy. Ignore this step, if you are mirroring to the same enterprise registry as the previous version.See the sample image content source policy for 2.4 to 2.5.1 upgrade path:apiVersion: operator.openshift.io/v1alpha1 kind: ImageContentSourcePolicy metadata: name: isf-catalog-index spec: repositoryDigestMirrors: # for scale - mirrors: - <ISF 2.4 enterprise registry host>/<ISF 2.4 target-path> - <ISF 2.4 enterprise registry host:port>/<ISF 2.4 target-path> - <ISF 2.5.1 enterprise registry host>/<ISF 2.5.1 target-path> - <ISF 2.5.1 enterprise registry host:port>/<ISF 2.5.1 target-path> source: cp.icr.io/cp/spectrum/scale - mirrors: - <ISF 2.4 enterprise registry host>/<ISF 2.4 target-path> - <ISF 2.4 enterprise registry host:port>/<ISF 2.4 target-path> - <ISF 2.5.1 enterprise registry host>/<ISF 2.5.1 target-path> - <ISF 2.5.1 enterprise registry host:port>/<ISF 2.5.1 target-path> source: icr.io/cpopen #for IBM Spectrum Fusion operator - mirrors: - <ISF 2.4 enterprise registry host>/<ISF 2.4 target-path> - <ISF 2.4 enterprise registry host:port>/<ISF 2.4 target-path> - <ISF 2.5.1 enterprise registry host>/<ISF 2.5.1 target-path> - <ISF 2.5.1 enterprise registry host:port>/<ISF 2.5.1 target-path> source: cp.icr.io/cp/isf-sds # for spp agent - mirrors: - <ISF 2.4 enterprise registry host>/<ISF 2.4 target-path>/sppc - <ISF 2.4 enterprise registry host:port>/<ISF 2.4 target-path>/sppc - <ISF 2.5.1 enterprise registry host>/<ISF 2.5.1 target-path>/sppc - <ISF 2.5.1 enterprise registry host:port>/<ISF 2.5.1 target-path>/sppc source: cp.icr.io/cp/sppc - mirrors: - <ISF 2.4 enterprise registry host>/<ISF 2.4 target-path>/sppc - <ISF 2.4 enterprise registry host:port>/<ISF 2.4 target-path>/sppc - <ISF 2.5.1 enterprise registry host>/<ISF 2.5.1 target-path>/sppc - <ISF 2.5.1 enterprise registry host:port>/<ISF 2.5.1 target-path>/sppc source: registry.redhat.io/amq7 - mirrors: - <ISF 2.4 enterprise registry host>/<ISF 2.4 target-path>/sppc - <ISF 2.4 enterprise registry host:port>/<ISF 2.4 target-path>/sppc - <ISF 2.5.1 enterprise registry host>/<ISF 2.5.1 target-path>/sppc - <ISF 2.5.1 enterprise registry host:port>/<ISF 2.5.1 target-path>/sppc source: registry.redhat.io/oadp
About this task
- 2.4 version to 2.5.1
- 2.4 version to 2.5.2
- 2.5.1 to 2.5.2
Procedure
What to do next
To start IBM Spectrum Protect Plus upgrade, set
triggerUpgrade
to
true:fusionns=$(oc get spectrumfusions.prereq.isf.ibm.com -A -o=custom-columns=CR_NAME:.metadata.namespace --no-headers)
oc patch -p '{"spec":{"triggerUpgrade":true}}' --type=merge sppmanager/sppmanager -n $fusionns