Best practice to migrate and upgrade CLM server at the same time?
Accepted answer
Hi Taki-san,
Normally, it would be a good idea to follow the instructions of backup/restore to migrate RTC from one server to the other.
However, I think you can migrate APP server more simply like following steps if you meet the following pre conditions.
Pre condition (Added by reflecting Ralph's comment)
- You are NOT changing the public URI.
- You are NOT moving DB server. (You are moving only APP server.)
Procedure
1. Run # tar czvf JazzTeamServer.tgz /opt/IBM/JazzTeamServer on the current server.
2. Move JazzTeamServer.tgz to the new server and extract it under /opt/IBM on the new server.
3. Then, install InstallationManager and RTC 502 as /opt/IBM/JazzTeamServer502.
4. Change directory to /opt/IBM/JazzTeamServer502/server and upgrade from /opt/IBM/JazzTeamServer to RTC502.
4. Change directory to /opt/IBM/JazzTeamServer502/server and upgrade from /opt/IBM/JazzTeamServer to RTC502.
In this scenario, you don't have to worry about IM repository on the current server because the upgrade process doesn't use it. In the new server, you can simply install RTC 502 as a new IM repository.
One other answer
I am not in agreement with the answer.
first of all, I would do the upgrade first and then change the server, this just makes sure the complexity is kept lower.
You would NOT use the repotools command to tar your databases. Dependent on the size of the repository that can take a long time to export and reimport. Using the repotools export is only needed if the database needs to be migrated. Otherwise you just need to make sure the database is accessible.
I would suggest to do the upgrade and the hardware migration in two steps. If you still want to do both in one step, you can roughly follow the process below, assuming you can keep the public URI stable:
first of all, I would do the upgrade first and then change the server, this just makes sure the complexity is kept lower.
You would NOT use the repotools command to tar your databases. Dependent on the size of the repository that can take a long time to export and reimport. Using the repotools export is only needed if the database needs to be migrated. Otherwise you just need to make sure the database is accessible.
I would suggest to do the upgrade and the hardware migration in two steps. If you still want to do both in one step, you can roughly follow the process below, assuming you can keep the public URI stable:
-
Understand the upgrade process - read the interactive upgrade process. During the upgrade you need access to the old data of the old server e.g. the properties files etc.
-
BACKUP YOUR DATA - see https://jazz.net/wiki/bin/view/Deployment/BackupCLM
-
Copy the old server install folders to the new machine - make sure the index files/folders are copied. If they are still in a location relative to the server folder, you might want to move them to an absolute path, before step 2.
-
Install the new version side by side to the copy
-
After the old server is down, change the DNS so that the new server has the fully qualified domain name of the old machine name needed for hosting the pubic URI
- Follow the interactive upgrade guide to upgrade. Run the repotools upgrade scripts pointing to the copy of your old system
Comments
Hi Ralph, thank you for the comment.
As I talked to Taki, he is trying to move only APP server. He does NOT change DB server so that he doesn't need to use repotools to move DB. I tested my steps several time in my env and works fine.
Current App server (clm.jkebanking.net) -> DB server (db2.jkebanking.net)
New App server (clm.jkebanking.net) -> DB server (db2.jkebanking.net : same as current)