It's all about the answers!

Ask a question

Transfer RQM v2.x (Server A) projects to RQM v3.x (Server B) and retire Server A??


Sunil Kumar R (1.1k13344) | asked Apr 26 '13, 7:50 a.m.
JAZZ DEVELOPER
We have 2 different servers e.g: Server A and Server B.

Server A is currently on RQM 2.x (/jazz)
Server B is on RQM 3.0.1.1 (/qm) which has pre-existing projects

We want to migrate data from Server A to Server B and Data includes:
- Test Plan
-Test data
- Test Case
-Test suite
-Test Keyword
-Test Script

and perhaps retire server A once the transfer of projects from Server A to Server B is complete..
We planned the following approach:-

a. On server A : Upgrade and migrate RQM v2.x to RQM v3.0.1.1(/jazz)
b. Use copy utility to migrate project artifacts from "RQM v3.0.1.1(/jazz)
-- Server A" to "RQM v3.0.1.1(/qm) -- Server B".
But b. would fail since the context roots are different..

Any other approach that can be tried??

Accepted answer


permanent link
Paul Slauenwhite (8.4k12) | answered May 03 '13, 6:57 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
edited May 03 '13, 9:15 a.m.
This error is unrelated to different context roots between the source and destination servers.

I believe you running into Copy Utility does not support spaces in the project area alias for PUT/POST requests. (57659), since the project area alias (newTOproject (Quality Management)) contains unencoded spaces causing the PUT request to the destination server to fail.

Please try using the RQM Copy Utility in https://jazz.net/downloads/rational-quality-manager/milestones/4.0.3M4?p=allDownloads.  Note, you will have to add the resources that don't supported GET/PUT operations in RQM 3.0.1.2 (e.g. channel - see https://jazz.net/wiki/bin/view/Main/RqmApi#Resources_and_their_Supported_Op) to the -ignoreTypes parameter (see https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Argument_Reference).
Sunil Kumar R selected this answer as the correct answer

Comments
Sunil Kumar R commented May 03 '13, 9:45 a.m.
JAZZ DEVELOPER

Thank you, I tried the following:-

a. RQM 3012 copy utility
 -- Yes as you indicated, I tired copying between 2 non-CLM projects i.e., without text "(Quality Management)" and it worked fine.

b. RQM 403 M4 copy utility also shows the same behavior as above..

Is there a copy utility which can help copy test artifacts between project areas with "space" char in them?

BR, Sunil


Paul Slauenwhite commented May 03 '13, 9:59 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Unless it's a new defect or you are invoking the RQM 3.0.1.2 Copy Utility, this should work.  Can you reconfirm and post your Copy Utility log?


Sunil Kumar R commented May 03 '13, 10:57 a.m.
JAZZ DEVELOPER

 I re-tried with RQM 403M4 copy util and with the command below..


C:\S\Softwares\RQMCopyUtil403M4>java -jar RQMCopyUtility.jar -version
RQM Copy Utility, version: 0.9.5_3_0

java -jar RQMCopyUtility.jar -s="https://insupclm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE Banking (Quality Management)" -us=sunilkumarr -pws=password -d="https://9.32.249.211:9443/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/newTOproject (Quality Management)" -ud=sunilkumarr -pwd=password -l=importlog.txt 

But it failed.. Here is the mig log : ftp://ftp.emea.ibm.com/fromibm/pmr/74428,999,744/74428.999.744.importlog_tryn.txt

Br, Sunil



1
Paul Slauenwhite commented May 04 '13, 7:45 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Hi Sunil,

You missed the following step:

Note, you will have to add the resources that don't supported GET/PUT operations in RQM 3.0.1.2 (e.g. channel - see https://jazz.net/wiki/bin/view/Main/RqmApi#Resources_and_their_Supported_Op) to the -ignoreTypes parameter (see https://jazz.net/wiki/bin/view/Main/RQMCopyUtility#Argument_Reference).

To resolve the problem, add the -ignoreTypes=channel parameter to the RQM Copy Utility command.


1
Rajat Singh commented May 05 '13, 2:19 a.m.

Or maybe just the artifact types that you want to copy:
-a, -artifactType=<artifactType1>,<artifactTypeN> 


Example: java -jar RQMCopyUtility.jar -s="https://insupclm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE Banking (Quality Management)" -us=sunilkumarr -pws=password -d="https://9.32.249.211:9443/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/newTOproject (Quality Management)" -ud=sunilkumarr -pwd=password -l=importlog.txt -a=testplan,testcase

2 other answers



permanent link
Paul Slauenwhite (8.4k12) | answered Apr 26 '13, 8:50 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Yes, this will work despite different the public URIs of the source and destination servers.

Comments
Sunil Kumar R commented Apr 26 '13, 9:09 a.m.
JAZZ DEVELOPER

Thank you Paul,

Agreed that the copy utility would work across different public URI's but how about the different context roots of the 2 CLM v3.x ?
We had tried this recently using the RQMCopyUtility but it failed due to different context roots (/jazz on first and /qm on second)


permanent link
Paul Slauenwhite (8.4k12) | answered Apr 26 '13, 9:22 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi Sunil,

The public public URI includes the context root so this should work.  Where the context roots correct in the -s/-d parameters?  If so, please attach the Copy Utility output/log.

Comments
Sunil Kumar R commented May 03 '13, 3:46 a.m.
JAZZ DEVELOPER

 Paul, I tried copying between RQM 3012 project Area on Server A with "/jazz" context root and RQM 3012 project area on Server B with "/qm" context root and it failed..


Here is the command used..
==========================
java -jar RQMCopyUtility.jar -s="https://insupclm:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE Banking (Quality Management)" -us=sunilkumarr -pws=password -d="https://9.32.249.211:9443/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/newTOproject (Quality Management)" -ud=sunilkumarr -pwd=password -l=importlog.txt
==========================


So it seems the copy util does not work across contexts (jazz to qm / qm to jazz) : Can u pls verify?

BR; Sunil

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.