Migrating your repository
You can migrate your IBM Cloud application repository by following these steps:
About this task
Migrating your IBM Cloud application involves several steps, some of which you perform, some of which IBM Cloud support performs.
Procedure
-
Perform a dry run or mock migration: You must first perform a mock migration or dry run
for verification and testing. A mock migration can help in the planning of a production migration,
and it gives you a better understanding of the time required to prepare for a production cut over.
These are the tasks involved in a mock migration
- Export your data: Export times can take anywhere from an hour up to multiple days; large databases are more likely to have slow exports, for example, IBM® Engineering Requirements Management DOORS® Next databases.
- Upload and download data file
- Perform integrity checks
- Run validations and tests
-
Create server backups: As a precaution, create server backups. If you are running
virtualized servers, snapshots are sufficient.
- Stop all Engineering Lifecycle Management application servers and their database servers.
- Back up or create snapshots of these servers.
-
Create a folder to collect the Export results
-
Create a temporary folder to store the exported file, The space required is larger than the
current database size. To create a directory:
- Windows:
mkdir C:\tmp\export\
- Linux:
mkdir /tmp/export/
- Windows:
-
Create a temporary folder to store the exported file, The space required is larger than the
current database size. To create a directory:
-
Run integrity checks for exporting data
- Jazz Online Verify Tool: Run the online verify tool check If possible install and run the Jazz Online Verify Tool, (download and instructions here). This takes awhile to run (see link FAQ ), but the servers do not need to be shut down to run this.
-
Repotools –Verify
command: Run theRepotools –Verify
command: This must be a level-10 data integrity check. The check must be run for every available Engineering Lifecycle Management application, for example:- IBM Engineering Workflow Management
- IBM Jazz® Team Server
- IBM Engineering Workflow Management
- IBM Engineering Lifecycle Optimization Method Composer
- IBM Engineering Test Management
- Global Configuration
- IBM Engineering Lifecycle Optimization Engineering Insights
In these examples replace
jts
with each application name. These examples assume a default Engineering Lifecycle Management installation: Make sure that you save the log files:- Windows:
cd C:\Program Files\IBM\JazzTeamServer\server\ repotools-jts.bat -verify teamserver.properties=conf\jts\teamserver.properties level=10
logFile=
logFile=C:\tmp\export\jts_verification.txt
- Linux:
cd /opt/IBM/JazzTeamServer/server/ ./repotools-jts.sh -verify teamserver.properties=conf/jts/teamserver.properties level=10
logFile=
logFile=/tmp/export/jts_verification.txt
-
Perform the export
-
Run the following command for every application that contains data: IBM Jazz Team Server, IBM Engineering Workflow Management, MEC, Engineering Test Management, Global Configuration, Engineering Insights. Any repotools export that
is not provided is assumed to be a green-field (
new
orempty
) database. In the examples below, replacejts
with each application name. These examples assume a default Engineering Lifecycle Management installation: Make sure that you save the log files:- Windows:
cd C:\Program Files\IBM\JazzTeamServer\server\ repotools-jts.bat -export toFile=C:\tmp\export\jts_export.tar teamserver.properties=conf\jts\teamserver.properties
logFile=
C:\tmp\export\jts_export_log.txt
- Linux:
cd opt/IBM/JazzTeamServer/server/ ./repotools-jts.sh -export toFile=/tmp/export/jts_export.tar teamserver.properties=conf/jts/teamserver.properties
logFile=
/tmp/export/jts_export_log.txt
- Windows:
-
Run the following command for every application that contains data: IBM Jazz Team Server, IBM Engineering Workflow Management, MEC, Engineering Test Management, Global Configuration, Engineering Insights. Any repotools export that
is not provided is assumed to be a green-field (
-
Compress the
conf
folder-
Next, compress the
conf
into a .tar or a .zip file. These folders can be many gigabytes in size. Indices are regenerated during or after the import. Therefore, theconf/
folder is very large, and this can mean long upload and download times. The application indices folders can be deleted if necessary. In a default Engineering Lifecycle Management installation, all applications are nested inside theconf/
path. Include user information in the upload: Use theeExportUsers
command to export the user information into a CSV file and include this CSV file in the upload:
- Windows: In Windows Explorer, browse to
C:\Program Files\IBM\JazzTeamServer\server\
. Right click theconf/
folder, and select Send To > Compressed (zipped) folder.
- Linux:
cd /opt/IBM/JazzTeamServer/server/ tar cvfz /tmp/export/conf_folder.tar.gz conf/
-
Next, compress the
-
Transfer or upload the export results
-
Export your compressed file using SFTP, and include the following files:
- IBM Jazz Team Server
- Engineering Test Management
- MEC
- Engineering Workflow Management
verify_logs.zip
export_logs.zip
users.zip
conf.zip
Note: If your SFTP requires a password, include the password in your export file.
-
Export your compressed file using SFTP, and include the following files:
-
Communication during the mock and production migrations
- The cloud engineers use their support ticketing system to raise a migration ticket and add you (and your IBM technical contact). As work progresses you will receive updates in emails titled [Service Desk].