Upgrade From Version 3.0.x to 3.3.0

This document describes the steps to migrate from Pulse 3.0.x version to 3.3.0 version.

Prerequisite

Upgrade Docker to 20.10.x or above. Perform the following steps to upgrade your Docker version:

  1. Run the following command to uninstall the current Docker version:
Bash
Copy
  1. Run the following command to install the latest Docker version:
Bash
Copy

To install a specific version of Docker, run the following code:

Bash
Copy

To list a specific version of Docker, run the following code:

Bash
Copy
  1. Run the following code to start Docker:
Bash
Copy

Steps Required for Migration from 3.0.x to 3.3.0

Upgrade Mongo

Perform the following steps to upgrade Mongo:

Ensure that the Mongo migrate images are present in the Pulse server.

  1. Run the following code to download the Mongo images by docker pull:
Bash
Copy
  1. Perform the following steps to download the Mongo images from the download links:
    1. Download the mongo images named database-4.tar.gz and database-5.tar.gz in the Pulse server.
    2. Once the download is completed, run docker load -i for these images to be loaded in the local repository.

Upgrade Docker

Perform Docker upgrade as mentioned in the prerequisite.

Cluster-Specific Updates for Upgrading from Pulse Versions <3.2.X (Other than)

The following components are unique to the 3.3.0 release compared to versions earlier than 3.2.x:

  1. ad-events
  2. ad-gauntlet

Note that ad-gauntlet does not necessitate any cluster-side modifications. However, the introduction of the ad-events component does require specific changes related to hooks to be made on the cluster side.

For instructions on configuring Hive or Tez hooks, refer to this document: (Link Removed).

Steps to Upgrade Pulse

To upgrade to the latest Pulse version, perform the following 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 obtained and loaded all the essential Pulse images for version 3.3.0, either through downloading or Docker.
  2. Ensure that you have completed the necessary prerequisites for the Mongo migration or upgrade.
  3. Ensure that you have completed the necessary prerequisites for the Docker upgrade.
  4. Optional Perform the prerequisites for cluster-specific alterations when migrating from Pulse versions other than 3.2.x.
  5. Download the latest accelo binary and substitute the older accelo binary with the latest one.
  6. Run the Migrate command with the specified version parameters. For example, to migrate from Pulse version 3.0.12 to 3.3.0, use the following command:
Bash
Copy
  • -v 3.3.0 states that you want to migrate to version 3.3.0.
  • -i 3.0.12 specifies that you are migrating from version 3.0.12 to version 3.3.0.

If you are working with a multi-cluster setup, use the following command:

Bash
Copy
  1. If you face any issues during migration rerun the same command.
  2. Optional Once the migration command has been successfully executed, proceed to deploy all the containers. Note: This step is only necessary for Pulse versions earlier than 3.2.0.
Bash
Copy
  1. Restart all the container in order for them to use the updated images using the following code:
Bash
Copy
  1. Uninstall the hydra agent using the following command:
Bash
Copy
  1. Install the hydra agent using the following command:
Bash
Copy
  1. Reconfigure the cluster to get the updated configs for agents using the following command:
Bash
Copy
  1. Push the updated config to the database by running the following command:
Bash
Copy
  1. Run the following command to configure when gauntlet snap should run MongoDB cleanup and compaction:
Bash
Copy

When prompted, values must be provided as a string of comma separated values. For example 12,18

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard