Skip to content

Stage 2 — Install the HEAL Platform

From the extracted installer package to a running, self-monitoring HEAL platform with the UI reachable in a browser.

4 min read Updated SS RS

This stage takes you from an extracted installer package to a running, self-monitoring HEAL platform with the UI reachable in a browser. It is performed by the same administrators who prepared the hosts in Stage 1, with root or sudo access to all HEAL servers.

The flow is strict: edit and validate the two Python configuration files, run the prerequisite validator on every node, execute the wrapper installer that matches your access model, then work through the post-installation checks in order. The Percona replication and switchover steps apply only to HA deployments, and the Machine Learning Engine is optional — it enables anomaly detection and capacity forecasting.

Installer scope. Folder Structure, Configuring generalConf.py and Installing HEAL v2.3.3 below describe the HEAL_2.3.3 installer package. Their archive names, directories and commands remain specific to that build. For a v2.4.1 deployment, obtain the installer or upgrade package and matching installation instructions for the target release, and confirm its prerequisites before running commands. The documentation version selector does not change the build-specific procedures linked from this stage.

Note: To upgrade an existing HEAL v2.3.4 environment to v2.4.1, follow Upgrading to HEAL v2.4.1 instead of this stage.

Steps#

  1. Get familiar with the installer package layout. Folder Structure — Annotated tree of the extracted HEAL_2.3.3 build explaining what every installer script and folder does — Wrapper_Root.sh, Wrapper_Sudo.sh, installInfra.sh, prerequisiteValidator.sh, startServices.sh, instanceCreation.sh and more.
  2. Copy the build to the primary node and configure generalConf.py. Configuring generalConf.py — Covers copying and untarring HEAL_2.3.3.tar.gz, then setting every primary deployment parameter — cluster vs standalone, HA modes, sizing type, node IP/interface/hostname maps, virtual IPs, install paths, DB user — with per-node service-placement layouts for 1/2/3-node and 6/8-node HA setups.
  3. Configure extendedConf.py. Configuring extendedConf.py — Walks through the Docker service settings (OpenSearch index defaults, HAProxy stats and Redis credentials, Keycloak/MLE/Grafana ports), the HEAL service port ranges, and the mandatory LOCAL_NODE entry.
  4. Compile and verify the configuration files. Compilation and Verification of Configuration Files — Runs python3 -m py_compile against generalConf.py and extendedConf.py to catch syntax errors that would break the installation, and explains how to resolve any that appear.
  5. Run pre-validation on all nodes and prepare the non-root user if needed. Pre-Validation and Non-Root Preparation — Executes prerequisiteValidator.sh on every node with the install path, user and group arguments, and — for the sudo installation path — prepares the non-root user (sudoers entries, script replacement, recursive ownership of the extracted build).
  6. Run the HEAL installer. Installing HEAL v2.3.3 — The three installation paths by server access model — Wrapper_Root.sh for root with passwordless SSH, installInfra.sh/installA1Service.sh plus per-node Installer.sh when passwords are required, and Wrapper_Sudo.sh for a sudo-capable non-root user — with the prompts and failure-recovery notes for each.
  7. (Optional) Verify Percona database replication. Verify Percona Replication Status — For HA mode, runs 'show replica status' on both Percona nodes and checks Replica_IO_Running/Replica_SQL_Running are Yes with Seconds_Behind_Source at 0 (standalone deployments have no replication to check).
  8. Size the OpenSearch JVM heap. Updating OpenSearch JVM Configurations — Sets the Xms/Xmx values in the jvm.options file of all six OpenSearch config directories to 60% less than the memory allocated to the OpenSearch Nomad files, on every OpenSearch node in HA.
  9. Start the HEAL services. Start HEAL Services — Restarts Nomad on all nodes, runs checkregistry.sh, then brings everything up with './startServices.sh ALL' from the master node and verifies with 'nomad status', including how to inspect a dead service's allocation.
  10. Enable HEAL self-monitoring. Enable Health Monitoring — Runs InstanceCreation.sh to create the healhealth account, application, host and component instances and generate the Service Dependency Map that HEAL's monitoring of itself depends on.
  11. Verify the Redis cluster. Redis Cluster Verification — Confirms the Redis cluster that startServices.sh created formed correctly, using a TLS redis-cli 'cluster nodes' command run inside the Redis container.
  12. (Optional) Configure high-availability failover. High Availability Configuration — Deploys the performSwitchOver.sh script with backup Nomad job files for each HA-supported service and enables it in crontab so a backup node takes over on failure, including SMTP email-alert configuration.
  13. Access the HEAL user interface. Access User Interface — Lists the URLs for every console (HEAL UI, UI 2.x, Control Center, MLE, Keycloak, Grafana, RabbitMQ, HAProxy stats) and three ways to reach the UI: a hosts-file mapping, a Keycloak Consul key with the server IP, or a DNS name.
  14. (Optional) Set up the Machine Learning Engine for predictive analytics. MLE Configuration — Updates the Percona attribute values that expose the MLE UI/API behind HAProxy, then walks through running the anomaly-detection, capacity-forecast and health-monitoring baselines and starting/stopping real-time monitoring from the MLE Swagger UI, with troubleshooting for delays.

Go deeper#

  • Post Installation — The remaining post-install articles cover situational tasks: non-root post-install follow-ups, the multi-tenancy script, license compliance, Logstash compatibility, disabling the lightweight token, the microservices list, config-template updates, OTEL backup/restore, and regenerating the HAProxy SSL certificate after a DNS change. Start from the Post Installation Overview (bae1c9ba-7ac6-43b7-bb2d-6abfb7fa2a3c), which sequences them.
  • MLE Setup — If you enable MLE, also see MLE Prerequisites (70% data availability before baselining), Executing CF Baseline for Applications, the advanced-analytics-ds restart script, and the workaround for accessing MLE without HAProxy.
  • Grafana — Covers installing the unsigned Grafana Polystat panel plugin (allow-listing, Nomad job restart, validation) if your dashboards need it.

Previous: Stage 1 — Plan and Prepare · Next: Stage 3 — Onboard Applications and Agents · Up: HEAL Onboarding Overview