How to script for a silent installation of CLM when using WAS?
One answer
In these steps I am assuming WAS is already installed.
I first downloaded the CLM Web Installer file and extracted the contents to a location on disk:
I went to
https://jazz.net/downloads/rational-quality-manager/releases/4.0.6/CLM-Web-Installer-Linux-4.0.6.zip
using my jazz.net account
I extracted the zip file as described here:
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m6/topic/com.ibm.jazz.install.doc/topics/t_command-line_installation.html
and did a cd into ExtractedDir/im/linux.gtx.x86
I first then installed Installation Manager via cmd line:
.\userinstc -silent -showVerboseProgress -nosplash -acceptLicense
I had to edit the silent-install-server.xml file in ExtractedDir/im/linux.gtx.x86:
to point the Installation Manager to the repository that you extracted for CLM 4.0.6:
<repository location='/tmp/IBM/Rational/JTS-CCM-QM-RM-repo-4.0.6' temporary='true' />
I changed the following lines to install for a WAS setup and extract the files to the right location:
<data key='user.com.ibm.team.install.jfs.appserver.noappserver.disable' value='false'/>
<data key='user.com.ibm.team.install.jfs.appserver.tomcat.disable' value='true'/>
<!-- specify where to install WAR files if noappserver.disable above is false -->
<data key='user.JazzFoundationServer.NoAppServer.WebApps.InstallLocation'
value='/opt/IBM/websphere/JazzTeamServer-4.0.6/server/webapps'/>
and saved the silent-install-server.xml file.
Attention:
the directory /opt/IBM/websphere/JazzTeamServer-4.0.6/server/webapps should be empty!
I installed CLM via cmd line using the silent-install-server.xml respinse file.
The resulting files can be zipped or moved later.
.\userinstc -dataLocation /tmp/silent-install/data -silent -showVerboseProgress -nosplash -input silent-install-server.xml -acceptLicense
All the war files are ready to deploy in /opt/IBM/websphere/JazzTeamServer-4.0.6/server/webapps
I could then run the deploy script that ships with CLM.
For example:
For example:
./wsadmin.sh -language jython -user wsadmin -password wsadmin
-f /opt/websphere/IBM/JazzTeamServer-4.0.5/server/was/clm_deploy.py
Node01 server1 /opt/IBM/websphere/JazzTeamServer-4.0.6/server/webapps
If you need the applications to be deployed with a different context root then please see the following article.
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m6/topic/com.ibm.jazz.install.doc/topics/t_choose_different_context_root.html
There is also an article explaining how to run the server setup steps from command line:
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m6/topic/com.ibm.jazz.install.doc/topics/t_running_setup_command_line.html
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m6/topic/com.ibm.jazz.install.doc/topics/t_running_setup_command_line.html
I hope this helps,
Gerd Schiering
IBM TechSupport