Prepare the API Connect
Analytics subsystem for disaster recovery in a Kubernetes environment.
About this task
Preparing for disaster recovery involves backing up data and making a local copy of the Custom
Resource (CR) that was used for installing the Analytics subsystem.
Procedure
-
Perform a backup of the
Analytics database.
-
Make a copy of the AnalyticsCluster CR (custom resource).
-
Find the Analytics cluster's name by running the following command and looking for the value in
the
NAME
column:
kubectl get AnalyticsCluster
The response looks like the following
example:
NAME READY STATUS VERSION RECONCILED VERSION AGE
gj01-analytics 6/6 Running 10.0.1-eus 10.0.1.1-1402-eus 22h
In this example the cluster's name is gj01-analytics
.
-
Get the YAML that describes the Analytics cluster, and save it in a file using the following
command:
Use the name of the AnalyticsCluster that you obtained in the previous step.
kubectl get AnalyticsCluster gj01-analytics -o yaml > gj01-analytics.yaml
Important: If you update the AnalyticsCluster CR,
take a new backup of it.
-
Save the file locally.