Skip to content

Upgrade Build Folder Structure (v2.3.4)

Layout of the HEAL v2.3.4 upgrade build.

3 min read Updated SS

Note: This is the folder structure of the HEAL v2.3.4 upgrade build; to upgrade HEAL v2.3.4 to v2.4.1, follow Upgrading to HEAL v2.4.1 and the procedure that HEAL supplies with the v2.4.1 build.

The folder structure present in the build is described below:

HEAL_2.3.4/
├── startServices.sh              # Script for starting all HEAL modules after installation.
├── stopServices.sh               # Script for stopping HEAL modules running out of Nomad.
├── binary/                       # Folder containing all Infra services, HEAL modules, RPMs, and dependencies.
│   └── Agents/                   # Contains all the agents to be installed on the target nodes.
├── lib/                          # Folder containing required executables, such as jq and crypt.
├── install.sh                    # Script to install RPM, generate config files, start services.
├── JobsConfigs/                  # Folder containing Nomad job and configuration templates.
├── README_UPGRADE/               # Folder containing individual readme files for scripts.
├── Wrapper.sh                    # Script for performing upgrade on all nodes, when passwordless SSH connection from root is available.
├── Wrapper_NonSSH.sh             # Script to initiate upgrade on primary node and create tarballs to be upgraded on other nodes.
├── Wrapper_Sudo.sh               # Script to upgrade on all HEAL nodes with sudo access and passwordless connection for sudo user.
├── prereqs/
│   └── prerequisiteValidator.sh  # Script to validate prerequisites before starting upgrade.
├── appsoneUninstaller.sh         # Required to uninstall HEAL.
├── conf/                         # Contains the config files to be updated before starting upgrade.
├── logs/                         # Directory to store upgrade logs.
├── miscellaneous-scripts/        # Miscellaneous tasks required for upgrade and varies between releases.
├── check.replication.sh          # Periodically checks Percona slave status and starts if down.
├── upgrade.sh                    # To perform HEAL upgrade.
├── removeImageRegistry.sh        # To delete docker images from docker registry.
├── setThreshold.sh               # To set default KPI threshold.
├── replaceOS.sh                  # Script to create default shards/indices and other OpenSearch parameters in consul.
├── setPerconaUserPassword.sh     # Update the password for mysql non-admin users.
├── clusterCreate.sh              # To create PCS clusters for HAProxy and percona with root user.
├── clusterCreateSudo.sh          # To create PCS clusters for HAProxy and percona with sudo user.
└── MultiTanencyEntry/            # To create OpenSearch cluster for new tenants and updates the required consul keys.

Directory and File Descriptions#

File / Directory Description
startServices.sh Script for starting all HEAL modules after installation.
stopServices.sh Script for stopping HEAL modules running out of Nomad.
binary/ Folder containing all Infra services, HEAL modules, RPMs, and dependencies.
binary/Agents/ Contains all the agents to be installed on the target nodes.
lib/ Folder containing required executables, such as jq and crypt.
install.sh Script to install RPM, generate config files, start services.
JobsConfigs/ Folder containing Nomad job and configuration templates.
README_UPGRADE/ Folder containing individual readme files for scripts.
Wrapper.sh Script for performing upgrade on all nodes, when passwordless SSH connection from root is available.
Wrapper_NonSSH.sh Script to initiate upgrade on primary node and create tarballs to be upgraded on other nodes.
Wrapper_Sudo.sh Script to upgrade on all HEAL nodes with sudo access and passwordless connection for sudo user.
prereqs/ Contains prerequisite validation scripts.
prerequisiteValidator.sh Script to validate prerequisites before starting upgrade.
appsoneUninstaller.sh Required to uninstall HEAL.
conf/ Contains the config files to be updated before starting upgrade.
logs/ Directory to store upgrade logs.
miscellaneous-scripts/ Miscellaneous tasks required for upgrade and varies between releases.
check.replication.sh Periodically checks Percona slave status and starts if down.
upgrade.sh To perform HEAL upgrade.
removeImageRegistry.sh To delete docker images from docker registry.
setThreshold.sh To set default KPI threshold.
replaceOS.sh Script to create default shards/indices and other OpenSearch parameters in consul.
setPerconaUserPassword.sh Update the password for mysql non-admin users.
clusterCreate.sh To create PCS clusters for HAProxy and percona with root user.
clusterCreateSudo.sh To create PCS clusters for HAProxy and percona with sudo user.
MultiTanencyEntry/ To create OpenSearch cluster for new tenants and updates the required consul keys.