r1 - 2013-11-07 - 21:16:32 - MichaelAfsharYou are here: TWiki >  Deployment Web > DeploymentInstallingUpgradingAndMigrating > AutomatedScriptsForDeployingCLMOnWAS > DeployWASJythonDistributed

todo.png Deploying web applications in a distributed environment by using the clm_deploy_distributed.py script

Authors: MichaelAfshar
Build basis: The Rational solution for Collaborative Lifecycle Management (CLM) 4.0 and later

This Jython script deploys CLM web applications on multiple WebSphere Application Servers in a distributed environment.

Before you begin

Ensure WebSphere Application Servers and Jazz Team Server and CLM web applications are installed prior to running clm_deploy_distributed.py.

About this task

The clm_deploy_distributed.py Jython script performs the following tasks:

  • Installs the following CLM applications, if included in your command argument as a comma-separated list:
    • jts.war
    • ccm.war
    • qm.war
    • rm.war
    • admin.war
    • converter.war
    • clmhelp.war

Note: The web archive applications must have a .war extension.

Procedure

  1. To deploy CLM applications on multiple WebSphere Application server, open a command window and change the directory to WASInstallDir/AppServer/profiles/profile_name/bin. If you have more than one profile under the profiles directory, select the profile that you want to be used for the CLM installation.
  2. Run the following command substituting WAS_username with the WebSphere Application Server admin username, WAS_password with the admin user password, path to the script with the location of the script, for example, C:/JazzTeamServer/server/was/clm_deploy_distributed.py (notice the forward slash on Windows platform), nodeName with the WebSphere Application Server node name, serverName with the WebSphere Application Server server name, and JazzInstallDir/server/tomcat/webapps with the path to the CLM application war files. To avoid problems, do not use spaces in the path. You can use double quotation marks for paths with spaces. List the name of applications to be installed separated by a comma without spaces.

Remember: If you used IBM Installation Manager to install the CLM applications and during the installation cleared the check box for Install Tomcat 7 with JTS web application, by default, the web application files (.war) are copied into the JazzInstallDir/server/webapps directory. If during installation you selected Install Tomcat 7 with JTS web application, the web application files (.war) are copied into the JazzInstallDir/server/tomcat/webapps directory.

UNIX

./wsadmin.sh -language jython -user WAS_username -password WAS_password -f path to the script/clm_deploy_distributed.py nodeName serverName JazzInstallDir/server/tomcat/webapps/ jts,qm,ccm 

Windows

Note: You must use forward slashes for the path to the webapps directory. For example, C:/Progra~1/IBM/JazzTeamServer/server/tomcat/webapps/
wsadmin.bat -language jython -user WAS_username -password WAS_password -f path to the script/clm_deploy_distributed.py nodeName serverName JazzInstallDir/server/tomcat/webapps/ jts,qm,ccm 

Related topics:

External links:

Additional contributors:

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
This site is powered by the TWiki collaboration platformCopyright © by the 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.
Ideas, requests, problems regarding the Deployment wiki? Create a new task in the RTC Deployment wiki project