Skip to content

Prerequisites

10 min read Updated SS RS

Note: Upgrading to HEAL v2.4.1 requires HEAL v2.3.4 as the mandatory prerequisite version. If you are upgrading from an earlier version, upgrade to HEAL v2.3.4 first, then follow the steps below to upgrade to HEAL v2.4.1.

This section provides the list of prerequisites that are required for the installation of HEAL 2.4.1 Upgrader.

Before you begin, ensure that these requirements are met.

For information: Rolling upgrades are not supported in this release. The upgrade must be performed during a scheduled downtime.

Supported Operating System#

The HEAL V2.4.1 upgrader supports installation on the following Operating Systems (OS):

  • 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.
  • CentOS 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 8.4, 8.5, 8.6, and 8.7

Note: HEAL supports multiple operating systems, but all nodes within the deployment must use the same operating system.

For Example: If HEAL is installed on 8 servers, all 8 servers must run on the same operating system.

Additional Hardware Requirements#

Data Aggregator#

The following requirement is for 1 million spans/sec.

Module Assigned CPU (MHz) Assigned Memory (GB) Instances
OS JIM 8000 16 3
DAG 6000 10 2
OTel 2000 8 2
OTel LB 3000 10 2
DAG RMQ 2000 2 2
DAG COLLATOR 3000 6 1

NginX#

Module Assigned CPU (MHz) Assigned Memory (GB)
NginX 1 core 2

Software Requirements#

Ensure the below software requirements are met:

Set up passwordless connectivity between servers.

To run the HEAL software, passwordless connectivity between servers is required. Follow the steps below to establish passwordless connectivity:

1. Check if the id_rsa.pub file exists on the server from where the user needs to make a passwordless connection. If the file exists, go to 'step 2'. If not, generate a public key by executing the following command:

ssh-keygen -t rsa

Press Enter for all questions during the execution of this command.

2. Copy the public key to the remote machine by executing the following command:

ssh-copy-id -i ~/.ssh/id_rsa.pub $ip

Replace $ip with the IP address of the remote server for which the user is making a passwordless connection.

This command will prompt the password of the remote server. After the copy is complete, passwordless connectivity will be established.

Disable SELinux

To disable SELinux, follow the steps below:

  1. Navigate to the /etc/selinux path on the server.
  2. Open the config file using a text editor.
  3. Find the line that sets the value of SELINUX and update it to "disabled". The line should look like the following:

    SELINUX=disabled
    
  4. Save and close the file.

Copying the build to HEAL Primary Node with WinSCP

Supported Internet Browsers#

HEAL is compatible with the following internet browsers, which have been certified by QA:

Browser Version
Google Chrome 155.0.8059.40
Microsoft Edge Chromium Browser 155.0.4283.45

Note: Internet Explorer is not supported for use with the HEAL software. To ensure the best possible user experience, we recommend using one of the supported internet browsers listed above.

IMPORTANT: If third-party cookies are blocked in web browser, follow the steps below to enable cookie settings specifically for HEAL.

Before accessing HEAL UIs through internet browsers, ensure the following HEAL sites are always allowed to use cookies, using your preferred browser:

  1. HEAL UI URL
  2. CC UI URL

Note:

  • It is preferable to access the HEAL UI and Control Center via HAProxy. If utilizing HAProxy, input the HAProxy URL.
  • For direct access, provide the HEAL UI URL and CC URL individually.

Follow the steps below to add the HEAL sites that can always use cookies for the specified browsers.

Google Chrome:

1. Open Google Chrome and navigate to the top right corner of the window. Click on the three vertical dots (Menu) and then select Settings.

2. Scroll down and click Privacy and Security, then choose Cookies and other site data.

3. Under Customized behaviors, click Add next to 'Sites that can always use cookies.'

4. Enter the HEAL UI URL and CC UI URL in the Site field and click Add for each URL.

Microsoft Edge Chromium Browser:

1. Open Microsoft Edge and click on the three horizontal dots (Menu) located in the top right corner of the window. Choose Settings.

2. In the left pane, click Cookies and site permissions.

3. Under Cookies and data stored, click Manage and delete cookies and site data.

4. Under Allow, click Add next to 'Sites that can always use cookies.'

5. Enter the HEAL UI URL and CC UI URL in the Site field and click Add for each URL.

After completing these steps for your preferred browser, you should be able to access the HEAL user interfaces without any cookie-related issues. If you encounter any problems or need further assistance, please contact our support team.

HEAL Firewall Port Requirements#

To ensure proper communication between different components of the HEAL software, certain firewall ports need to be open.

For a detailed list of required ports and their respective purposes, refer to the "HEAL Firewall Port Requirements.pdf" document, which can be found in the HEAL documentation package or obtained from the HEAL support team.

Setup Prerequisites#

Follow the below step on both standalone and HA environment:

1. Take OS Snapshot: It is recommended to create an OS snapshot before proceeding with the upgrade.

Mandatory to take critical indices backup.

Refer to: OpenSearch document.

2.Run the roll-up table change, then back up Percona. This dump is your recovery point if the upgrade fails. The newer Percona in v2.4.1 cannot import a dump of the old schema, so a dump taken before the change would be useless when you need it. Log in to Percona with the mysql client and check for duplicate values first (a unique key cannot be created over duplicates):

USE appsone;

ALTER TABLE roll_up_details DROP INDEX fk_roll_up_details_aggregation_value_mins, ADD UNIQUE KEY uk_aggregation_value_mins (aggregation_value_mins);

Then back up the four databases (replace the placeholders with your values):

mysqldump -h  -u  -p'' -P 3307 --ssl-mode=disabled --routines --events --triggers appsone > appsone.sql

mysqldump -h  -u  -p'' -P 3307 --ssl-mode=disabled --routines --events --triggers appsonekeycloak > appsonekeycloak.sql

mysqldump -h  -u  -p'' -P 3307 --ssl-mode=disabled --routines --events --triggers appsone_mle > appsone_mle.sql

mysqldump -h  -u  -p'' -P 3307 --ssl-mode=disabled --routines --events --triggers grafana > grafana.sql

Check that each dump file is complete and readable.

3 . Backup the Signature Tables: Execute the following commands to back up the `ssh_producer` and `shell_producer` tables:

ssh_producer

mysqldump --no-create-info -h <perconaIP> -P <port> -u <username> -p'<passwd>' --lock-tables=false appsone ssh_producer > ssh_producer_old.sql

shell_producer

mysqldump --no-create-info -h <perconaIP> -P <port> -u <username> -p'<passwd>' --lock-tables=false appsone shell_producer > shell_producer_old.sql

Replace `<perconaIP>`, `<port>`, `<username>`, and `<passwd>` with the appropriate values.

4. OpenSearch File Back-up: The upgrade process creates a backup from the OpenSearch-artifact. Any configuration files missing from the artifact but present in the OS DB may not be backed up post the upgrade.

Hence, follow the below steps:

A. Verify that all configuration files stored in the OS DB are also available in the OpenSearch-artifact folder.

B. Add any missing files into the artifact package before initiating the upgrade.

C. Validate the OpenSearch-artifact folder to ensure all required configuration files are included.

5. Note that the OTel configuration files are regenerated. v2.4.1 ships updated OTel configuration, so the upgrade replaces the existing files after backing them up. No action now; if you customized them, re-apply your values afterwards

6. 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.

7. Add the OpenSearch snapshot mount point. Only if path.repo is set in opensearch.yml. Add the following line to the volumes section of every OpenSearch Nomad file. Replace <directory path> with the host folder that contains opensearchsnapshot; the part after the colon is the path inside the OpenSearch container and must not be changed. Without this entry the snapshot folder is not reachable after the upgrade.

"/opensearchsnapshot:/usr/share/opensearch/opensearchsnapshot"

8. Check haproxy.cfg. HAProxy forwards incoming data to each Data Receiver and module by the port listed in this file; 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.

9. Check generalConf.py. 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.

Note

NOTE:
Data Aggregator Deployment and Upgrade Procedure

1. Automatic Data Aggregator Deployment

The Data Aggregator (DAG) instances are deployed based on the number of OpenTelemetry (OTel) collectors configured to run in the environment. Each OTel collector is associated with a corresponding Data Aggregator instance.

  • Two Otel instance environment: If the environment has two servers running OTel collectors, the corresponding Data Aggregator instances are deployed on those servers.
  • Three Otel instance environment: If the environment has three servers running OTel collectors, the corresponding Data Aggregator instances are deployed on those servers.

The number of Data Aggregator instances depends on the OTel collector configuration in the environment. For example, if six OTel collectors are configured across the servers, six corresponding Data Aggregator instances are deployed.

2. Handling Existing Data Aggregator Deployments During Upgrade
If the Data Aggregator is already running, ensure that both OTel and the Data Aggregator services are running properly before proceeding with the upgrade.

If both services are running, no changes will be made to the existing Data Aggregator deployment. The upgrade process will skip the Data Aggregator deployment step.

3. Prerequisites for Deploying Multiple Data Aggregator Instances

If the client requires multiple Data Aggregator (DAG) instances on the same server or more than two DAG instances across the environment, complete the following prerequisites before initiating the upgrade.

  • Stop the OTel Service: Stop the OpenTelemetry (OTel) service before starting the upgrade.
  • Identify the Target Servers: Obtain the IP addresses of all servers on which the Data Aggregator instances need to be deployed.
  • Confirm the Deployment Requirements: Determine the total number of Data Aggregator instances required and identify the servers on which each instance must run. If multiple instances are required on the same server, specify the number of instances for that server.

10. List your custom Nomad jobs. Only if you run Nomad jobs that the installer did not generate. 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.

11.Pre upgrade Signal Cleanup Do this immediately before you start the upgrade. The upgrade does not close open signals, and anything left open is carried into the new version as an open signal. Close them with the pre-upgrade signal cleanup. Navigate to the <a1home>/HEAL_Upgrade_2.4.1 directory and run the following script:

./upgrade.sh closesignals

12. Close open signals. Do this immediately before you start the upgrade. Close every open signal manually; the upgrade does not close them, and anything left open is carried into the new version as an open signal.

13. Check Percona replication (HA only). Do this before you start the upgrade. Log in to MySQL on each Percona node and run show replica status \G;. Start the upgrade only when Replica_IO_Running and Replica_SQL_Running are Yes, Seconds_Behind_Source is 0, and there are no replication errors (Last_IO_Errno and Last_SQL_Errno are 0).

Custom SSH ports#

Update the SSH Port details in genconf.py file:

1. Navigate to the a1home > conf folder.

2. Open the genconf.py file.

3. Ensure the required SSH port details are present as below:

SSH_PORT='22'

a. If the port field is already present, then ensure to update as required.

b. If the port field is absent, then add the parameter with required SSH port.