Upgrading Guardium Data Security Center by using the all-in-one script

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

About this task

Use the following procedure to upgrade Guardium Data Security Center by using the all-in-one script. If you are upgrading Guardium Data Security Center 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 Data Security Center instance exists on the system already.
    3. Set SKIP_IBM_CERT_INSTALL to true.
    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 guardiumdatasecuritycenter -n $NAMESPACE
    1. Change the version to the Guardium Data Security Center version that you want to upgrade to.
      For example, change the version to 3.6.0.
    2. Change the license.licenseType to a value that works for the Guardium Data Security Center version that you want to upgrade to. For more information, see License options.
    3. Change the guardiumGlobal.instance.ics.namespace to GDSC_NAMESPACE.
  3. Check the status of the upgrade process.
    oc get guardiumdatasecuritycenter –w
    In the following output example, the DESIRED_VERSION is updated to 3.6.0.
    NAME      TYPE    STATUS   REASON      MESSAGE                    DESIRED_VERSION   INSTALLED_VERSION
    staging   Ready   True     Completed   Completed Reconciliation   3.6.0            3.6.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.