Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Copy RTC SCM component from one CCM to another CCM using script

Our RTC 5.0.2 environment is with multiple CCMs, and we are in the process of migrating some of the projects from one CCM to another CCM. As part of this streams and components needs to be copied to the destination CCM. We need to automate this process as RTC utility "Duplicate" does not support for large size components.

Automation of copying the components from one CCM to another can be achieved through Java API/scripts? What is the best way to automate the duplicating of stream with components from one CCM to another?

0 votes



One answer

Permanent link
I assume you are using distributed SCM. Have you tried to use the SCM command line?
You would
  • Create a stream S1 with the component baseline on Server 1
  • Create a repository workspace RW from that stream on Server 2
  • Create an empty stream S2 on Server 2 and set it as flow target in the repository workspace
  • Deliver component additions and changes from RW to S2

1 vote

Comments

 Thanks Ralph, I haven't tried SCM CLI to accomplish this. I will try the steps you provided using CLI. Only concern is we need less user interference to avoid errors. More input by user creates more mistakes. Also, for migration multiple snapshots of a stream needs to be copied.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Oct 27 '16, 4:10 a.m.

Question was seen: 2,759 times

Last updated: Oct 27 '16, 5:03 a.m.

Confirmation Cancel Confirm