Make sure you take regular backups of the instance before your proceed with the upgrade procedure.
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.
- Back up your existing DataPlane repository (dp.repo) file in the .repo format.
Download the upgrade repository tarball to the repository folder:
wget -nv <upgrade-repo-URL> -O /etc/yum.repos.d/dp.repo
Verify that the repository is downloaded:
yum search dp-core
You should see two dp-core repositories.
Update the repository by running the following command:
yum update dp-core
You should see two versions of the DP Platforms.
Run the upgrade command as follows:
./dpdeploy.sh upgrade --from /usr/dp/184.108.40.206-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):
- Enter yes to continue.
When prompted, enter the master password for DataPlane.
NoteThe master password should be the same as the password used in the previous version of DataPane.
If asked, enter the password for supplied certificates. You will prompted only if you have provided certificates in the
A message appears that the upgrade process is complete.
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.NoteThis step is required only if you want to add the host entries to the DP environment for the communication to work before the upgrade.