Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
namebackup-db

Backup and Database Upgrade

When all the running batch workflows have stopped you should make a backup so that the system can be restored in case of any issues during the upgrade.

Note

Note!

Before proceeding with the backup you must shut down the platform. This is very important since otherwise the backup of the database may become corrupt.

The platform can be shut down in various ways, see examples below.

Info

Examples - Shutting Down the Platform

Option 1

Reduce the number of replicas (under “spec”) to 0 by running the following command:

Code Block
kubectl edit statefulset platform -n uepe

where uepe is the namespace used.

Option 2

Run this command:

Code Block
kubectl scale --replicas=0 sts/platform -n uepe

and then this command:

Code Block
kubectl get pods -n uepe

And ensure that the pod platform-0 is no longer present

Excerpt
nameRollback

Rollback

Rollback procedure only be carried out in case upgrade procedure has failed. The following steps are performed in rollback.

  1. Restore database backup

  2. Restore file system snapshot

  3. Rollback Usage Engine Private Edition to pre-upgrade version