Upgrade from Version 3.0.x to 3.3.20

Prerequisites

Upgrade the Docker version to 20.10.x or above.

Steps to upgrade the Docker version:

  1. Uninstall the current Docker
Bash
Copy
  1. Install the latest version of Docker
Bash
Copy
  • To install a specific version of docker
Bash
Copy
  • Replace 24.0.5 with the appropriate version string
  • To list specific versions of docker
Bash
Copy
  1. Start Docker
Bash
Copy

Preparing for MongoDB Upgrade

Ensure the MongoDB migrate images are present on the Pulse server.

Download the MongoDB images using Docker pull:

Bash
Copy
  1. Download the MongoDB images named as database-4.tar.gz and database-5.tar.gz on the Pulse server.
  2. Once downloaded, use the command docker load -i to load these images into the local repository.

Cluster Specific Changes for Upgrades from Pulse other than 3.2.X

Below are the components absent in releases preceding 3.2.x, as opposed to the 3.3.0 release.

  1. ad-events
  2. ad-gauntlet

No adjustments are needed on the cluster side for ad-gauntlet. However, incorporating the ad-events component necessitates specific hook-related modifications on the cluster side.

For configuring Hive/Tez hooks, refer to the wiki on New Configure HDP for the Pulse deployment.

Pulse Upgrade Steps

  1. Update the ImageTag in the $AcceloHome/config/accelo.yml file to 3.3.0.
  2. Run the following command to push the updated configs:
Bash
Copy
  1. Important Ensure that you have downloaded and loaded all essential Pulse images for version 3.3.0.
  2. Ensure that the prerequisites for MongoDB migration/upgradation have been completed.
  3. Ensure that the prerequisites for Docker upgrade have been completed.
  4. Optional Complete the prerequisites for cluster-specific changes when migrating from Pulse versions other than 3.2.X.
  5. Download the new accelo binary and replace the older accelo binary with the newer one.
  6. Run the migrate command:
    1. -v: The version to which you want to migrate to
    2. -i: The version from which you want to migrate from

For example, to migrate from version 3.0.12 to version 3.3.0 the migrate command will look like this:

Bash
Copy

For multi cluster, use the following command:

accelo migrate -v 3.3.0 -i 3.0.12 -a

If any issues occur during migration, re-run the same command.

  1. Optional Upon successful execution of the migration command, deploy all core containers.

This step is necessary only for Pulse versions earlier than 3.2.0.

Bash
Copy
  1. Restart all containers to apply the updated images.
Bash
Copy
  1. Uninstall the hydra agent.
Bash
Copy
  1. Install the hydra agent.
Bash
Copy
  1. Reconfigure the cluster to get the updated configs for agents.
Bash
Copy
  1. To push the updated config to the database, execute the following command.
Bash
Copy
  1. To configure when gauntlet snap will run MongoDB cleanup and compaction, run:
Bash
Copy

When prompted, input values as a string of comma-separated values. For example: 12,18.

Pulse Upgrade Steps for Version 3.3.0 to 3.3.20

  1. Update the ImageTag in $AcceloHome/config/accelo.yml to 3.3.20.
  2. To push the updated config to the database, execute the following command:
Bash
Copy
  1. Take a backup of the accelo file and download the latest version for accelo.linux CLI.
  2. Move the latest accelo CLI file and set it as executable, then verify the updated Pulse information.
Bash
Copy
  1. For online installations, execute the following command and confirm with 'Y' at the prompt to obtain the latest binaries.
Bash
Copy
  1. For offline installations, download all the latest image packs and execute the following command to upload the newest images.
Bash
Copy
  1. Restart all containers, including databases, using the following command:
Bash
Copy
  1. Update the hydra agents.

    1. In ansible based deployment:

      1. Uninstall the hydra agent: accelo uninstall remote
      2. Install the hydra agent: accelo deploy hydra
    2. In Parcel based deployment: Upgradation of Parcel and Hydra Services.

  2. To push the updated config to the database, execute the following command:

Bash
Copy
  1. Reconfigure the cluster to get the updated configs for agents.
Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard