<div id="header-title" style="padding: 10px 15px; border-width:1px; border-style:solid; border-color:#FFD28C; background-image: url(<nop>https://jazz.net/wiki/pub/Deployment/WebPreferences/TLASE.jpg); background-size: cover; font-size:120%"> ---+!! Performing a server rename <img src="https://jazz.net/wiki/pub/Deployment/WebPreferences/todo.png" alt="todo.png" width="50" height="50" align="right"> %DKGRAY% Authors: Main.LisaFrankel <br> Build basis: CLM products, version 4.0.1 and later %ENDCOLOR%</div></sticky> <!-- Page contents top of page on right hand side in box --> <sticky><div style="float:right; border-width:1px; border-style:solid; border-color:#DFDFDF; background-color:#F6F6F6; margin:0 0 15px 15px; padding: 0 15px 0 15px;"> %TOC{title="Page contents"}% </div></sticky> <sticky><div style="margin:15px;"></sticky> This page includes step-by-step procedures for performing a server rename. %RED% *Important:* %ENDCOLOR% Server rename is a complex and potentially disruptive operation because correcting the stored links to the server from other applications and systems can be difficult or impossible. Server rename is supported only for a specific set of scenarios and requires careful planning. Use server rename only as a last resort when other approaches are unworkable. To enable server rename, you must obtain a feature key file from IBM Software Support. When you contacting IBM support, mention that you are requesting a "Server Rename feature key file". The key file is named =ImportURLMappings.activate=. Once received, copy the file to the =JazzInstallDir/server/conf= directory for the applications that you will rename. #ServerRenamePreparingTheMappingFile ---++ Preparing the mapping file Learn how to prepare the mapping file which you will later use when you rename your Rational® solution for Collaborative Lifecycle Management (CLM) servers. You can prepare and review the mapping file in advance of the actual rename while your servers are still online. ---+++!! About this task There are several steps that you need to take before you rename the server. In large part, this involves preparing and reviewing the mapping file that you will use to perform the rename operation. The mapping file lists the existing source URLs and the renamed target URLs in your deployment. These include the URLs for the Jazz Team Server, the CLM applications, the CLM help WAR file, and any other applications that are impacted. For sample topology diagrams and mapping files, see [[ServerRenamePlanningFor#TopologyDiagramsMappingFileEx][Topology diagrams and mapping file examples]]. You can perform these steps in both an all-in-one CLM deployment, where the Jazz Team Server and the CLM applications are all installed on the same computer, or in a distributed deployment, where the CLM applications are installed on different computers. These preparatory steps can be used with various scenarios, for example where a computer is moved to a new physical location, when setting up a test sandbox on a new computer, or the case of a data center consolidation that involves a renamed environment on new computers. %RED% *z/OS:* %ENDCOLOR% Renaming a server is supported on z/OS®, but there are several differences in the process for creating a mapping file. For details, see [[ServerRenamePlanningFor#ServerRenameOnZOS][Server rename on z/OS]]. ---+++!! Procedure 1. After upgrading the Jazz Team Server (JTS) and all CLM applications, start the Jazz Team Server and verify that the applications have been registered correctly with the server. a. Log in to the Administration page of the Jazz Team Server. Point your web browser to =https://hostname:port/jts/admin=. a. Click the *Server* tab. a. In the left pane, in the Configuration section, click *Registered Applications*. a. Verify that all of your applications are registered. <br> For further details, see the "Registering applications with Jazz Team Server" topic in the Jazz Team Server Administering book in the [[http://www-01.ibm.com/support/knowledgecenter/SSYMRC/clm_family_welcome.html][IBM Knowledge Center]]. 1. Open a command prompt on the computer where the Jazz Team Server is installed and change to the =JazzInstallDir\server= directory. <br><br> %RED% *Note:* %ENDCOLOR% Be sure to perform this step and the following steps on the original Jazz Team Server, even if you will be moving to new hardware. <br><br> 1. Use the =repotools-jts -generateURLMappings= command to generate an initial mapping file to use as a template for further editing, as shown next. If you have already run the command, or the file already exists, add the =overwrite=true= parameter. <br> * %RED% *Windows:* %ENDCOLOR% =repotools-jts.bat -generateURLMappings toFile=mappings.txt adminUserId=adminId adminPassword=adminPassword additionalURLFile=additionalurl.txt= <br> * %RED% *UNIX, Linux:* %ENDCOLOR% =./repotools-jts.sh -generateURLMappings toFile=mappings.txt adminUserId=adminId adminPassword=adminPassword additionalURLFile=additionalurl.txt= <br><br> The output of this command is a mapping file that lists the existing source Public URL and a default target URL for the Jazz Team Server and each CLM application (CCM, QM, and RM) that is registered with the Jazz Team Server. It also identifies source and target URLs for the CLM help WAR file and any known affected external systems. <br><br> In addition, a second file is created that contains a list of all of the URLs that may need to be mapped or that reference third-party integrations that may need to be considered. You can add these URLs to the mappings file. For simple deployments, it is not uncommon for this file to contain no additional URLs. If you include the =additionalURLFile=additionalurl.txt= parameter, you can specify a different name for this file. For further details about this parameter, see [[ServerRenameRepositoryToolsCommandLineRef#ServerRenameRepoToolsCmdGenerateURLMappings][Repository tools command to generate the server rename mappings file]]. Verify that there are no errors in the log file at =JazzInstallDir/server/repotools-jts_generateURLMappings.log=. 1. Review and edit the generated mapping file carefully. Look for typos in the host name, port or root contexts. Some of these typos are not detectable by the server rename tools and can lead to a nonfunctioning product. To familiarize yourself with the structure of the mapping file, see [[ServerRenamePlanningFor#ServerRenameMappingFile][Mapping file for server rename]]. a. Verify that a source-target pair exists for every application being renamed and for the CLM Help WAR file. a. Edit the =target== urls for the entries that you want to rename to be the correct targets. <br><br> %RED% *Note:* %ENDCOLOR% If you are renaming a port number of the Jazz Team Server or any application, you will need to update the port information in the application server after the rename, but before the servers are restarted. For details, see the "Changing the port numbers for the application server" topic in the Jazz Team Server Installing book in the [[http://www-01.ibm.com/support/knowledgecenter/SSYMRC/clm_family_welcome.html][IBM Knowledge Center]]. If you are renaming a context root of the Jazz Team Server or any application, see [[#ServerRenameChangingTheContextRoot][Changing the context root]]. <br><br> a. Using a pound sign (#), comment out the source-target pair of any URLs that you do not want to be renamed. a. Review the list of affected URLs. Although the command searches for all known URLs in the deployment, it is possible that some are missed. If any of these affected URLs need to be mapped, uncomment the source/target pair for the affected URL and provide the new target URL. If you have any doubts about the environment, talk to an administrator before proceeding with the rename. <br> a. Review the =additionalurls= file. For details, see [[ServerRenameRepositoryToolsCommandLineRef#ServerRenameRepoToolsCmdGenerateURLMappings][Repository tools command to generate the server rename mappings file]]. <br><br> %RED% *Note:* %ENDCOLOR% If any configuration changes are made to the CLM deployment before you proceed to the actual rename, including registering additional applications, you will need to regenerate the mapping file. <br><br> 1. Use the =repotools-jts -verifyURLMappings= command to verify the mapping file. * %RED% *Windows:* %ENDCOLOR% =repotools-jts.bat -verifyURLMappings mappingFile=mappings.txt repositoryURL=<serverURL> adminUserId=<adminId> adminPassword=<adminPassword>= * %RED% *UNIX, Linux:* %ENDCOLOR% =./repotools-jts.sh -verifyURLMappings mappingFile=mappings.txt repositoryURL=serverURL adminUserId=adminId adminPassword=adminPassword= <br><br> For further details about the types of verifications that this command performs, see [[ServerRenameRepositoryToolsCommandLineRef#ServerRenameVerifyMappingFile][Repository tools command to verify a mapping file]]. 1. If your scenario involves new hardware, install CLM on the new computers. Do not run the Jazz Setup wizard or start the Jazz Team Server. For details about supported software versions, see [[ServerRenamePlanningFor#ServerRenameSupportedScenarios][Supported scenarios for using server rename]]. For details about the installation process, see the "Installing Jazz Team Server and the Rational solution for Collaborative Lifecycle Management applications" topic in the Jazz Team Server Installing book in the [[http://www-01.ibm.com/support/knowledgecenter/SSYMRC/clm_family_welcome.html][IBM Knowledge Center]]. ---+++!! What to do next Proceed to renaming the server. For details, see [[#ServerRenameMovingPilotOrFullProdDeployment][Moving a pilot or full production deployment by using server rename]] or [[#ServerRenameSettingUpTestStagingEnv][Setting up a test staging environment with production data]]. #ServerRenameSettingUpTestStagingEnv ---++ Setting up a test staging environment with production data Learn how to use the server rename feature to prepare a staging environment with production data. A staging environment is a test sandbox that is isolated from the production environment. It can be used to try out new features or functions with real data without impacting the production database. ---+++!! Before you begin * To enable server rename, you must obtain a feature key file from IBM Software Support. When contacting IBM support, mention that you are requesting a "Server rename feature key file". The key file is named =ImportURLMappings.activate=. Once received, copy the file to the =JazzInstallDir/server/conf= directory for the applications that you will rename. * Before you proceed with the rename, check that the required version of the CLM software is installed and that your environment meets the criteria for a server rename. For details, see [[ServerRenamePlanningFor#SwVerReq][Software version requirements]] and [[ServerRenamePlanningFor#ServerRenameSupportedScenarios][Supported scenarios for using server rename]]. * Decide whether you are going to move the deployment to new hardware or keep the same hardware (rename-in-place). In the following steps, your current server environment is called the source environment. The server environment that you are moving to is called the target environment. If you are performing a rename-in-place, the target environment refers to a new location on the same server, or set of servers in a distributed deployment. * Review [[ServerRenameImpactOnRationalSolutionForCLM][Impact of server rename on the Rational solution for Collaborative Lifecycle Management]] to understand the actions you will need to take when the Jazz Team Server and CLM applications are renamed. * Decide whether you are going to keep the existing application server or migrate to a new one. If you are planning to move to a new application server, see one of the following topics in the Jazz Team Server Upgrading and Migrating book of the [[http://www-01.ibm.com/support/knowledgecenter/SSYMRC/clm_family_welcome.html][IBM Knowledge Center]] as appropriate to your environment: "Switching from Apache Tomcat to !WebSphere Application Server" or "Changing !WebSphere Application Server installations and instances". * Decide whether you are going to keep the existing database or move to a new one. If you are planning to move to a new database, see one of the following topics as appropriate to your environment: [[#ServerRenameMovingCLMDBsToDiffSvr][Moving the Rational solution for Collaborative Lifecycle Management databases to a different database server]] or [[#ServerRenameChangingCLMDBsToDiffDBVendor][Changing the Rational solution for Collaborative Lifecycle Management databases to a different database vendor]]. * Setting up server rename can take several attempts. If your setup takes more than one attempt, you will need to restore your environment to a clean state between attempts. For instructions on restoring to a clean state, see [[ServerRenameVerifyingAndTroubleshooting#ServerRenameRecoveringFromCommonProblems][Recovering from common problems]]. ---+++!! About this task The server rename feature uses a mapping file to determine the URLs to be renamed. A =repotools= command is provided to generate an initial mapping file for you. The mapping file contains source-target pairs for the Jazz Team Server and all applications, as well as any other URLs contributed by applications. For details about the mapping file, see [[ServerRenamePlanningFor#ServerRenameMappingFile][Mapping file for server rename]]. For information sample topology diagrams and mapping files, see [[ServerRenamePlanningFor#ServerRenameSettingUpTestStagingEnvironment][Topologies and mapping files for setting up a test staging environment]]. When you are planning a staging environment, you need to be especially careful not to contaminate production data or vice versa. The staging environment must be isolated with no connections to any part of the production environment, including the production database. You accomplish this two ways, by adding entries to the hosts file, if it is allowed in your environment, and by creating mappings to mask the servers that are not present in your staging environment. Be sure to include in the mapping any additional CLM servers or non-CLM products that might be connected to the production server. See substep d. of step 3 and [[ServerRenamePlanningFor#ServerRenameMappingFile][Mapping file for server rename]] for details. For example, you might have a Change and Configuration Management (CCM) application in one production server with links to CCM in another production server, and links to Quality Management (QM) in still another production server. Furthermore, you might have integrations with non-CLM products, such as Rational® !ClearQuest®. In this case, first mask out the URLs of the additional CCM and QM servers. Also ensure that the URL for Rational !ClearQuest is masked out or otherwise mapped to a staged Rational !ClearQuest gateway server. %RED% *Important:* %ENDCOLOR% Do not connect a Rational Team Concert client to both the production and staging repositories. Always use a staging workspace for connecting to the staging server. ---+++!! Procedure 1. Prepare for the rename by following the steps that are described in [[#ServerRenamePreparingTheMappingFile][Preparing the mapping file]]. Be sure to create dummy mappings for any of the affected URLs in the mapping file. This practice avoids cross-linking between the staging and production environments. For details, see [[ServerRenamePlanningFor#ServerRenameMappingFile][Mapping file for server rename]]. The result of the preparatory phase is a mapping file that is generated on the original, source Jazz Team Server. After you carefully review and edit the mapping file, copy it to the =JazzInstallDir\server= directory on the target Jazz Team Server in the staging environment. <br><br> 2. Back up the production environment and copy text indexes and application configuration files to the target staging server. For distributed systems, go to the appropriate server to copy the files. <br><br> %RED% *Note:* %ENDCOLOR% If you are performing a rename-in-place and not moving to new hardware, you are copying the environment from one installation to a second installation on the same system. <br><br> Because you need to stop the production servers while you perform these steps, be sure to choose a convenient time to perform the backup, preferably right before you set up the staging environment. If any changes are made to the production environment before you proceed to the rename, you will need to regenerate the mapping file before you import it into the staging server. While the servers are down, users are unable to create or traverse links from any external systems that are integrated with the CLM deployment about to be renamed. <br><br> a. Stop the Jazz Team Server and any distributed CLM applications that are registered with the Jazz Team Server in the production environment. <br><br> b. Back up all of the databases in the CLM 4.0 production environment, including the Jazz Team Server database, the databases for the CCM and QM applications, the data warehouse database, and the RRDI content store database. Copy the databases from the production to the staging environment by following the steps in [[#ServerRenameConfiguringDeploymentAfterDBMove][Configuring after a database server move]]. <br><br> c. Copy the =JFS/text= indexes from the source production server to the target staging server. The following examples for a Linux server assume that the drives for the staging computers are mounted on the network. If it is not possible to mount the drives for the staging computers on the network, use other file transfer methods to ensure that the files are copied. <verbatim> cp -R SourceJazzInstallDir/server/conf/jts/indices TargetJazzInstallDir/server/conf/jts cp -R SourceJazzInstallDir/server/conf/ccm/indices TargetJazzInstallDir/server/conf/ccm cp -R SourceJazzInstallDir/server/conf/qm/indices TargetJazzInstallDir/server/conf/qm </verbatim> d. Copy the application configuration files from the source production server to the target staging server. (For distributed systems, go to the appropriate server to copy the files.) As with the previous step, the next examples are for a Linux server and assume that the drives for the staging computers are mounted on the network. <verbatim>cp SourceJazzInstallDir/server/conf/jts/teamserver*.properties TargetJazzInstallDir/server/conf/jts cp SourceJazzInstallDir/server/conf/ccm/teamserver*.properties TargetJazzInstallDir/server/conf/ccm cp SourceJazzInstallDir/server/conf/qm/teamserver*.properties TargetJazzInstallDir/server/conf/qm cp SourceJazzInstallDir/server/conf/admin/admin.properties* TargetJazzInstallDir/server/conf/admin cp SourceJazzInstallDir/server/conf/admin/friends.rdf* TargetJazzInstallDir/server/conf/admin cp SourceJazzInstallDir/server/conf/rm/teamserver.properties TargetJazzInstallDir/server/conf/rm</verbatim> e. Copy the mapping file to the =TargetJazzInstallDir\server= directory on the staging server. For details about the mapping file, see [[#ServerRenamePreparingTheMappingFile][Preparing the mapping file]]. <br><br> %RED% *Note:* %ENDCOLOR% If any configuration changes are made to the CLM deployment before you perform the next step, you will need to regenerate the mapping file. <br><br> f. Restart all of the CLM servers, and allow users to continue to use the production environment. The remaining steps apply to the staging test environment. <br><br> 3. Perform the following steps in the staging test environment. <br><br> a. Optional: Differentiate the staging servers from the production servers by uploading a theme. <br><br> %RED% *Learn more about themes:* %ENDCOLOR% Because the staging and production servers have the same data, it can be difficult to distinguish between the two. To help differentiate the staging servers from the production servers, you can use a theme on the staging servers to make it easy to see which server you are working on. To upload a new theme on the Jazz Team Server, type =https://fully.qualified.hostname:9443/jts/admin=, click *Servers*, and then click *Themes*. To upload a new theme for Change and Configuration Management, type =https://fully.qualified.hostname:9443/ccm/admin= and click *Themes*. To upload a new theme for Quality Management, type =https://fully.qualified.hostname:9443/qm/admin= and click *Themes*. In all cases, click *Browse* and select a =themes.zip= file. You can find sample themes at [[https://jazz.net/wiki/bin/view/Main/WebUITheming#Uploading_a_New_Theme][Uploading a new theme]]. For more information about themes, see "Configuring themes" in the Jazz Team Server Administering book in the [[http://www-01.ibm.com/support/knowledgecenter/SSYMRC/clm_family_welcome.html][IBM Knowledge Center]]. <br><br> b. Restore the database backups from the production environment to the staging environment. It is a best practice to use a separate database server in the staging environment to avoid stressing the production database server. <br><br> c. Replace the database connection parameters in the =JazzInstallDir/server/conf/applicationName/teamserver.properties= files so that they point to the connection parameters for the staging copy of the database in the test environment. These parameters include the entries for the =jts= database, the =ccm= and =qm= application databases, the data warehouse database, and updated passwords. <br><br> %RED% *Attention:* %ENDCOLOR% This step is important to complete before you continue with the next steps in the task. Before you run the =repotools-jts -importURLMappings= command, it is important that you verify the =teamserver.properties= files are pointing to the staging copy of the database in the test environment. Otherwise, if the =teamserver.properties= files specify connection parameters to the database in the production environment, running the =-importURLMappings= command will corrupt the production database. <br><br> %RED% *Important:* %ENDCOLOR% You must update only the database connection parameters in the =teamserver.properties= files. Do not update any other entries in these =teamserver.properties= files as these properties are reserved and modified by the server rename process. For example, the public URI property: =com.ibm.team.repository.server.webapp.url= <br><br> d. As an extra precaution to the dummy mappings in the mapping file, if it is allowed in your environment, update your hosts file to prevent access to the production system URLs and to prevent accidental edits to artifacts in the production server. <br><br>The goal here is to resolve the host names to a false IP address that is not being used by any of the CLM servers in the production environment. Thus, if a server in the staging environment tries to establish a connection to a production server, the connection will fail. <br><br>Make a list of all of the distinct host names that appear in your mapping file. These host names might be source URLs or affected URLs. For each host name, create an entry in the hosts file that maps the host name to a false IP address. You need to edit the hosts file for all of the servers in your staging environment, including third-party servers and client workstations. The following host file shows sample entries for your staging server: <verbatim> # 10.10.10.10 refers to an IP address that does not host a clm application. 10.10.10.10 ProductionServerP1 10.10.10.10 ProductionServerP2 10.10.10.10 ProductionServerP3 </verbatim> e. Open a command prompt window in the =JazzInstallDir\server= directory and import the mappings file into the target Jazz Team Server by using the =repotools-jts -importURLMappings= command. <br><br> %RED% *Attention:* %ENDCOLOR% Before you run the =repotools-jts -importURLMappings= command, it is important that you verify the =teamserver.properties= files are pointing to the staging copy of the database in the test environment. Otherwise, if the =teamserver.properties= files specify connection parameters to the database in the production environment, running the =-importURLMappings= command will corrupt the production database. <br> * If you have an all-in-one deployment, import the mappings file by using the =repotools-jts -importURLMappings= command: <br><br> %RED% *Windows:* %ENDCOLOR% =repotools-jts.bat -importURLMappings fromFile="C:\mappings.txt"= <br> %RED% *UNIX, Linux:* %ENDCOLOR% =./repotools-jts.sh -importURLMappings fromFile="opt/mappings.txt"= <br><br> The rename begins offline on the Jazz Team Server, before the server is restarted. <br><br> * If you have a distributed deployment and are allowed to map network drives, map a network drive from the Jazz Team Server host to each of the application hosts. Then, create a file (for example, =serverConfFile.txt=) that contains a list of the remote =server/conf= directories in your deployment in the following format: <verbatim> # Remote CCM server x:/JazzTeamServer/server/conf # Remote QM server y:/JazzTeamServer/server/conf # Remote RM server z:/JazzTeamServer/server/conf </verbatim> Finally, proceed with the =repotools-jts -importURLMappings= command and add the =serverConfFile== parameter as shown next. <br><br> %RED% *Windows:* %ENDCOLOR% =repotools-jts.bat -importURLMappings fromFile="C:\mappings.txt" serverConfFile="C:\serverConf.txt"= <br> %RED% *UNIX, Linux:* %ENDCOLOR% =./repotools-jts.sh -importURLMappings fromFile="/opt/mappings.txt" serverConfFile="/opt/serverConf.txt"= <br><br> * If you have a distributed CLM deployment and are not allowed to remap network drives, proceed with the =repotools-jts -importURLMappings= command as shown next. <br><br> %RED% *Windows:* %ENDCOLOR% =repotools-jts.bat -importURLMappings fromFile="C:\mappings.txt"= <br> %RED% *UNIX, Linux:* %ENDCOLOR% =./repotools-jts.sh -importURLMappings fromFile="opt/mappings.txt"= <br><br> Then, copy the =server/conf/jts/.mappingEvent= file to the remote application configuration directories (=server/conf/application_name=), that is, =ccm=, =qm=, and =rm=. You must copy the =.mappingEvent= file after you import the mapping file but before you start the server. <br><br> The =.mappingEvent= file contains information that the applications need to contact the Jazz Team Server at its new location. The =.mappingEvent= file contents are the same for a Jazz Team Server and its registered applications. <br><br> Verify that the rename is successful by checking the console output and the =server/repotools-jts_importURLMappings.log= file. If any errors are displayed, or if you realize that you made a mistake in your mapping file, see [[ ][Troubleshooting server rename]] to pinpoint and fix the problem. <br><br> %RED% *Note:* %ENDCOLOR% Rename servers running on z/OS® by using sample JCL member =HLQ.SBLZSAMP(BLZRENAM)=. For detailed customization instructions, see the comment header of =BLZRENAM=. <br><br> 4. Start the Jazz Team Server and any distributed CLM applications that are registered with the Jazz Team Server. The CLM applications will synchronize with the Jazz Team Server to apply the URL mappings and update their data warehouse data. This process generally takes about 5 minutes for a small data set and up to 30 minutes or more for a large data set. <br><br> 5. Log in to the Jazz Team Server at =https://new host:port/jts/serverRenameStatus.Logging= starts the renaming process. When the rename is complete, you can verify the rename and take any corrective action that is necessary. For details, see [[ServerRenameVerifyingAndTroubleshooting#ServerRenameVerifyingURLsAndLinks][Verifying URLs and links after a server rename]]. <br><br> 6. Before you complete the verification process, ensure that you have performed any additional product-specific verifications that are described in [[ServerRenameVerifyingAndTroubleshooting#ServerRenameCompletingVerification][Completing the server rename verification process]]. When you are confident that the renamed data is correct, click the *I have verified the server rename* check box and click *Finish*. The Jazz Team Server and all registered applications exit read-only mode and normal product use can resume. <br><br> %RED% *Note:* %ENDCOLOR% If you introduced dummy mappings to protect the production environment, you will see errors about these URLs in the Applications and Friends section of the Application Diagnostics page on the staged server. If you have multiple linked deployments, do not complete the wizard until you have validated the data in all deployments. <br><br> 7. Optional: Configure Rational Reporting for Development Intelligence (RRDI) in the target staging environment. See [[#ServerRenameConfiguringRRDIAfterServerRename][Configuring RRDI after server rename]] for details. <br><br> 8. If you are including other components in your staging environment, see [[ServerRenameImpactOnRationalSolutionForCLM][Impact of server rename on the Rational solution for Collaborative Lifecycle Management]] and [[ServerRenameImpact401][Impact of server rename on integrated products (versions 4.0.1 and later)]]. #ServerRenameMovingPilotOrFullProdDeployment ---++ Moving a pilot or full production deployment by using server rename ---+++!! Before you begin ---+++!! About this task ---+++!! Procedure 1. 1. 1. 1. 1. 1. 1. 1. 1. #ConfiguringRRDIAfterServerRename ---++ Configuring RRDI after server rename ---+++!! Procedure 1. 1. 1. #ServerRenameChangingTheContextRoot ---++ Changing the context root Although it is most common to change the host name during a server rename, it is also possible to change the context root. Doing so requires a new server installation that mirrors the old installation, but with new context roots. Make sure that you generate a mapping file against the original server, as detailed in [[][Preparing the mapping file]]. Change the necessary context roots in this mapping file. For more information about changing the context root, see ---+++!! Before you begin * To enable server rename, you must obtain a feature key file from IBM Software Support. When contacting IBM support, mention that you are requesting a "Server Rename Feature Key File". The key file is named =ImportURLMappings.activate=. Once received, copy the file to the =JazzInstallDir/server/conf directory= for the applications that you will rename. * Before you proceed with the rename, check that the required version of the CLM software is installed and that your environment meets the criteria for a server rename. See [[ ][Software version requirements]] and [[ ][Supported scenarios for using server rename]] for details. For a case study about changing the context root, see [[ ][Case study: Server rename (version 4.0.1)]]. ---+++!! About this task Although it is most common to change the host name during a server rename, it is also possible to change the context root. Doing so requires a new server installation that mirrors the old installation, but with new context roots. Make sure that you generate a mapping file against the original server, as detailed in [[ ][Preparing the mapping file]. Change the necessary context roots in this mapping file. For more information about changing the context root, see [[ ][Case study: server rename]]. ---+++!! Procedure 1. 1. 1. 1. 1. 1. 1. #ServerRenameConfiguringDeploymentAfterDBMove ---++ Configuring your deployment after a database server move Learn how to reconfigure your CLM deployment when a database moves or a database vendor changes. #ServerRenameMovingCLMDBsToDiffSvr ---+++ Moving the Rational solution for Collaborative Lifecycle Management databases to a different database server Learn how to reconfigure your CLM deployment when the database server moves to new hardware. ---++++!! About this task You might need to move your CLM databases in the following scenarios. * When moving a pilot deployment to production, if the database server being used in the pilot deployment is different from the server that will be used in production. * When a staging environment is being set up that uses its own database server and a copy of the production data. ---++++!! Procedure 1. Back up the old database. 1. Use database vendor-specific tools to migrate the data from the old database to the new database. 1. For the Jazz Team Server, CCM, RM, and QM databases, update the following properties in the =server/conf/applicationName/teamserver.properties= file to point to the new CLM database location. * =com.ibm.team.repository.db.vendor= * =com.ibm.team.repository.db.jdbc.location= * =com.ibm.team.repository.db.jdbc.password= 1. For the Jazz Team Server, CCM, RM, and QM databases, update the following properties in the =server/conf/applicationName/teamserver.properties= file to point to the new data warehouse database location. * =com.ibm.team.datawarehouse.db.jdbc.vendor= * =com.ibm.team.datawarehouse.db.jdbc.location = * =com.ibm.team.datawarehouse.db.jdbc.password= * =com.ibm.team.datawarehouse.db.base.folder= 1. For the Jazz Team Server, CCM, RM, and QM databases, run =repotools-applicationName -verify= to ensure that the new CLM database connection is successful. #ServerRenameChangingCLMDBsToDiffDBVendor ---+++ Changing the Rational solution for Collaborative Lifecycle Management databases to a different database vendor You must change your CLM databases if you are using a different vendor in production deployment than the one used in the pilot deployment. For example, a small pilot deployment using Derby is being moved into production using DB2. ---++++!! Procedure 1. For the Jazz Team Server, CCM, RM, and QM databases, run =repotools-applicationName -export toFile=export.tar= to export the data from the old database. 1. Copy the tar file from the old database server to the new database server if they reside on separate systems. 1. For the Jazz Team Server, CCM, RM, and QM databases, update the following properties in the =server/conf/applicationName/teamserver.properties= file to point to the new location. * =com.ibm.team.repository.db.vendor= * =com.ibm.team.repository.db.jdbc.location= * =com.ibm.team.repository.db.jdbc.password= 1. For the Jazz Team Server, CCM, RM, and QM databases, run =repotools-applicationName -import fromFile=export.tar= to import the data in the new database. 1. For the Jazz Team Server, CCM, RM, and QM databases, run =repotools-applicationName -verify= to ensure that the new database connection is successful. 1. For the data warehouse database, rebuild the database on the new database platform. ---+++++!! Related topics: [[DeploymentWebHome][Deployment web home]], [[DeploymentWebHome][Deployment web home]] ---+++++!! External links: * [[https://www.ibm.com][IBM]] ---+++++!! Additional contributors: Main.TWikiUser <sticky></div></sticky>
This topic: Deployment
>
WebHome
>
DeploymentInstallingUpgradingAndMigrating
>
ServerRename
>
ServerRenamePerforming
History: r9 - 2014-09-12 - 16:31:37 - Main.lfrankel
Copyright © by IBM and non-IBM contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our
Terms of Use.
Please read the following
disclaimer
.
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
.