Installing with a response file

Use the silent installation feature of IBM® Installation Manager to complete new installations of Rational® Adapter for HP ALM unattended. Edit a provided response file such that it contains the commands and inputs that you want for your software installation. Alternatively, create a response file by recording your actions in IBM Installation Manager.

Before you begin

Complete these tasks before you install the adapter software:

Important: If Installation Manager is already installed and repository connections require authentication, a keyring file is required to store the credentials for those URLs. For more information about creating a keyring file, see Store credentials.

About this task

The response file is an XML document that is used when you run a silent installation. You can edit the provided response file to match your installation preferences. Alternatively, you can create a response file by recording your actions in IBM Installation Manager. For more information about recording a response file, see Record a response file with Installation Manager.

Procedure

  1. Change to one of the following subdirectories that contains the Installation Manager and response files for your system:
    • For Windows ExtractedDir\HPQM\disk1\InstallerImage_win32.win32.x86
    • For Linux ExtractedDir/HPQM/disk1/InstallerImage_linux.gtk.x86
  2. Edit the response file. Add either the Apache Tomcat preferences or the WebSphere® Application Server preferences for your installation. Then, save the file.
    Apache Tomcat
    <data key="user.com.ibm.rational.oslc.adapter.hpqm.appserver.noappserver.disable" value="true"/>
    <data key="user.com.ibm.rational.oslc.adapter.hpqm.appserver.tomcat.disable" value="false"/>
    <data key="user.com.ibm.rational.oslc.adapter.hpqm.NoAppServer.WebApps.InstallLocation" value="/opt/IBM/RLIA/HP/server/tomcat/webapps"/>
    <data key="user.com.ibm.team.install.prereq.timestamp" value="20130304-0016-17"/>
    WebSphere Application Server
    <data key="user.com.ibm.rational.oslc.adapter.hpqm.appserver.user-override" value="true"/>
    <data key="user.com.ibm.rational.oslc.adapter.hpqm.appserver.noappserver.disable" value="false"/>
    <data key="user.com.ibm.rational.oslc.adapter.hpqm.appserver.tomcat.disable" value="true"/>
    <data key="user.com.ibm.rational.oslc.adapter.hpqm.NoAppServer.WebApps.InstallLocation" value="/opt/IBM/RLIA/HP/mypath/server/webapps"/>
    <data key="user.com.ibm.team.install.prereq.timestamp" value="20130304-0016-17"/>

    For more information about response files, see Response files.

  3. Use the response file that you edited. Change to the tools directory that contains the imcl command.
    • If Installation Manager is already installed, then install the adapter by using the imcl command from the Installation Manager tools directory. For more information about installing packages from the Installation Manager tools directory, see Install packages by using imcl.
    • If Installation Manager is not installed, then install the adapter by using the imcl command from the adapter tools directory. Change to one of the following subdirectories that contains the Installation Manager command for your platform:
      • For Windows ExtractedDir\HPQM\disk1\InstallerImage_win32.win32.x86\tools
      • For Linux ExtractedDir/HPQM/disk1/InstallerImage_linux.gtk.x86/tools
  4. Install the Rational Adapter for HP ALM from a command line.
    Important: The response file contains an example command-line invocation that uses the -acceptLicense argument. Before you do a command-line installation, review the license agreement that is included in the /license directory at the top level of the media package. Use the -acceptLicense argument on the command line to indicate acceptance of this license agreement.
    • For Windows Install with the following command:
       imcl.exe -input ExtractedDir\HPQM\disk1\InstallerImage_win32.win32.x86\install.xml -acceptLicense -showVerboseProgress
    • For Linux Install with the following command:
       ./imcl -input ExtractedDir/HPQM/disk1/InstallerImage_linux.gtk.x86/install.xml -acceptLicense -showVerboseProgress

Results

The adapter software is installed.

What to do next

Complete the post installation tasks, see Postinstallation tasks.

Feedback