Skip to content

HEAL Agent Installer for Windows (Lite version)

Install a minimal set of HEAL agents on Windows where disk space is limited.

7 min read Updated SS MR

Introduction#

The HEAL Agent Installer for Windows (Lite Version) is a lightweight deployment package designed to install a minimal set of HEAL agents. This streamlined version is optimized for environments where conserving disk space is a priority. It effectively ensures the collection of critical host KPIs, captures relevant forensic data, and monitors deployed websites, delivering essential observability with minimal resource usage.

Prerequisites#

Follow the prerequisite steps below:

  1. Administrative Privileges: Admin access is required to install the HEAL Agent.
  2. Service Restart Permissions: User should have enough privileges to start/stop the supervisor.
  3. System Requirements: The host for the HEAL Agent installation must have at least 1 GB of RAM and 2 GB of available disk space.
  4. Ensure the .Net version (mandatory) should be 4.5.2 or above.
  5. HealAgent package is applicable only for windows running on top of Heal v2.3.2_Upgrade.

Installation on Windows (Lite Version)#

Follow the steps below for installation on Windows (Lite Version):

1. Navigate to the local folder and create a folder named - 'HealAgent'.
2. Ensure the files below are copied to the HealAgent folder:

  • HealAgent.exe
  • HealAgent_Config.bat
  • HealAgent_Install.bat
  • HealAgent_Uninstall.bat

Note:
* For GUI (Graphical User Interface) installation (RECOMMENDED), use HealAgent.exe file.
* For Script based installation, configure HealAgent_Config.bat file and execute the HealAgent_Install.bat file.

GUI Installation#

Follow the steps below for GUI installation:

1. Navigate to the HealAgent folder.
2. Right click on HealAgent.exe, then select 'Run as administrator'.

InstallShield welcome window

3. Click the Next button on the InstallShield's welcome window.

Default installation folder path

4. The default folder path for installation is displayed on the screen below.

Change Current Destination Folder dialog

Click on the Change button to provide/configure the actual HealAgent's installation path

5. The screen below appears.

Update the agent installation path in the folder name field and click OK.

Installation folder confirmation screen

6. Post updating the folder path, the screen below appears. 

Then click Next.

Default JAVA folder path screen

7. The screen below displays the default path of the JAVA folder.

If the end user wants to use any specific or already installed Java, then click on that change button and provide the appropriate Java path.

If not, click on the Next button. The installer will validate whether the given Java path is valid or not. If valid, then installation will proceed. Else, the installer will prompt, saying it will use the bundled Zulu JRE.

ZuluJre installation prompt

8. When the Zulu JRE is not installed, a pop-up appears below.

Click OK.

Configuration screen

By clicking OK, it will install Zulu Jre (the Zulu Jre is present in the package) in the agent installation path.

9. Update the configuration screen below.

Configuration screen (continued)

a. Control Center (CC) URL: Update the CC URL (HAProxy hostname or DNS name), respectively.

For example: https://haproxy-node1.example:9998/heal-controlcenter/

b. HAProxy details: Add all the HAProxy details below:

  • Hostname – HAProxy hostname or DNS name.
  • IP
  • Port

c. Forensic Agent: Default value is ForensicAgentIdentifier. 

If a forensic agent already exists for the account, use the same identifier.
d. Discovery Configuration (Pre-Requirement):

  • Enable: The default value is False.
  • Validate: The default value is False.

To enable any of the specific component prerequisites supported by the discovery agent, ensure the above 2 values (Enable and Validate) are true, and to know more about the discovery agent, refer to the Discovery of Target Components.pdf document.

e. Otel Collector Details: Add all the below Otel details.

  • IP
  • Port
  • Protocol

Note: Do not change the default End Point.

10. This step is OPTIONAL.

Add the details of SignalFX agent configurations in the below fields (if applicable):

  • Website Name(s):

i. One or more website names can be specified, separated by commas (`,`). 
For example: MyWebsite1, MyWebsite2, MyWebsite3
ii. If website names are provided, the SignalFX configurations will be applied only to the specified websites. These changes will be reflected in the respective website's web.config files.
iii. If left blank, the SignalFX configuration for the OpenTelemetry (OTEL) endpoint will be set as a system environment variable. In this case, all websites hosted on the server will be monitored by the SignalFX agent.

  • Environment: 

For example, PROD or UAT.

  • Application Name: Applications that were created or will be created in Heal SDM can be passed here. It is optional. By default, "NBC" will be used as the application name.

Then click Next.

Ready to Install the Program screen

11. Post all the updates and click Install to initiate the installation.

Installation status screen

12. The screen below displays the installation status.

Installation complete screen

13. After completion of the installation, the screen below appears.

Click on the Finish button.

InstallShield Wizard Complete

Script-Based Installation#

Follow the steps below for manual installation.

1. Navigate to the HealAgent folder.
2. Open the HealAgent_Config.bat file.
3. Configure all the fields in HealAgent_Config.bat file:

Set Installation directory
set "INSTALL_DIR=<provide the HealAgent folder path>"
example : set "INSTALL_DIR=E:\HealAgent"

Set Config URL which will be used by Component Agent
set "CACONFIGURL=https://haproxy-node1.example:9998/heal-controlcenter/"
example : set "CACONFIGURL=https://haproxy-node1.example:9998/heal-controlcenter/"

Set HAProxy hostname
set "SVBACKENDURL=haproxy-node1.example"
example : set "SVBACKENDURL=haproxy-node1.example"

Set HAProxy IP Address
set "HAPROXYIP=192.0.2.19"
example : set "HAPROXYIP=192.0.2.19"

Set HAProxy Port
set "HAPROXYPORT=9998"
example : set "HAPROXYPORT=9998"

Set Forensic Agent Identifier. Default value is "ForensicAgentIdentifier".
set "FA_ID=<Forensic Agent ID>"
example : set "FA_ID=FA_Test"

 Set prerequisites enable flag. Default value is "False". This will be used by Discovery Agent.
set "PRE_REQ_ENABLE=True"

Set prerequisites validate flag. Default value is "False". This will be used by Discovery Agent.
set "PRE_REQ_VALIDATE=True"

Set Otel Collector IP Address
set "OTELIP=192.0.2.20"
example : set "OTELIP=192.0.2.20"

Set Otel Collector Port
set "OTELPORT=<Otel port>"
example : set "OTELPORT=9411"
Set Otel Collector protocol. Default value is "http"
set "OTELPROTOCOL=http"
 Set Otel collector end point. Default value is "/api/v2/spans"
set "OTELENDPOINT=/api/v2/spans"

Set Environment. Ex: PROD/prod or UAT/uat.
set "SERVICE_ENV=<specify the environment>"

4. After posting the configuration changes, save the file.
5. Open the cmd prompt with administrator privileges.

Command prompt with Administrator privileges

a. Navigate to the HealAgent folder where the HealAgent_Install.bat file is present.

Executing HealAgent_Install.bat in the command prompt

b. Execute the file from the command prompt terminal.

Installation script output

Post Installation#

Ensure the below changes are met post the HealAgent installation.

1. The log files and Agents folder below should be available in the HealAgent folder.

  • healagent_install.log
  • ExecUtil.log
  • Signalfx_install.log
  • Agents
HealAgent folder with log files and Agents folder

2. Also, the Agents folder should contain all the files as below.

Agents folder contents

3. Verify that SignalFX Agent is installed successfully via GUI installation by following these steps:

a. Navigate to Start Services Menu > search Control Panel and click Open.

Control Panel

b. Navigate to Programs and click Uninstall a Program, as below:

Programs — Uninstall a program

c. In the below screen, ensure the SignalFX is installed.

Installed programs list showing SignalFX

Note: If SignalFX is not installed through GUI installation, then follow the GUI uninstallation steps and install HealAgent package again using Script based installation process.

4. By default, the Supervisor will start automatically and ensure the same from the Windows services list:

Windows Services list showing the Supervisor service

5. At the end of the installation, the Discovery agent will be invoked automatically. It discovers respective components/processes and pushes the discovery JSON to Heal (Control Center).
6. Control Center (CC) UI changes:

a. Login to CC and select the specific account (i).

Navigate as Topology > SDM.

Control Center — Topology > SDM

b. In the SDM (Service Dependency Map) page, click on Component Instances > Map Component Instance to Service.

SDM — Map Component Instance to Service

c. Update the fields below and click Save.

  • Application
  • Services
SDM — Map Component Instance to Service (Application/Services fields)

d. Return to the SDM page, click on Hosts > Add to System (under Actions).

SDM — Hosts > Add to System

The Host instance will be added to CC.

Note: Do not rename or modify the contents of the SFX_msifile folder located inside the Agents folder, as it is required by the HEALAgent for uninstalling SignalFX.

Inside the agents folder:

Inside the Agents folder

The SFX_msifile folder contains:

SFX_msifile folder contents

Starting Component Agent (CA) from CC#

Note: cacerts are automatically imported into Java and added to the keyfiles folder during installation. Hence CA should be started directly from CC.

Follow the steps below to start the CA from CC:

1. Login to CC and navigate as below:

Select the Service (a) and click Health (b) > Monitoring (c) > Agents (d).

CC — Service > Health > Monitoring > Agents

2. In the Manage Agents page, navigate as below:

Click on Agent Actions (e) > Agent Status by Service (f) > select the respective service under the Service section (for example, web_server (g)) > required CA.

Manage Agents — Agent Status by Service

3. Click on the Start button to start the CA.

Manage Agents — Start the Component Agent

Uninstallation Steps#

To uninstall the HealAgent, follow the steps below:

GUI Uninstallation#

To uninstall in the GUI, follow the below steps:

1. Navigate to the Start Services Menu > search Control Panel and click Open.

Control Panel

2. Navigate to Programs and click Uninstall a Program, as below:

Programs — Uninstall a program

3. Follow the steps below for uninstallation.

Method 1:

  • Right-click on HealAgent and select Uninstall.
  • Confirm the action by clicking Yes on the pop-up.

Method 2:

  • Select HealAgent, then click Uninstall (a) from the breadcrumb menu.
  • Confirm the action by clicking Yes on the pop-up.
Uninstall HealAgent — Method 1 and Method 2

Script-Based Uninstallation#

To uninstall HealAgent manually, follow the below steps:

1. Open the cmd prompt with administrator privileges.

a. Ensure that the HealAgent_Config.bat file is properly configured before proceeding with the uninstallation.
b. Navigate to the HealAgent folder where the HealAgent_Uninstall.bat file is present.
c. Execute the file from the command prompt terminal.

Note: Once uninstallation is successful, the Agents folder will be removed from the HEAL Agent installation path, and the agents will also be removed from the Services list.