Differences

This shows you the differences between two versions of the page.

Link to this comparison view

72:clearcase_migrating [2018/07/09 19:55] (current)
bkkr
Line 1: Line 1:
 +[[:​72:​clearcase|ClearCase Integration]]
 +
 +====== Migrating from Snapshot to Dynamic Views ======
 +
 +The ClearCase integration of Stages has already been used with snapshot views (default) and you want to migrate to dynamic views.
 +
 +**Step 1:**
 +
 +Stop Stages Server
 +
 +**Step 2: **
 +
 +Configure the properties required for usage of dynamic views in the ClearCase section of PKitConfig.xml:​
 +
 +  * ''<​font inherit/​Courier New,​Courier,​monospace;;​inherit;;​inherit>​viewType=”dynamic”</​font>''​
 +  * ''<​font inherit/​Courier New,​Courier,​monospace;;​inherit;;​inherit>​mvfsDrive=”<​driveLetter (e.g. M:​)>​”</​font>''​
 +  * ''<​font inherit/​Courier New,​Courier,​monospace;;​inherit;;​inherit>​vws=”<​view storage location to use>​”</​font>''​
 +**Step 3:**
 +
 +Start Stages service again and check CMS profiles if the dynamic views can be generated.
 +
 +**Step 4:**
 +
 +Stop Stages Server
 +
 +**Step 5:**
 +  - Open command line with the same user that runs the Stages service. You may use “Run as” when you are logged on with another user.
 +  - Go to the Stages installation directory: ''<​font inherit/​Courier New,​Courier,​monospace;;​inherit;;​inherit>​C:​\Programme\methodpark\Stages</​font>''​
 +  - Execute the following command: ''<​font inherit/​Courier New,​Courier,​monospace;;​inherit;;​inherit>​bin\removeCCViews snapshot</​font>''​
 +  - Check the output and the ''<​font inherit/​Courier New,​Courier,​monospace;;​inherit;;​inherit>​error.log</​font>'' ​ file for problems. The problems must be solved before you should continue with the next step.
 +
 +**Step 6:**
 +
 +If any files were checked out via Stages in the ClearCase snapshot views, the corresponding files will have to be checked out in the new dynamic views. Proceed in the following way:
 +
 +  - You still need to be in the Stages installation directory in command line (opened in the context of the user that runs the Stages service).
 +  - Execute the following command: ''<​font inherit/​Courier New,​Courier,​monospace;;​inherit;;​inherit>​bin\restoreCheckouts ClearCase</​font>''​
 +  - Check the output and the ''<​font inherit/​Courier New,​Courier,​monospace;;​inherit;;​inherit>​error.log</​font>'' ​ file for problems.
 +
 +**Step 7:**
 +
 +Restart Stages Server
 +