Post-Upgrade Steps — Standalone (to v2.3.4)
Post-upgrade steps for a standalone deployment.
Note: These steps follow an upgrade to HEAL v2.3.4; after an upgrade from HEAL v2.3.4 to v2.4.1, follow Upgrading to HEAL v2.4.1 instead.
After completing the installation process, it is essential to perform post-installation configuration steps to ensure the seamless functioning of the HEAL Software.
Docker Updates#
Execute this command to have an updated docker version. This will lead to restart of existing running containers:
Note: Downtime is required.
systemctl restart docker
Update startservice Script#
Inside the startservice script file, replace localhost with the respective DNS name to ensure right service communication across all the nodes.
For example:
export NOMAD_ADDR=https://localhost:$nomad_port
NOMAD_ADDR changes should be changed in both startServices.sh and stopServices.sh.
Logstash Availability#
Note: Applicable to HEAL v2.3.3 & above.
- Ensure the Logstash is installed.
- If the OpenSearch v2.18, then the latest Logstash version should be 8.16.0.
Logscan Updates#
By default, logscan index is included in the misc zoning template.
If end user has separate zoning for logscan, follow the below steps before running startServices.sh post upgrade:
-
Navigate to the template path:
a1home/Appsone_Service/opensearch-artifacts/ -
Remove the logscan entry from
heal_misc_zoning_template.jsonin primary node.
Standalone#
Follow the below steps to manually update the replica and shard values for a standalone setup after installation:
-
Log in to MySQL.
-
Select the appsone database:
USE appsone; -
Update the shard and replication settings for active templates:
UPDATE os_templates SET no_of_shards = 1, no_of_replications = 0 WHERE status = 1 AND os_template_name NOT LIKE '%jim%';Note: Ensure that the original values are retained for JIM-related templates and are not modified.
-
Once the updates are complete, stop and restart all services.
Upgrade from HEAL v2.3.0, v2.3.0HF to v2.3.4#
Ensure the below post installation steps to upgrade HEAL from v2.3.0 to v2.3.4:
1. OpenSearch Zoning#
Option 1:
a. If the Misc zoning is already applied, ensure the below consul key value is Yes.
service/opensearch/zoning/enabled
For example:
service/opensearch/zoning/enabled yes
Option 2:
a. If the Misc zoning is not applied, ensure the below consul key value is No.
service/opensearch/zoning/enabled
For example:
service/opensearch/zoning/enabled no
b. If the consul is absent, then add the consul key with value = No.
2. Misc Zoning Should Be Enabled#
Refer to Misc zoning section in OpenSearch document.
Note: As additional indexes are being introduced in the Misc zone, performing this is necessary to ensure the new indexes are correctly implemented.
3. Multi-Tenancy Script Functionality#
Follow the steps below to add multi-tenancy entries in Percona DB:
Note: Perform multi-tenancy scripts on the primary node.
The Multi-Tenancy Entry script is included by default in the installer package. Follow the below steps to add multi-tenancy entries in Percona DB:
a. Navigate to the Multi-Tenancy Configuration Directory by executing the following command:
cd /<path>/HEAL_2.3.3/MultiTanencyEntry/conf
b. Open the inputs.py file using a text editor:
vi inputs.py
i. Locate the TENANT_NAME parameter.
ii. Assign the same account name as created in the HEAL Control Center (CC).
For Example: The TEST_ACC is the account name, not the account_identifier:
TENANT_NAME = 'TEST_ACC'
iii. Save and exit the file.
c. Execute the Multi-Tenancy Entry Script:
i. Navigate to the script directory:
cd /<path>/HEAL_2.3.3/MultiTanencyEntry
ii. Execute the script:
./createMultiTanencyEntry.sh
d. The script will automatically insert records for the new account, including Global and HEALHealth entries.
Use the following queries to verify the entries in Percona DB:
SELECT * FROM tenant_details;
For Example:

SELECT * FROM account_tenant_details;
For Example:

SELECT * FROM opensearch_tenant_mapping;
For Example:

Additional Information:
- Each new account will be assigned a new Tenant ID, which will be mapped to the default OpenSearch cluster.
- Entries can be verified from the above tables in Percona.
- The script only allows one account entry per execution.
- For each additional account, repeat the steps mentioned above.
4. Restart the Services#
Option 1: Restart all services.
a. Ensure a maintenance window (downtime).
b. Navigate to a1home and stop all HEAL services using the below script:
./stopServices.sh -f ALL
c. Navigate to the RabbitMQ data directory on each RabbitMQ server:
cd /a1home/Appsone_Service/data/rabbitmq
d. Delete the mnesia directory to clear cluster state, refer to Deploy the safe_delete.sh Script.
e. Start all services using the below script:
./startServices.sh ALL
Option 2: Restart only few modules (RabbitMQ, Percona, OpenSearch, and Redis).
a. Ensure a maintenance window (downtime).
b. Stop the RabbitMQ, Percona, OpenSearch, and Redis modules using the below script:
nomad stop <HEAL Module>
For example:
nomad stop Percona
c. Navigate to the RabbitMQ data directory on each RabbitMQ server:
cd /a1home/Appsone_Service/data/rabbitmq
d. Delete the mnesia directory to clear cluster state, refer to Deploy the safe_delete.sh Script.
e. Start all the 4 modules (RabbitMQ, Percona, OpenSearch, and Redis) using the below script:
./startServices.sh default
5. Refresh Microservices#
Restart individual HEAL microservices as needed to update the latest images/configuration:
a. Stop the microservice:
nomad stop <HEAL Module>
b. Start microservice:
nomad start <HEAL Module>
6. Keycloak LDAP Configuration#
As the installer automatically upgrades Keycloak v10.x to v26. If LDAP is enabled before the upgrade, ensure that you retain the LDAP user configuration by following the Keycloak documentation (refer to Deployment of Keycloak v26.0.6.2 section) as the upgrading from Keycloak v10.x to v26 removes existing LDAP configurations.
Note: This requirement applies only when the environment is running Keycloak v10.x and LDAP is configured prior to the upgrade.
Upgrade from HEAL v2.3.2 to v2.3.4#
Use the following steps to upgrade HEAL from v2.3.2 to v2.3.4:
1. Ensure the Below Consul Key Value is Yes#
service/opensearch/zoning/enabled
For example:
service/opensearch/zoning/enabled yes
2. Restart the Services#
Option 1: Restart all services.
a. Ensure a maintenance window (downtime).
b. Navigate to a1home and stop all HEAL services using the below script:
./stopServices.sh -f ALL
c. Navigate to the RabbitMQ data directory on each RabbitMQ server:
cd /a1home/Appsone_Service/data/rabbitmq
d. Delete the mnesia directory to clear cluster state, refer to Deploy the safe_delete.sh Script.
e. Start all services using the below script:
./startServices.sh ALL
Option 2: Restart only few modules (RabbitMQ, Percona, OpenSearch, and Redis).
a. Ensure a maintenance window (downtime).
b. Stop the RabbitMQ, Percona, OpenSearch, and Redis modules using the below script:
nomad stop <HEAL Module>
For example:
nomad stop Percona
c. Navigate to the RabbitMQ data directory on each RabbitMQ server:
cd /a1home/Appsone_Service/data/rabbitmq
d. Delete the mnesia directory to clear cluster state, refer to Deploy the safe_delete.sh Script.
e. Start all the 4 modules (RabbitMQ, Percona, OpenSearch, and Redis) using the below script:
./startServices.sh default
3. Refresh Microservices#
Restart individual HEAL microservices as needed to update the latest images/configuration:
a. Stop the microservice:
nomad stop <HEAL Module>
b. Start microservice:
nomad start <HEAL Module>
Upgrade from HEAL v2.3.3 to v2.3.4#
Use the following steps to upgrade HEAL from v2.3.3 to v2.3.4:
1. Ensure the Below Consul Key Value is Yes#
service/opensearch/zoning/enabled
For example:
service/opensearch/zoning/enabled yes
2. Restart the Services#
Option 1: Restart all services.
a. Ensure a maintenance window (downtime).
b. Navigate to a1home and follow below steps:
i. Stop all HEAL services using the below script:
./stopServices.sh -f ALL
ii. Start all services using the below script:
./startServices.sh ALL
Option 2: Restart only few modules (RabbitMQ, Percona, OpenSearch, and Redis).
a. Ensure a maintenance window (downtime).
b. Stop the RabbitMQ, Percona, OpenSearch, and Redis modules using the below script:
nomad stop <HEAL Module>
For example:
nomad stop Percona
c. Start all the 4 modules (RabbitMQ, Percona, OpenSearch, and Redis) using the below script:
./startServices.sh default
3. Refresh Microservices#
Restart individual HEAL microservices as needed to update the latest images/configuration:
a. Stop the microservice:
nomad stop <HEAL Module>
b. Start microservice:
nomad start <HEAL Module>