Upgrading BMC Helix IT Operations Management from version 22.4 to 23.2.02
You might experience downtime during the upgrade, which is to be expected but does not affect the upgrade.
Before you begin
Make sure that you have performed all the steps listed in the Preparing-for-upgrade topic.
To uninstall BMC Helix Logging
Perform the following steps only if you had deployed BMC Helix Logging:
Back up logs from Kibana into a Microsoft Excel file.
- Perform the following steps to uninstall BMC Helix Logging (Elasticsearch, Fluentd, and Kibana):
Export the Helm and Kubectl binary path:
export HELM_BIN=/usr/local/bin/helm
export KUBECTL_BIN=/usr/bin/kubectl- Download the
The Cleanup_Bmchelixlogging.sh script deletes the PVC, pods, and jobs from the bmc-helix-logging namespace. script to clean up the bmc-helix-logging namespace. Run the command to clean up the bmc-helix-logging namespace:
./Cleanup_Bmchelixlogging.sh <bmc-helix-logging namespace><bmc-helix-logging namespace> is the name of the bmc-helix-logging namespace that you used in BMC Helix ITOM 22.4 version.
To delete the helm revision secrets of the Kubernetes CronJob
- Run the following commands to export the kubectl and Helm binary:
export KUBECTL_BIN=<path of KUBECTL_BIN>
export HELM_BIN=<path of HELM_BIN>Copy the path of KUBECTL_BIN and HELM_BIN from the infra.config file. See, Configuration-file-settings.
- Download the
script.- Copy the Cronjob_helm_revision_delete.sh script to helix-on-prem-deployment-manager folder.
- Run the Cronjob_helm_revision_delete.sh script to delete the helm revision secrets of the CronJob :./Cronjob_helm_revision_delete.sh <namespace><namespace> is the namespace where you had deployed BMC Helix IT Operations Management .
export HELM_BIN=<path of HELM_BIN>
To upgrade BMC Helix IT Operations Management
- In the new_working_directory/ configs/deployment.config file, make sure that your deployment size is the same as your previous deployment size; for example, small, compact, medium, or large.
To confirm your deployment size, see the value set for the DEPLOYMENT_SIZE parameter in the configs/ deployment.config file in BMC Helix ITOM version 22.4. - In the new_working_directory/ configs/deployment.config file, update the following values:
- Set the value of INSTALL_MODE to upgrade .
- Set the values of the following infrastructure services to yes.
- _INFRA
- _PTPOSTGRES
- _KAFKA
- _REDIS
- _RSSO
- _VICTORIAMETRICS
- _ELASTICSEARCH
- _MINIO
- For all the BMC Helix ITOM applications for which you are licensed, set the value to yes; for all other services, set the value to no.
For example, if you are only licensed to use BMC Helix Operations Management and BMC Helix Continuous Optimization:- To use BMC Helix Operations Management, set value of MONITOR to yes.
Optionally,- If you want to use AIOps, set AIOPS_SERVICES to yes.
- If you want to use Log Analytics, set INTELLI_INT_SERVICES to yes.
To use BMC Helix Continuous Optimization, set the value of OPTIMIZE to yes.
- To use BMC Helix Operations Management, set value of MONITOR to yes.
From the new working directory ( new_working_directory ) run the deployment manager to upgrade BMC Helix IT Operations Management:
./deployment-manager.shAfter the upgrade is complete, you will get the following message:
Completed Helix On-prem Installation.(Optional) To view the logs during the upgrade, run the following command:
tail -f logs/deployment.log- If you had deployed BMC Helix IT Operations Management in a multitenant environment, follow the steps to restore the smart-graph-tenant-config configmap and its content:
- Copy the contents from the smart-graph-tenant-config configmap file that you backed up before the upgrade.
Run the command to open the smart-graph-tenant-config configmap:
kubectl -n <namespace> edit cm smart-graph-tenant-config- Paste the contents that you copied from the backed-up smart-graph-tenant-config configmap file in the new smart-graph-tenant-config configmap and save it.
Run the following command to restart the smart graph controller pod:
kubectl rollout restart deploy/smart-graph-controller -n <namepsace>