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 IBM® Rational® Test Automation Server, you can migrate those user data.

Before you begin

You must have upgraded Rational® Test Automation Server to a new version.

About this task

You must replace {my-rtas} with the name of the release that you provided during the installation of the server software in all the instances in this procedure.

Remember: The test-system is the name of the namespace that you created during the installation of the server software. If you created a namespace by using a different value, then you must use that value in place of test-system in all the instances in this procedure.

Procedure

  1. 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 test-system {my-rtas}
  2. Run the following script from the ibm-rtas-prod/files directory to merge the data into Rational® Test Automation Server:
    migrate.sh merge-dbs -n test-system {my-rtas}
  3. Run the following command to remove the resources that were created during the migration process:
    migrate.sh delete-temp-resources -n test-system {my-rtas}
  4. Run the following script from the ibm-rtas-prod/files directory to verify and test the installed server software:
    ibm-rtas-prod/files/helm-test-diag.sh {my-rtas} -n test-system

Results

You have migrated the user data from the earlier version to the new version.

What to do next

You can perform the following tasks: