Installing DataPlane
Also available as:
PDF

Upgrade DataPlane

Make sure you take regular backups of the instance before your proceed with the upgrade procedure.

Note
Note
To upgrade from one version to another, you must make note of the existing version and the new upgrade version. You must run the upgrade command from the new upgrade version repository folder and enter the folder details of the existing version.
  1. Back up your existing DataPlane repository (dp.repo) file in the .repo format.
  2. Download the upgrade repository tarball to the repository folder:
     wget -nv <upgrade-repo-URL> -O /etc/yum.repos.d/dp.repo
  3. Verify that the repository is downloaded:
     yum search dp-core 

    You should see two dp-core repositories.

  4. Update the repository by running the following command:
    yum update dp-core

    You should see two versions of the DP Platforms.

  5. Run the upgrade command as follows:
    ./dpdeploy.sh upgrade --from /usr/dp/1.2.0.0-392/core/bin/

    The following message appears:

    This will update database schema which cannot be reverted. All backups need to be made manually. Please confirm to proceed (yes/no):
  6. Enter yes to continue.
  7. When prompted, enter the master password for DataPlane.
    Note
    Note
    The master password should be the same as the password used in the previous version of DataPane.
  8. If asked, enter the password for supplied certificates. You will prompted only if you have provided certificates in the config.env.sh file.

    A message appears that the upgrade process is complete.

  9. Once the upgrade process is successfully completed, add hosts using the following command:
    ./dpdeploy.sh utils add-host <Host URL> <Host FQDN>

    Make sure you run this command for each host to add the host entries to all the DP containers.

    Note
    Note
    This step is required only if you want to add the host entries to the DP environment for the communication to work before the upgrade.