Best Practices for Server Rename and Moving to the Rational solution for Collaborative Lifecycle Managment 2012
Robin Yehle, Jazz Jumpstart Team
David Chadwick, Jazz Jumpstart Team
Last updated: October 8, 2012
Build basis: Rational solution for Collaborative Lifecycle Management 2012
All deployment guidance and best practice will be published in the Deployment wiki rather than as Jazz.net articles going forward.
The purpose of this article is to provide insight into real server rename experiences and scenarios and offer best practices and guidance as more users take advantage of this new feature in the Rational solution for Collaborative Lifecycle Management 2012. Keep checking back for updates and new information as it becomes available.
Scenario 1: Pilot-to-Production Server Rename with Upgrade, Migration, and Hardware Change
We just successfully completed a pilot-to-production rename with a customer who was running a pilot 3.x CLM server on Windows with Tomcat and DB2. Their requirement was to upgrade to 4.0, migrate to WebSphere Application Server running on Linux for System z, and cut over to their corporate LDAP for their user registry. Basically the only thing remaining the same was the DB2 database. While the actual server rename steps are few in number and rather straightforward, server rename in the context of all of these other changes becomes a daunting task. Following are the steps that were taken to accomplish the end result:
- Upgrade the pilot CLM server (pilot_clm.customer.com) to 4.0. See https://jazz.net/help-dev/clm/topic/com.ibm.jazz.install.doc/topics/c_upgrade_overview.html. This includes all of the standard 3.x to 4.0 upgrade steps including:
- Taking down the system.
- Backing up the database and configuration files.
- Installing the 4.0 product as a side-by-side install.
- Copying over and updating the configuration files.
- Upgrading the databases using repotools –addTables.
- Upgrading the data warehouse.
- Verifying the repository data by checking the repotools logs.
- Starting the 4.0 applications and activating your 4.0 licenses.
- Validating / spot checking data in each of the applications.
- Pilot server is now open for business running 4.0 software.
- Upgrade all Jazz Build Engines and eclipse clients to 4.0. If you are using 3.x Rational Build Agents or the ISPF client on z/OS, it is not necessary to upgrade these components prior to the rename, but you will need to upgrade them to take advantage of the new features in V4.0.
- Install the new production CLM V4.0 server and deploy on WebSphere Application Server on Linux for System z.
- Configure the new production server (prod_clm.customer.com) by going through setup connecting to a throwaway Derby database. Verify proper authentication from the corporate LDAP and that the WAS configuration seems to be working properly. This is a recommended step in this case because of all of the moving parts involved in moving to a new application server and new authentication server. This step may not be necessary if you are not making significant environment changes while moving your application server. Consider your own situation and make the choice that is right for you.
- Verify that several of the user credentials have the proper permissions based on their LDAP group membership.
- Shutdown the new production server.
- Perform the server rename procedure as outlined here: https://jazz.net/help-dev/clm/topic/com.ibm.jazz.install.doc/topics/t_change_server_name.html
- The preparation steps can be performed while the pilot system is on-line:
- Request a feature key from IBM support if you have not already done so.
- Generate a mapping file, update it with your new production URLs, and send it to IBM support for review.
- The off-line steps for this scenario should be done with the pilot and production servers off-line:
- Back-up the pilot databases including the data warehouse.
- Restore the pilot databases into the production database server if you are changing (not the case in this scenario).
- Copy the JFS/text indices from pilot server to production server.
- Copy and edit the teamserver.properties files for each application config folder from the pilot server to production server, adjusting the database entries and the LDAP entries to point to the production database server and the corporate LDAP server (as tested before).
- Copy the remaining properties and rdf files specified in the help from pilot to production.
- Copy the mapping file into the /server directory.
- Copy the server rename feature key file into the server directory as well.
- Issue the repotools-jts.sh –importURLMappings fromFile=”./mappings.txt” command.
- Since this was an all in one install on a single server, the .mappingEvent file did not have to be copied to other application servers.
- Verify that the rename was successful by looking for errors in the repotools-jts_importURLMappings.log file after the repotools-jts operation completes.
- The on-line steps for server rename are then done:
- Start the production jts server followed by the other applications.
- Go to the /serverRenameStatus to watch the progress of the server rename as it is propagated to each of the applications.
- When the rename completes, verify the project area linkages between the repositories to make sure the rename was successful.
- Do some of the other suggested manual validation steps in the help page such as running the data warehouse ETLs and checking dashboard widgets and reports.
- Notify users that the server rename is complete and to begin using the new public URL for their access to the system. Their existing eclipse workspaces can be reused. Simply update the repository connection to point to the new production server URL.
Scenario 2: In-Place Pilot-to-Production Server RenameThe instructions in the CLM Information Center for performing a pilot-to-production server rename are written with the expectation that you are working with two servers. However, it is possible to perform an in-place server rename on your pilot machine. When referencing the help, simply understand that your source and target servers are one and the same. For the step where you copy the indices and application configuration files from pilot to production, you should instead create a backup copy of these files from your server before performing the rename.
For more information
About the authors
Robin Yehle is a member of the Jazz Jumpstart team. The Jazz Jumpstart team is a worldwide group of development specialists who bring new and advanced Jazz-based technologies to customers. Robin can be contacted at email@example.com.
David Chadwick is the technical lead of the Jazz Jumpstart Team for IBM Rational. He can be contacted at firstname.lastname@example.org.
Copyright © 2012 IBM Corporation.