Upgrading Guardium Insights by using the all-in-one script

You can upgrade Guardium® Insights manually or by using the all-in-one script.

About this task

Use the following procedure to upgrade Guardium Insights by using the all-in-one script. If you are upgrading Guardium Insights manually, you can skip this procedure.

Procedure

  1. Edit the $LOCAL_CASE_DIR/$CASE_NAME/inventory/automateInstall/files/values.conf file with the appropriate configuration details.
    1. Set SKIP_INSTALL_ICS to false.
    2. Set APPLY_CR to false as the Guardium Insights instance exists on the system already.
    3. Set SKIP_IBM_CERT_INSTALL to true as IBM® Common Services is upgraded from version 3.19.x to 4.5.x during migration.
    4. Run the all-in-one script by using the following command.
      oc ibm-pak launch $CASE_NAME \
        --version $CASE_VERSION \
        --namespace ${NAMESPACE} \
        --inventory automateInstall \
        --action autoInstall \
        --tolerance 1 | tee -a ${LOCAL_INSTALL_DIR}/installation.log
      
  2. After the script runs successfully, edit the custom resource (CR) file by using the following command.
    oc edit guardiuminsights -n $NAMESPACE
    1. Change the version to the 3.5.0.
    2. Change the license.licenseType to L-YRPR-ZV3BA6. For more information, see License options.
    3. Change the guardiumInsightsGlobal.insights.ics.namespace to GI_NAMESPACE.
  3. Check the status of the installation.
    oc get guardiuminsights –w
    In the following output example, the DESIRED_VERSION is updated to 3.5.0. The displayed versions in the output vary based on the Guardium Insights version that you want to install and the current version on your system.
    NAME      TYPE      STATUS   REASON       MESSAGE                   DESIRED_VERSION   INSTALLED_VERSION
    staging   Ready     True     Complete     Completed Reconciliation   3.5.0            3.4.0            

What to do next

After you upgrade the Cloud Pak foundational services version, you can remove the older version of Cloud Pak foundational services by completing the following steps.