what are recommendations for upgrading CLM from 4.0.6 to 5.0.1
- Currently on our staging environment we have installed all the CLM 4.0.6 applications and SQL Server 2008 R2 DB. Configured and it works fine.
- As 5.0.1 does not support SQL Server 2008 we have upgraded the database server to 2012.
- As the next step, as per info center guide it says to install CLM 5.0.1 fully on to the server. Here I have a doubt - Before starting the CLM 5.0.1 installation using IM should we shutdown the existing CLM 4.0.6 applications.
- If we install the new CLM 5.0.1 does it affect the existing 4.0.6 instance.
Accepted answer
7 other answers
Hi Anoop,
1) Install the RTC 5.0.1 on the same machine based on your components if its distributed setup ( JTS,CCM,RQM,RM)
2) Stop the serivce
3) Backup the database.
4) Follow the below Interactive Upgrade for the Steps.
5) RM
There is a great wiki page on this upgrade created by development that you should check out (and book mark for future reference)
https://jazz.net/wiki/bin/view/Deployment/RM4to5MigrationTipsTricksProblemsAndSolutions
* High level Steps.
-
copy the jts database to a new database for rm
-
Run the rmUpdateConfigurationFiles repotools command to merge the existing configuration files
-
Run the -addTables command
-
Run the -finalizeApplicationMigration command to complete all necessary offline migration (on the rm server)
-
On the JTS server run the repotools-jts.bat -finalizeApplicationMigration (with specific arguments)
-
Update project associations with the -rmUpdateProjectBackLinksOnline command
-
Run the -reindex command. (This step is optional, but recommended
Regards,
Arun.
Note that the server/conf/rm folder, there is no teamserver.properties file.
Copy the teamserver.properties file from JTS 4.0.6 version (/opt/IBM/<JazzTeamServer_406_InstallDir>/server/conf/jts) for /opt/IBM/<JazzTeamServer_4.0.6_InstallDir>/server/conf/rm folder and to /opt/IBM/<JazzTeamServer_5.0.1_InstallDir>/server/conf/rm.
Edit the teamserver.properties file on /opt/IBM/<JazzTeamServer_4.0.6_InstallDir>/server/conf/rm and change the properties as follows:
Entry: com.ibm.team.repository.db.jdbc.location
Change: JTS by RM
Entry: com.ibm.team.fulltext.indexLocation
Change: jts by rm
Save the file.
Then from /opt/IBM/<JazzTeamServer_5.0.1_InstallDir>/server/ run the following commands:
a) repotools-rm.sh -migration_rm_updateConfigurationFiles
b) repotools-rm.sh -addTables
c) repotools-rm.sh -finalizeApplicationMigration
The finalizeApplicationMigration command will generate an output with the application ID and the public URL of RM. Note that data to use later.
Clean the RM data in JTS server.
Get in JTS machine: /opt/IBM/<JazzTeamServer_5.0.1_InstallDir>/server/ and run:
repotools-jts.sh -finalizeApplicationMigration checkOauthDomain = true applicationId = RM-application-id = repositoryURL PUBLIC_RM_URL
example:
./repotools-jts.sh -finalizeApplicationMigration checkOauthDomain = true applicationId = * = repositoryURL **
* -> Id generated by finalizeApplicationMigration
** -> URL generated by repositoryURL = PUBLIC_RM_URL
run the repotools-rm.sh -reindex all