Migrating user data on Red Hat OpenShift
When you want to use the data, which was in your earlier version, in a new version of Test Hub, you can migrate those user data.
Before you begin
About this task
You must replace {main} with the name of the release that you provided during the installation of Test Hub in all the instances in this procedure.
Remember: The
devops-system is the name of the namespace that you created during the
installation of Test Hub. If
you created a namespace by using a different value, then you must use that value
in place of devops-system
in all the instances in this procedure.Procedure
-
Run the following script from the ibm-rtas-prod/files
directory to create a directory that contains metadata related to the Persistent
Volume Claims and their Persistent Volumes:
migrate.sh create-pvcs -n devops-system {{main}} -
Run the following script from the ibm-rtas-prod/files
directory to merge the data into Test Hub:
migrate.sh merge-dbs -n devops-system {{main}} -
Run the following command to remove the resources that were created during the
migration process:
migrate.sh delete-temp-resources -n devops-system {{main}} -
Run the following script from the hcl-devops/files directory to verify and test the installed
instance:
hcl-devops/files/helm-test-diag.sh {main} -n devops-system
Results
What to do next
-
Configure licenses for team spaces. See Configuring licenses for team spaces.
-
Configure Test Hub. See Configuration of DevOps Test Hub.