Each environment in your disaster recovery plan contains different components to be
restored.
About this task
You must prepare the environment that you want to use to restore your deployments with the
backed-up data. For more information, see Backing up your environments.
Procedure
-
Create the secure definition by using the backup secure definition.
-
Create the PV and persistent volume claim (PVC) by using the backup PV and PVC
definitions.
-
Restore all the databases from the backup images.
-
Restore files stored on the PV.
- Make sure the PVCs that were created for
datadir-zen-metastoredb and the
associated files were restored.
- Restore the secret
admin-user-details.
-
Install the Cloud Pak operator, either with the installation scripts or manually.
-
Prepare the CR definition for the restored environment. The hostname might be different between
the source environment and restored environment. If they are different, you can change the hostname
in the CR files to match the hostname of the restored environment.
-
Deploy the environment with the backup custom resource definition files.
- Use the command
oc describe configmap ibm-common-services-status -n
kube-public to check the IAM status.
- If the IAM status is "Ready," find the
ibm-common-services/registration-json configmap on the restored cluster and
save it as platform-oidc-registration.json file.
- Update the
client_id and client_secret in
platform-oidc-registration.json file with the value of
WLP_CLIENT_ID and WLP_CLIENT_SECRET we got from above
backup step.
- See Client Registration API to register with
platform-oidc-registration.json that was generated in the previous
step.
-
Use the following links to restore data for IBM Business Automation Insights.