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
- Edit the
$LOCAL_CASE_DIR/$CASE_NAME/inventory/automateInstall/files/values.conf file
with the appropriate configuration details.
- Set
SKIP_INSTALL_ICS to true.
- Set
APPLY_CR to false as the Guardium Insights instance exists on the system
already.
- 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
- After the script runs successfully, edit the custom resource (CR) file by using the
following command.
oc edit guardiuminsights -n $NAMESPACE
- Change the
version to the Guardium Insights version that you want to upgrade
to.For example, change the version to 3.3.0.
- Change the
license.licenseType to L-TFWF-ZZ5233.
- Change the
guardiumInsightsGlobal.insights.ics.namespace to
GI_NAMESPACE.
- Check the status of the installation.
oc get guardiuminsights –w
In the following output example, the
DESIRED_VERSION is updated to
3.3.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.3.0 3.2.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.