HEAL Agent Installation on Windows
HEAL Agent Installation on Windows in HEAL Agent Installation Guide.
HEAL Agent Installation on Windows#
You can install HEAL Agent on Windows using the installer provided as a self-extracting EXE file.
Follow the steps below to learn how to download and install HEAL Agent on Windows.
- Copy the file below to your local folder.
HealAgent_<version>.zip
For Example:
HealAgent_v1.0.13.zip
a. In the latest HEAL Agent build, the build examines the provided directory. If the directory is valid, an "Agent" folder will be created to install all the agents accordingly.
or
If the "Agent" folder exists in the provided directory, then all the agents will be installed respectively.
b. Ensure no other files are created or placed in the "Agent" folder, as this folder will be deleted/removed during the uninstallation of agents.
2. Unzip the file and double-click on HealAgent.exe.
Note: The known issue reflects an error with the Unknown publisher.
To proceed, select More info > Run anyway.
3. On the HealAgent - InstallShield Wizard, select Next.

4. On the Setup Type window, choose the setup type as per your requirements.
- Complete: All program features will be installed.
- Custom: Feature coming soon.
Choose Complete and then select Next.
5. On the Destination Folder window, you can choose the installation directory.
Choose a different installation directory
a. Select Change to choose a different installation directory.

b. Change the destination folder and then select OK.

Default installation directory
a. If you do not want to change the default path, select Next.
6. After entering the installation path, select Next if you want HEAL to install the required version of Java.
Alternatively, you can select the path where Java is already installed.
Note: A Java path is required for installing and configuring the agents.
a. To choose the location of where Java is installed, select Change in the Java Folder window.

b. Browse to the folder where Java is installed and select OK.
7. On the Installation Configuration window, enter the required details and select Next to continue the installation.
- Control Center URL
- HAPROXY HOSTNAME
- HAPROXY IP
- HAPROXY PORT
- Forensic Agent Identifier
- Auto Discovery Mode
Note: All fields marked with an asterisk (*) are required.
8. Select Install in the Ready to Install the Program window, to continue with the installation process.
9. The installation has started, and it may take several minutes to complete the process.
10. After the installation is completed, select Finish to complete the installation.

Verify the Installation#
You can check the installation path of the agents on the Windows host to verify that they are installed in the desired location.
- Press windows + R

You can also check the services.msc window to make sure that the agents are properly installed as services. The supervisor should be automatically started and in a running state after installation.

Only the above-listed services have a start/stop option.
Uninstall HEAL Agent on Windows#
To uninstall HealAgent, follow the steps below.
Procedure
1. Open the Control Panel and go to Uninstall or Change a program window.
2. Locate and select the HealAgent program, then select Uninstall.

3. Select Yes in the confirmation popup, and then in the warning popup as well.

4. Select whether to stop the supervisor while uninstalling HealAgent, then select OK.

5. HealAgent is uninstalled, and all its files will be removed from the agent installation path.
Create Service Dependency Map Using Control Center#
Follow the below steps to create a Service Dependency Map (SDM) using the Control Center (CC).
Create Account#
1. Log in to the CC application by entering the Username and Password.#
2. After successful login, the below dashboard is displayed.
3. Select the Accounts pod, and the Manage Accounts page is displayed. Then select Add to create an account.
4. On the Add Account page, enter the below mandatory fields and select Save.
Name: Name of the account.
Timezone: Select your timezone from the drop-down menu.

Create Applications
1. Navigate to Setup > Topology > SDM.

2. The SDM page is displayed.
The Applications tab displays the lists of applications, the count of the services tagged, users who modified these applications, and the timestamp on which the users changed these applications.
Then select Add to add an application.

3. The Add Application window pops up. In this window, enter the application name you need to create. And then select Save.

Create Services#
1. On the SDM page, go to Services > Add. The Add Service window appears.#

#
-
On the Add Services window, enter the following details and select Save.
-
Name: Enter the name of the service.
Tip: CC does not allow white space and special characters like #$%^&*(. The length of the name string should be <= 128 characters.
- Identifier: Enter a unique identifier for a service in the Identifier box.
Tip: This is an optional parameter. CC generates the identifier automatically if you do not provide the same.
- Application(s): Tag the application(s) to the service.
- Layer: Select the layer for the service.
- Timezone: Select the time zone.
- Mark as Entry Point: To mark the service as an entry point. Turn ON the toggle.
Map Component Instance#
1. On the SDM page, select Component Instances. This displays a list of all components discovered by the auto-discovery agent.
2. Select the kebab menu (⋮) in the action column, then select Map Component Instance to Services in the pop-up window. 
3. On the Map Component Instance to Service window, enter the details below and select Save.
- Application: Choose the name of the application from the drop-down menu.
- Services: Choose the services from the drop-down menu.
4. Once the mapping is successful, the message "Mapping is successful and related connections are discovered" is displayed.

Map HOST Instance#
1. On the SDM page, select "Hosts." This displays a list of all host instances discovered by the auto-discovery agent.
2. On this page, select the kebab menu (⋮) in the action column and then select Add to System in the pop-up window.

3. Once the mapping is successful, the message "Host updated successfully" is displayed.

Map Agents to Instances#
Agents are added to the system once you map instances to the services and add to the system once they are discovered. When we add hosts to the system, the AD agent automatically adds all the agents to the Percona database.
1. Navigate to Setup > Monitoring and select Services.

2. The Setup Services page is displayed, which displays the list of services.

3. Select the name of a service. The Manage Service - <service name> page is displayed.
Map the Host and Component instances by following the steps below.
a) Select the menu (⋮) in the Actions column. And then select Map Agents.

b) On the Map Agents for Instances/Host page, enter the below details.
- Agent Type: Choose the type of agent from the drop-down menu.
- Agent: Choose the Agent from the drop-down menu. You can map one agent respective to the agent type.

c) You can map multiple types of agents to the same component. To map multiple agents, select Add, enter the details, and select Save.
Start HEAL Agent#
Once the mapping is complete, start the agent following the steps below.
a) Navigate to Health > Monitoring and select Agents.

b) On the Manage Agents page, select Agent Actions. It displays the following details:
- Agents Status by Service: On this tab, you can start, stop, and restart the agents.
- Agent Bulk Actions: This tab displays the status of agents running on the service.
Select the agent of the separate instances to start, stop, or restart the service.

c) On the Agent Details window, select the respective actions to Start, Stop, or Restart the service.
