Restoring a Cloud Pak for Data backup on the target cluster with IBM Storage Fusion for testing purposes
After the target cluster is prepared, restore a Cloud Pak for Data backup on that cluster.
Before you begin
About this task
Restore Cloud Pak for Data to a different cluster for testing purposes to ensure that you can successfully restore a Cloud Pak for Data backup to another cluster if the source cluster is lost.
In IBM Storage Fusion 2.5.2, you can only use the backup and restore (legacy) service to create backups. For more information about this service, see Backup and Restore (Legacy).
Procedure
Results
Cloud Pak for Data is restored on the target (passive) cluster. You can use the target cluster as a standby cluster. If the source cluster is lost, you can switch to the target cluster, making the target cluster the active cluster.
CAUTION:
Because the target cluster is passive,
do not perform any write operations on it. Otherwise, if your Cloud Pak for Data deployment has services that connect to an
external database, both the active (source) and passive (target) clusters will write to the external
database, which can cause data inconsistencies.
What to do next
When the IBM
Spectrum Protect Plus restore job has completed, all resources are restored. However, the Cloud Pak for Data platform and services might need more time for
the services to reconcile and start up before you can start using them. In Cloud Pak for Data, check that all service instances are restored
and in good status.
- Run the
cpd-cli manage login-to-ocp
command to log in to the cluster as a user with sufficient permissions to complete this task. For example:cpd-cli manage login-to-ocp \ --username=${OCP_USERNAME} \ --password=${OCP_PASSWORD} \ --server=${OCP_URL}
- Get the status of all
services.
cpd-cli manage get-cr-status \ --cpd_instance_ns=${PROJECT_CPD_INSTANCE}
- Verify that all services show
Completed
.