Migrating Planning Analytics data between instances
Import or export Planning Analytics data between instances.
Use the cpd-cli export-import utility to migrate Planning Analytics data between instances. This method performs the migration by replacing all of the data in the destination environment with data from the source environment. For more information, see cpd-cli export-import.
Before you begin
- Make sure that you completed the prerequisite tasks and initialized the cpd-cli export-import utility. For more information, see Migrating data between IBM® Software Hub installations.
- Check whether the planning-analytics-aux auxiliary module is listed in both
instances. Run the following command to determine which auxiliary modules are
installed:
cpd-cli export-import list aux-modules -n ${INSTANCE_PROJECT} --profile=${CPD_PROFILE_NAME} - Make sure that you are using the internal version of the TM1 service. Export and import jobs for Planning Analytics support only the internal version of TM1.
To determine if your TM1 service is external or internal, run the following command:
oc get PAServiceInstance ${SERVICE_NAME} -n zen -o jsonpath='{.spec.tm1_internal_type}'If this command displays true as the output, your TM1 service is internal.
- Set the
DEST_INSTANCE_PROJECTenvironment variable to the project in the destination instance.export DEST_INSTANCE_PROJECT="<project-in-destination-instance>"Tip: If you are using the same project in the destination instance as your source instance, use theINSTANCE_PROJECTenvironment variable:export DEST_INSTANCE_PROJECT=${INSTANCE_PROJECT}
Procedure
Export the Planning Analytics data from the source instance:
Import the Planning Analytics data into the destination instance:
What to do next
To verify that the migration is successful:
- Log in to the Planning Analytics instance in the
destination environment.
Imported databases appear in the destination environment but are shut down. To use these databases, you must go to the Administration page to find and restart the databases.
- Open a book and verify that the data and graphs in the destination environment are the same as the data and graphs in the source environment.