Upgrade from Version 3.0.3 to 3.1.0

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

If you are using Pulse 3.0.0, you cannot migrate from Pulse 3.0.0 to 3.1.0 directly. You must first migrate to 3.0.3 and then migrate to 3.1.0. To learn more about how to migrate from pulse 3.0.0 to 3.0.3, see Upgrade Pulse from 3.0.0 to 3.0.3.

Backup Steps

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

Migration Steps

  1. Requires re-installation of Pulse agents running in all the cluster nodes.

Please plan your migrations accordingly.

  1. Execute the following command to run the migrations.
Bash
Copy

Note : If you are using a multi-cluster setup, you must use the - a option. For example, accelo migrate -v 3.1.0 -a. This command automates migration for all the clusters.

  1. (Applicable only for single-node Pulse deployment) Update the spark.events.url section in the acceldata<clustername>.conf file. You must replace the <clustername> in the field with the following URL.
HTML
Copy
  1. (Applicable only for multi-node Pulse deployment) Update the spark.events.url section in the acceldata<clustername>.conf file. You must replace the <clustername> in the field with the following URL.
HTML
Copy
  1. Execute the following command to add the ad-events connection info in acceldata.conf file and Mongo.
Bash
Copy

Deploy NATS Container

Pulse now uses the NATS queue. To enable the NATS queue, you must execute the following command.

Bash
Copy

Set Time Zone for Logs

The commands in this section facilitate you to update the environment variables such that they match the server time zone in JODA time format.

  1. Execute the following command if the ad-logsearch.yml file is not present at the $AcceloHome/config/docker/addons directory.
Bash
Copy
  1. Open the ad-logsearch.yml file from the $AcceloHome/config/docker/addons directory.
  2. Update the following environment variable's value to match the server’s time zone in the joda format and add it to the ad-logstash section.
Bash
Copy

For example, if your server is located in India, you can set the joda time format as TZ=Asia/Kolkata.

  1. Execute the following command to restart the logstash container. This ensures that the above changes are applied.
Bash
Copy

Oozie Connector Update

Add the following property to the acceldata/config/acceldata<CLUSTER NAME>.conf file, under the oozie.connectors section. Select the column based on the database applicable to your setup.

mariadb/mysqlPostgreSQLOracle

type = "mariadb/mysql"

user = "<DB_USERNAME>"

pass = "<ENCRYPTED_DB_USERNAME>"

driver = "org.mariadb.jdbc.Driver"

type = "pgsql"

user = "<DB_USERNAME>"

pass = "<ENCRYPTED_DB_USERNAME>"

driver = "org.postgresql.Driver"

type = "oracle"

user = "<DB_USERNAME>"

pass = "<ENCRYPTED_DB_USERNAME>"

driver = "oracle.jdbc.driver.OracleDriver"

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