Upgrade From Version 3.1.1 to 3.2.0

This document describes the steps to migrate from Pulse version 3.1.1 to Pulse version 3.2.0. You must perform the steps mentioned in this document in all your clusters.

Backup Steps

  1. Take backup of Dashplots Charts using Export option.
  1. Take backup of Alerts using the Export option.

MongoDB Upgrade

Execute the following command to updated the Mongo DB to latest version 6.0.5.

Bash
Copy

Regular Migration Steps

  1. Update the ImageTag in the $AcceloHome/config/accelo.yml file to 3.2.0.
  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 and make the latest accelo cli file executable, and check the updated Pulse information for the following.
Bash
Copy
  1. Perform the action in one of the following columns based on whether you are doing an online or offline installation.
Online InstallationOffline Installation

For online installations, execute the following command and press 'Y' at the prompt to get the most recent binaries.

accelo login docker

accelo pull all

For Offline Installations, download all the latest image packs and execute the following command to upload the latest images.

docker load -i

  1. Execute the following command to update and add new keys in the vars.yml file.
Bash
Copy
  1. Execute the following command to update the override.yml file.
Bash
Copy
  1. Execute the following command to push acceldata.conf and other updated files to MongoDB.
Bash
Copy
  1. Restart all containers including database(s) with the following command.
Bash
Copy
  1. Uninstall the hydra agent.
Bash
Copy
  1. Install the hydra agent.
Bash
Copy
  1. 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

Execute the below command to set up actions notifications.

accelo config actions notifications

  1. Disable the Remote JMX Port in PulseJMX Agent.
    1. Edit the override.yml file.
      1. Add the following code to the override.yml file.
Bash
Copy

This disables the remote port option for the pulsejmx agent.

b. Execute the reconfig cluster command.

Bash
Copy

Pulse Hooks Deployment

Pulse now uses the NATS queue. To get the streaming data from NATS, you must configure and deploy the JAR files in various folders. Based on the configuration you use, you can refer to the respective sections (Hive, tez etc) for hook configuration. The links to each section are as follows.

Connector Level Configurations

This section describes the configurations you must perform on various connector microservices for Pulse deployments.

Sparkstats

You must generate the required connectors YAML file, if not available. You can execute the following command to generate the YAML file.

Bash
Copy

Configuration for Sparkstats

You must configure the ad-core-connectors.yml file. To accomplish this, you must add the following environment variable under ad-sparkstats.

NATS_SERVER_HOST_LIST=(PULSE_IP:19009)

YARN applications and Hive-queries

You must perform the following configuration in Pulse configurations, under individual collectors.

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard