Using this procedure, you can migrate the Microstrategy database (mstr db) from the source system Crunchy 2 to the target system Crunchy 5.
Before you begin
Single node cluster must be deployed.
Source system with Crunchy 2 environment must be configured.
Target system with Crunchy 5 environment must be configured.
Procedure
Log in to the Cluster Control Manager (CCM) console in target system as the customer user.
Switch to being the root user by entering the command su.
To find the name of the Crunchy 5 primary pod, run the following command:
kubectl get pod -l postgres-operator.crunchydata.com/cluster=analyticsdb,postgres-operator.crunchydata.com/role=master -o name | cut -c 5-
Run the following command into Crunchy 5 primary pod:
kubectl exec -it POD_NAME -- /bin/bash
Here, replace POD_NAME with the name of the Crunchy 5 primary pod found in above step.
When prompted, enter the Microstrategy host, and port values noted from the output of running the HAsourcemigrate2to5.sh script on the source CCM in the Setup Source Crunchy 2 Environment section.