Skip to content

Upgrading Privacera

Note

This section applies only to Self-Managed and Data Plane deployments. For Privacera Cloud deployments, upgrades are done automatically without user intervention.

Warning

This instruction is not applicable to air gap installed deployments. For upgrading air gapped deployments please contact Privacera support for upgrade instructions.

Upgrading Privacera is a two-step process. First, you upgrade Privacera Manager, and then you upgrade the Privacera product packages.

1. Upgrading Privacera Manager

You can upgrade Privacera Manager whenever a new version is released. You need the tag of the new release to upgrade Privacera Manager. The upgrade process pulls the latest changes from the repository and upgrades the Privacera Manager.

Prerequisites

To upgrade Privacera Manager, you need the following:

  • The new release version/tag of Privacera Manager.
  • Credentials to access Privacera's Docker registry.

You can obtain this information from the Privacera support or account team.

Steps

To upgrade Privacera Manager, follow these steps:

  1. Open the pm-env.sh file to update the release version for the Privacera Manager packages:

    Bash
    vi ~/privacera/privacera-manager/config/pm-env.sh
    

  2. Update the version for the following variables with the new release version:

  3. PRIV_MGR_PACKAGE: Update the release version in the URL path rel/platform/rel_x.x.x.x.
  4. PRIV_MGR_IMAGE: Update the release version in the URL /privacera-manager:rel_x.x.x.x.

  5. Open the vars.privacera.yml file to add the new release version for the Privacera product packages:

    Bash
    vi ~/privacera/privacera-manager/config/vars.privacera.yml
    

  6. Update the version for the following variables with the new release version:

  7. PRIVACERA_BASE_DOWNLOAD_URL: Update the release version in the URL path rel/platform/rel_x.x.x.x.
  8. PRIVACERA_IMAGE_TAG: Update the release version.

  9. Run the upgrade with the following command to pull the latest changes:

    Bash
    cd ~/privacera/privacera-manager
    ./privacera-manager.sh upgrade-manager
    

Tip

Make sure you complete the above steps before upgrading the Privacera product packages. These steps will pull the latest packages required for the Privacera product upgrades.

2. Upgrading Privacera Product Packages

After upgrading Privacera Manager, you need to upgrade the Privacera product packages. The upgrade process pulls the latest changes from the repository and upgrades the Privacera product packages.

Step 1 - Setup which generates the helm charts. This step usually takes few minutes.

Bash
cd ~/privacera/privacera-manager
./privacera-manager.sh setup
Step 2 - Apply the Privacera Manager helm charts.
Bash
cd ~/privacera/privacera-manager
./pm_with_helm.sh upgrade
Step 3 - Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on.

Bash
cd ~/privacera/privacera-manager
./privacera-manager.sh post-install

Comments