Versions Compared

Key

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

This section describes the standard upgrade procedure for upgrading Usage EngineĀ on Google Cloud Platform. This procedure should be used to ensure that configurations, persisted data (in the file system or database), and system properties are properly migrated. Workflows will be interrupted shortly at the restart of the ECDs. These instructions will also describe how the timing of the restart of ECDs running non-scalable real-time workflows can be controlled by enabling manual upgrade.

Insert excerpt
UEPE4D:Preparations for UpgradeUEPE4D:
Preparations for Upgrade
nopaneltrue

Insert excerpt
UEPE4D:Upgrade Excerpts for Cloud (4.23)UEPE4D:
Upgrade Excerpts for Cloud (4.23)
namePreparingECDsForUpgrade
nopaneltrue

Insert excerpt
UEPE4D:Preparations for UpgradeUEPE4D:
Preparations for Upgrade
namebackup-db
nopaneltrue

...

Code Block
gcloud sql instances patch usage-engine-system-db --database-version=POSTGRES_15

Insert excerpt
UEPE4D:Upgrade Excerpts for Cloud (4.23)UEPE4D:
Upgrade Excerpts for Cloud (4.23)
nameActualUpgrade
nopaneltrue

Insert excerpt
UEPE4D:Upgrade Excerpts for Cloud (4.23)UEPE4D:
Upgrade Excerpts for Cloud (4.23)
nameAfterUpgrade
nopaneltrue

Insert excerpt
UEPE4D:Upgrade Excerpts for Cloud (4.23)UEPE4D:
Upgrade Excerpts for Cloud (4.23)
nameECDsAfterUpgrade
nopaneltrue

Insert excerpt
UEPE4D:Preparations for UpgradeUEPE4D:
Preparations for Upgrade
nameRollback
nopaneltrue

...

Code Block
gcloud filestore instances restore davids-stratus-filestore --file-share=davids_uepe --zone=europe-north1-a --source-backup=before-upgrade --source-backup-region=europe-north1

Insert excerpt
UEPE4D:Preparations for UpgradeUEPE4D:
Preparations for Upgrade
nameRollback command
nopaneltrue