Skip to content

Upgrade from HEAL v2.3.4 to HEAL v2.4.1

3 min read Updated SS RS

Follow the following steps if the upgrade is from HEAL v2.3.4 to HEAL v2.4.1:

1. Verify that all Percona DB Cluster nodes are fully synchronized. The upgrade installer validates sync status and proceeds only when the cluster state is healthy and properly synced.

2. To enable percona HA, ensure a virtual IP and netmask are configured and available.

3. Check generalConf.py. The upgrade reads DOCKER_SERVICES to know whichservice runs on which node, so it must list every service as it is currently allocated,including any added after installation (for example extra Data Receivers). Back up thefile first.

4. In a1home directory, untar the upgrade installer file by executing below command:

tar -xvf <upgrade installer file>

For example:

tar -xvf HEAL_Upgrade_2.4.1.tar.gz

5. Navigate to the directory below

/HEAL_Upgrade_2.4.1/conf

a. Ensure the entries in config file (config.txt), are as below:

Note: Depending on your environment, ensure the below criteria is met:

i. If a module already exists, ensure that its entry in the config file uses the InfraModule suffix.

For example: advanced-analytics-ds_1.5.0.tar InfraModule.

ii. For newly introduced modules, use the NewModule suffix.

For example: heal-data-aggregator_1.1.0.tar NewModule

For reference:

ALL RPMUpgrade
a1eventhandler Plugins
analytics-workstation.tar.gz A1Module
advanced-analytics-ds_1.5.0.tar InfraModule
appsone-event-handler_2.2.0.tar InfraModule
heal-action-detector_2.2.0.tar InfraModule
heal-api-service_1.1.0.tar InfraModule
heal-computed-service_2.2.0.tar InfraModule
heal-controlcenter_2.3.0.tar InfraModule
heal-data-emitter_2.2.0.tar InfraModule
heal-data-receiver_2.4.0.tar InfraModule
heal-data-aggregator_1.1.0.tar NewModule
heal-event-detector_2.2.0.tar InfraModule
heal-job-executor_1.4.0.tar InfraModule
heal-llm-integration-service_1.1.0.tar InfraModule
heal-notification-processor_2.2.0.tar InfraModule
heal-opentelemetry-collector_1.3.1.tar InfraModule
heal-redis-service_2.2.0.tar InfraModule
heal-reporting-data-service_2.3.0.tar InfraModule
heal-scheduler-service_1.3.0.tar InfraModule
heal-signal-detector_2.3.0.tar InfraModule
heal-supervisor-controller_2.2.0.tar InfraModule
heal-ui_1.1.0.tar InfraModule
heal-ui-service_2.2.0.tar InfraModule
correlation-engine_1.3.0.tar InfraModule
event-graph-generator_1.3.0.tar InfraModule
mle-wb_2.0.0.tar NewModule
grafana_12.3.2.tar InfraModule
haproxy_3.3.10.tar InfraModule
jaeger-query_2.18.tar InfraModule
keycloak_26.5.3.tar InfraModule
opensearch_2.19.4.tar InfraModule
percona_8.4.8.tar InfraModule
rabbitmq_4.3.2.tar InfraModule
redis_8.8.0.tar InfraModule
migrate-db_0.1.2.tar InfraModule
trinodb_480.tar InfraModule
nginx_1.31.tar NewModule
nginx Template
changemlwb MLEModule
migrate-db_0.1.2.tar DBupgrade

Folder Structure#

The folder structure present in the build is described below:

HEAL_2.4.1/
├ startServices.sh          # Script for starting all HEAL modules after installation.
├ stopServices.sh           # Script for stopping HEAL modules running out of Nomad.
├ binary/                         # Folder containing all Infra services, HEAL modules, RPMs, and dependencies.
│   └ Agents/                 # Contains all the agents to be installed on the target nodes.
├ lib/                               # Folder containing required executables, such as jq and crypt.
├ install.sh                      # Script to install RPM, generate config files, start services.
├ JobsConfigs/                # Folder containing Nomad job and configuration templates.
├ README_UPGRADE    # Folder containing individual readme files for scripts.
├ Wrapper.sh                  # Script for performing upgrade on all nodes, when password less SSH connection from root is available.
├ Wrapper_NonSSH.sh   # Script to initiate upgrade on primary node and create tarballs to be upgraded on other nodes.
├ Wrapper_Sudo.sh        # Script to upgrade on all HEAL nodes with sudo access and passwordless connection for sudo user.
├ prereqs/
│   └ prerequisiteValidator.sh      # Script to validate prerequisites before starting upgrade.
├ appsoneUninstaller.sh   # Required to uninstall HEAL.
├conf                                  # Contains the config files to be updated before starting upgrade.
├ logs                                  # Directory to store upgrade logs.
├ miscellaneous-scripts    # Miscellaneous tasks required for upgrade and varies between releases.
├ check.replication.sh       # Periodically checks Percona slave status and starts if down.
├ upgrade.sh                      # To perform HEAL upgrade.
├ removeImageRegistry.sh    # To delete docker images from docker registry.
├ setThreshold.sh               # To set default KPI threshold.
├ replaceOS.sh                    # Script to create default shards/indices and other OpenSearch parameters in consul.
├ setPerconaUserPassword.sh        # Update the password for mysql non-admin users.
├ clusterCreate.sh               # To create PCS clusters for HAProxy and percona with root user.
├ clusterCreateSudo.sh       # To create PCS clusters for HAProxy and percona with sudo user.
└ MultiTanencyEntry           # To create OpenSearch cluster for new tenants and updates the required consul keys.

If the upgrade fails#

If the database upgrade fails, see HEAL v2.4.1 Upgrade Debug Steps.