FAQs

10 min read Updated SS RS

Which HEAL version does this guide upgrade from?

HEAL v2.3.4. Chapter 4 gives the steps to follow "if the upgrade is from HEAL v2.3.4 to HEAL v2.4.1".

Where can I see the versions of the infrastructure components and HEAL modules?

In chapter 2: 2.3 Infrastructure Components lists the infrastructure components that the HEAL installer installs along with the HEAL Services, with their versions (for example Percona 8.4.8, Keycloak 26.5.3 and OpenSearch 2.19.4), and 2.4 HEAL Modules Overview lists the HEAL modules with their versions and purposes (for example Heal Data Aggregator 1.1.0).

What do the Data Aggregator and NginX do?

The Heal Data Aggregator, marked (new) in 2.4 HEAL Modules Overview, is a core system component that processes OpenTelemetry Protocol (OTLP) span data to derive transaction-level and agent-level insights; it operates as a Spring Boot-based consumer of RabbitMQ Streams. NginX (2.3 Infrastructure Components) acts as a reverse proxy between Grafana and OpenSearch, routing Grafana’s data source requests to the OpenSearch cluster.

Can I upgrade without downtime, and can I roll back?

No to both. Rolling upgrades are not supported in this release, and the upgrade must be performed during a scheduled downtime (3. Prerequisites). Rollback is not supported in this upgrade (5. Installation).

Which operating systems are supported, and can the nodes run different ones?

The HEAL V2.4.1 upgrader supports Red Hat Enterprise Linux (RHEL) Server release 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 8.4, 8.5, 8.6, 8.7, 8.10, 9.2 and 9.5, and CentOS 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 8.4, 8.5, 8.6 and 8.7 (3.1 Supported Operating System). The nodes cannot run different ones: all nodes within the deployment must use the same operating system.

What additional hardware and open ports does v2.4.1 need?

Additional Hardware Requirements gives the assigned CPU, assigned memory and number of instances for each module in the Data Aggregator table (OS JIM, DAG, OTel, OTel LB, DAG RMQ and DAG COLLATOR); this requirement is for 1 million spans/sec. The NginX table gives 1 core (assigned CPU) and 2 GB (assigned memory). If the Data Aggregator is deployed with this upgrade, it needs its own CPU, memory and open ports, listed in the Data Aggregator Guide; raise firewall and change requests before the window (3.6 Setup Prerequisites, step 6). For the required ports, refer to the "HEAL Firewall Port Requirements.pdf" document, found in the HEAL documentation package or obtained from the HEAL support team (3.5).

What must be set up on the servers before the upgrade?

See Software Requirements:

  • Passwordless connectivity between servers is required. If the id_rsa.pub file does not exist on the server you connect from, generate a public key with ssh-keygen -t rsa; then copy it to the remote server with ssh-copy-id -i ~/.ssh/id_rsa.pub $ip, replacing $ip with the IP address of the remote server.
  • Disable SELinux: in the config file in the /etc/selinux path, set SELINUX=disabled.
  • If you copy the build with WinSCP, select the "Binary" transfer mode.

Which browsers are supported?

Google Chrome 155.0.8059.40 and Microsoft Edge Chromium Browser 155.0.4283.45; Internet Explorer is not supported (3.4 Supported Internet Browsers). If third-party cookies are blocked in the browser, allow the HEAL UI URL and CC UI URL to always use cookies (the HAProxy URL if you use HAProxy); 3.4.1 Cookie settings for HEAL gives the steps for Chrome and Edge.

Is anything different for an HA environment?

Setup Prerequisites applies to both standalone and HA environments. The steps that mention HA are:

  • To enable Percona HA, ensure a virtual IP and netmask are configured and available (chapter 4, step 2).
  • For HA setup, remove the mnesia on all the servers (6. Post Installation, step 2).
  • Check the RabbitMQ queues after you start the services (6. Post Installation, step 14).

What must I back up before starting the upgrade?

Follow Setup Prerequisites:

  • Step 1: an OS snapshot is recommended, and the critical indices backup is mandatory (refer to the OpenSearch document).
  • Step 2: run the roll-up table change, then back up Percona: the appsone, appsonekeycloak, appsone_mle and grafana databases. Check that each dump file is complete and readable. This dump is your recovery point if the upgrade fails; the change comes first because the newer Percona in v2.4.1 cannot import a dump of the old schema.
  • Step 3: back up the signature tables ssh_producer and shell_producer.
  • Step 4: verify that all configuration files stored in the OS DB are also available in the OpenSearch-artifact folder, add any missing files into the artifact package before initiating the upgrade, and validate the folder. The upgrade process creates its backup from the OpenSearch-artifact.

For haproxy.cfg and generalConf.py, see "What must I check in haproxy.cfg and generalConf.py before the upgrade?"

What happens to my customised OTel configuration during the upgrade?

v2.4.1 ships updated OTel configuration, so the upgrade replaces the existing files after backing them up; no action is needed before the upgrade (3.6 Setup Prerequisites, step 5). If you customised them, re-apply your values afterwards from the backup the upgrade created (the upgrade_backup_<date> folder under a1home); until you do, your customisations are not in effect (6. Post Installation, step 8). See also 6.4 OTEL Backup and Restore.

path.repo is set in opensearch.yml. What must I do before the upgrade?

Add the line "<directory path>/opensearchsnapshot:/usr/share/opensearch/opensearchsnapshot" to the volumes section of every OpenSearch Nomad file. Replace <directory path> with the host folder that contains opensearchsnapshot, and do not change the part after the colon. Without this entry the snapshot folder is not reachable after the upgrade (3.6 Setup Prerequisites, step 7).

What must I check in haproxy.cfg and generalConf.py before the upgrade?

  • haproxy.cfg (3.6 Setup Prerequisites, step 8): HAProxy forwards incoming data to each Data Receiver and module by the port listed in this file, and a wrong or missing port means that module receives no data. The upgrade may rewrite the file, so make sure every entry is correct beforehand and keep a copy to compare afterwards.
  • generalConf.py (3.6 step 9; also chapter 4, step 3): the upgrade reads DOCKER_SERVICES to know which service 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 the file first.

Is the new Data Aggregator deployed automatically?

Yes. See Setup Prerequisites, NOTE: Data Aggregator Deployment and Upgrade Procedure:

  • Item 1: it is automatically deployed on each server where OpenTelemetry (OTel) is configured to run, and the number of instances depends on the number of servers in the environment (two-server environment: it runs on both servers; three-server environment: it runs on all three servers).
  • Item 2: if it is already running, ensure that both OTel and the Data Aggregator services are running properly before the upgrade. If both are running, no changes are made to the existing deployment and the upgrade skips the Data Aggregator deployment step.
  • Item 3: if you need multiple instances on the same server, or more than two instances, stop the OTel service before initiating the upgrade, ensure that the required server IP addresses are available and determine the number of instances to deploy. See also 5. Installation, Scenario 3.

I run Nomad jobs that the installer did not generate. What must I do before the upgrade?

Create the file ${SER_INSTALL_PATH}/nomadFile/custom-services.txt and enter one Nomad job name per line, so that the upgrade knows about these jobs. Blank lines and lines that start with # are ignored (3.6 Setup Prerequisites, step 10).

What must I check on the Percona cluster before the upgrade?

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 (4. Upgrade from HEAL v2.3.4 to HEAL v2.4.1, step 1).

Which suffixes do existing and newly introduced modules use in config.txt?

After you untar the upgrade installer in the a1home directory (for example tar -xvf HEAL_Upgrade_2.4.1.tar.gz; chapter 4, step 4), go to <a1home>/HEAL_Upgrade_2.4.1/conf and ensure the entries in config.txt are as shown in step 5, which ends with a reference list. Depending on your environment: if a module already exists, ensure that its entry uses the InfraModule suffix, for example advanced-analytics-ds_1.5.0.tar InfraModule; for newly introduced modules, use the NewModule suffix, for example heal-data-aggregator_1.1.0.tar NewModule.

Where are the upgrade logs stored?

In the logs directory of the build: 4.1 Folder Structure lists logs as the "Directory to store upgrade logs."

How do I start the upgrade, and what does Wrapper.sh ask for?

Go to the <a1home>/HEAL_Upgrade_2.4.1 directory and run bash Wrapper.sh (5. Installation, step 1); 4.1 Folder Structure describes Wrapper.sh as the script for performing the upgrade on all nodes when a passwordless SSH connection from root is available. The script asks for the IP addresses of DATA_AGGREGATOR_COLLATOR_PRIMARY, DATA_AGGREGATOR_COLLATOR_SECONDARY, NGINX_PRIMARY and NGINX_SECONDARY. For multiple Data Aggregator instances (Scenario 3), it first asks for the IP address of the server where HEAL_DATA_AGGREGATOR will be deployed, the number of HEAL_DATA_AGGREGATOR instances on that server, and whether to add HEAL_DATA_AGGREGATOR to another server. Example answers for Scenarios 1 to 3 are in 5. Installation.

What do I do after the upgrade, before I start the services again?

Follow  Post Installation, steps 1 to 10. Stop all the services (step 1), then:

  • Remove all the mnesia in <a1home>/Appsone_Service/data/rabbitmq (for HA setup, on all the servers) and update the Consul key: consul kv put service/rabbitmq/replication/status 1 (steps 2 and 3).
  • Remove the correlation_db and mlflow databases from Percona (step 4).
  • Remove the login.ftl mount from the Keycloak Nomad file, if present; the new Keycloak does not start with it mounted (step 5).
  • If your ComponentAgents stay on the previous version, restore the signature backup from pre-upgrade (step 7).
  • For the conf.properties mount in the Data Receiver Nomad files and for customised OTel configuration, see steps 6, 8 and 9 and 6.4 OTEL Backup and Restore.

Then start all the services (step 10).

What do I do after the services are started again?

Post Installation, steps 11 to 14:

  • 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.
  • Test customized VM templates in UAT before using them in production.
  • 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.
  • Only for HA: check the RabbitMQ queues. 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}.

How do I enable CAPTCHA on the Keycloak login page?

Follow Keycloak — Enable CAPTCHA on the Browser authentication flow. In the Keycloak administration console, duplicate the Browser flow (for example as browser-captcha), replace its Username Password Form with the Heal Username Password Form (CAPTCHA) execution set to Required, and bind the new flow as the Browser authentication flow. You need the privileges to modify authentication flows, and the CAPTCHA execution must be available in Keycloak; it is delivered by the keycloak_26.5.3 build. 6.1 notes that on the first login the CAPTCHA is not shown, because the default Browser flow is still active; once you have bound the new flow, signed out and opened the login page again, the login page displays the CAPTCHA.

Which URLs open the HEAL user interfaces?

See the table in Access User Interface. For example: HEAL https://<haproxy_IP>:<haproxy_Port>/heal-ui-service/, UI 2.x https://<haproxy_IP>:<haproxy_Port>/heal-ui/ and Keycloak https://<haproxy_IP>:<haproxy_Port>/auth/. It is preferable to access the HEAL UI and Control Center via HAProxy (3.4.1 Cookie settings for HEAL).

Do I need to follow 7. Additional Node Configuration?

Only if you need to add a node: the section applies to adding a node for the HEAL software after its installation, and you perform it only based on your requirements. If you add one, follow 7.1 to 7.4 and note:

  • Execute the add-node scripts from the primary node (./addNodeWrapper.sh <IpAddressNewNode> if a passwordless connection is enabled; otherwise see 7.2, step 3 and 7.4, b to e).
  • In generalConf.py, add the node to NODES, INTERFACES, HOSTNAMES and DOCKER_SERVICES, and assign at least one module to it without reshuffling existing Nomad services.
  • Once the new node is added, you must manually shift the required services with proper planning.

Whom do I contact for help?

The HEAL Technical Support team: send an email to productsupport@healsoftware.ai (Contact Us).