Documentation forDatabase Performance Analyzer

Restore the DPA container to an earlier version on the Kubernetes Cloud Platform

If you need to restore the DPA container to an earlier version on the Kubernetes Cloud Platform (for example, because the upgrade process failed), perform the following tasks:

Delete the failed DPA workload of the newer version in the AWS Elastic Kubernetes Service

  1. Open Cloudshell, the AWS cloud command prompt.

  2. Run the following command:

    kubectl delete deployment dpa

Restore the backup copies of the repository and DPA files from the earlier version

Restore the database and the configuration, licensing, and log files that you backed up before upgrading to the newer version.

  1. Restore the DPA repository database from the backup.

  2. Locate the backup copies of the following folders and copy them to the PVC:

    • ignite_config
    • conf
    • logs
    • licensing

Edit the dpa_pod_aws.yaml file

Open the dpa_pod_aws.yaml file in a text editor, and update the version number in the image property to reflect the earlier version number.

Deploy the earlier version on the AWS Elastic Kubernetes Service

Run the following command to create the DPA pod:

kubectl apply -f dpa_pod_aws.yaml