Skip to content

Post Installation

6 min read Updated SS RS

After completing the installation process, it is essential to perform post-installation configuration steps, to ensure the seamless functioning of the HEAL Software.

1. Stop all the services

stopservice.sh ALL

2. Remove all the mnesia, navigate to this path

/Appsone_Service/data/rabbitmq
rm mnesia

NOTE: For HA setup do this for all the server

3. Update the consul key

consul kv put service/rabbitmq/replication/status 1

4. Remove the correlation_db and mlflow databases from Percona before you restart the services.

5. Remove the login.ftl mount from the Keycloak Nomad file, if present. The new Keycloak does not start with it mounted.

6. Remove the conf.properties mount from the Data Receiver Nomad files, if present,.v2.4.1 gives each Data Receiver its own port from Consul, so the mount is no longer needed.

Known issue

In the configuration template files for some microservice modules, the RabbitMQ parameter is misspelled as RABBTIMQ when it should be RABBITMQ. Because of this, these services may not pick up the RabbitMQ address.

Workaround: In the Nomad files for Event Detector, Data Emitter, Control Center and Supervisor Controller, rename the parameter RABBITMQ_ADDRESS to RABBTIMQ_ADDRESS.

7. Restore the signature backup from pre-upgrade if your ComponentAgents stay on the previous version.

Note

MultiThreshold support (Component Agent v2.2.0)

The upgrade installer includes Component Agent v2.2.0, which introduces the MultiThreshold feature. MultiThreshold allows users to configure three threshold levels, Low, Medium and High, from the HEAL UI. Earlier versions supported only a single threshold.

After the HEAL upgrade, the Component Agent behaves as follows, depending on its version:

Component Agent VersionBehaviour After Upgrade
2.2.0Supports MultiThreshold. Forensics are triggered for all three threshold levels (Low, Medium and High).
2.x (earlier than 2.2.0)Forensics are triggered for only one randomly selected threshold level. There is no impact on existing functionality.
1.3.xSupports data collection only. Forensics are not triggered.

Note:

  • Upgrading the Component Agent is not mandatory for data collection.
  • To view forensics for all three threshold levels, kindly upgrade the Component Agent to v2.2.0 on the target setups. The HEAL upgrade does not do this automatically.

8. Re-apply customised OTel configuration from the backup the upgrade created (the upgrade_backup_<date> folder under a1home, path Appsone_Service/conf-template/heal-opentelemetry-collector), then restart the collector; until you do, your customisations are not in effect.

9. Allocate resources and open ports for the Data Aggregator. Only if it is deployed with this upgrade. The Data Aggregator is a new module and needs its own CPU, memory and open ports, listed in the Data Aggregator Guide. Raise firewall and change requests before the window.

10. Start all the services, go to a1home directory and run the script

startservice.sh ALL

11. Run the MLE baseline again. The baseline built on v2.3.4 does not work with the new Correlation Engine and MLE, so it must be rebuilt on the new version.

12.New update will have a latest VM templates, Test customized VM templates in UAT before using them in production.

13.Create the HealHealth instance for each new module, if required such as the Data Aggregator. The upgrade does not create it, and without it HEAL does not monitor that module's own health.

14.Only for HA, Check the RabbitMQ queues after you start the services. If the Node column of a queue in the RabbitMQ management console shows +1 or +0 instead of +2, run ./startServices.sh fixrmq from ${SER_INSTALL_PATH}.

Note

Running Multiple Data Aggregators on the Same Server

Starting with upgrade 2.4.1, you can run multiple Data Aggregator (DAG) instances on the same server without modifying any files in the Nomad volume.

To run multiple Data Aggregator instances on the same server, update the following configuration keys in the Nomad file for each Data Aggregator instance:

  • Data Aggregator instance name
  • Data Aggregator port
  • Any other instance-specific configuration keys required by your deployment

Ensure that each Data Aggregator instance uses a unique name, port, and configuration values to prevent conflicts between instances. After updating the Nomad file, deploy or restart the Data Aggregator instances for the changes to take effect.

This enhancement eliminates the need to mount and modify the Data Aggregator configuration file in the Nomad file template.

RABBITMQ_QUEUE_ADDRESS="{{key "service/rabbitmq/addresses" }}"
                    RABBITMQ_STREAM_ADDRESS=192.0.2.18:5553
                    STREAM_NAME=otlp_spans_18
                    MQ_QUEUE_ENABLED=false
                    MQ_STREAM_ENABLED=true
                    PUSH_TO_BUFFER_RMQ_ENABLED=true
                    BUFFER_ENABLED=false
                    HTTP_PORT="{{ key "service/dataaggregator/port" }}"
                    MGMT_PORT="{{key "service/dataaggregator/management/server/port" }}"
                    DAG_ID=primary-dag1

                    TXN_LAST_COLLECTION_CHECK_SCHEDULER_INTERVAL=-

Keycloak — Enable CAPTCHA on the Browser authentication flow#

This procedure binds the Browser authentication flow to a duplicated flow that uses the CAPTCHA execution, so that CAPTCHA validation is enforced on the login page.

Prerequisites

  • Access to the Keycloak Administration Console, with the privileges needed to modify authentication flows.
  • The custom execution Heal Username Password Form (CAPTCHA) must be available in Keycloak. It is delivered by the keycloak_26.5.3 build.

Procedure

1. Log in to the Keycloak administration console. On this first login the CAPTCHA is not shown, because the default Browser flow is still active.
2. In the left navigation menu, select Authentication, then select Browser from the list of flows.
3. On the Browser flow page, open the Actions drop-down at the top right and select Duplicate.
4. In the Duplicate flow window, set Name to browser-captcha and leave Description as it is. The flow name can be changed to suit the deployment; browser-captcha is used throughout this procedure.
5. Click Duplicate. The details page for the new browser-captcha flow opens.
6. In the sub-flow, locate Username Password Form and click Delete at the right of that row. Click Delete again in the confirmation prompt to remove the existing execution.
7. On the same page, locate the browser-captcha forms row and click + at the right of it, then select Add execution.
8. In the search field of the new window, type Heal and press Enter. Select Heal Username Password Form (CAPTCHA) and click Add.
9. On the Heal Username Password Form (CAPTCHA) row, open the requirement drop-down at the right and select Required.
10. Select Authentication in the left navigation menu. In the Flows list, locate browser-captcha, open the three-dots menu on that row and select Bind flow.
11. In the Bind flow window, click Save to bind browser-captcha as the Browser authentication flow.

12. Sign out of Keycloak and open the login page again. The login page now displays the CAPTCHA.

Expected result

Once the custom flow is bound, browser-captcha becomes the active Browser authentication flow. Users reaching the Keycloak login page are shown the CAPTCHA-enabled username and password form, and CAPTCHA validation is enforced.

List of microservices#

Below are the list of the microservices:

  • heal-redis-microservice
  • CC
  • UI
  • Action-Detector
  • Event-Detector
  • Supervisor-Controller
  • Signal-Detector
  • Notification-Processor
  • A1Event-Handler
  • Data-Receiver
  • Data-Emitter
  • Reporting Data Service
  • Scheduler Service
  • Job Executor
  • Trino DB
  • Advance Analytics DS
  • Correlation Engine
  • Minio
  • MLFlow
  • Event Graph Generator
  • HEAL API Service
  • HEAL LLM Integration Service
  • UI 2.X
  • Computed Service
  • Incident Management Broker (IMB)
  • MLE
  • Data Aggregator

Access User Interface#

This section will guide you through the process of accessing various components of HEAL using their respective URLs.

The table below lists the URLs for the different user interfaces:

User Interface URL Format
HEAL https://<haproxy_IP>:<haproxy_Port>/heal-ui-service/
UI 2.x https://<haproxy_IP>:<haproxy_Port>/heal-ui/
Control Center https:// <haproxy_IP>:<haproxy_Port>/heal-controlcenter/
MLE https:// <MLE_IP>:<MLE_UI_Port>/mle_static/admin/
RabbitMQ https:// <RabbitMQ_IP>:<RabbitMQ_Webport>/
HAProxy Stats https:// <HAProxy_IP>:<HAProxy_Stats_Port>/haproxy_stats
MLE API https://<MLE IP>:<Port>/mle/api
Keycloak https://<haproxy_IP>:<haproxy_Port>/auth/
Grafana If Grafana is behind HAProxy:
https://<haproxy_IP>:<haproxy_Port>/grafana/
If Grafana is not HAProxy:
https://<grafana_IP>:<grafana_Port>/

OTEL Backup and Restore#

Post the installation, the existing config yaml files for OTEL will be over-written with the latest files by upgrade installer.

Update the latest file with required backup values as below:

1. Navigate to below directory.

/upgrade_backup_2025-11-31/Appsone_Service/conf-template/heal-opentelemetry-collector

2. Fetch the old values as required.

3. Add the required existing values in the new yaml files.

4. Restart the OTEL.

a. Stop:

nomad stop otel-collector

b. Start:

nomad start otel-collector.nomad

If you run into problems during or after the upgrade, see Upgrade Issues and Resolutions.