+

Search Tips   |   Advanced Search

(iseries)

Install the Application Client on IBM i operating systems using response files

We can install the Application Client using Installation Manager response files.

Before you install the Application Client, ensure that your user profile has *ALLOBJ and *SECADM special authorities.


Install Installation Manager on the system onto which to install the product.

Use Installation Manager, we can work with response files to install the product.

  1. Optional: If the repository requires a username and password, create a keyring file to access this repository.

    For more information on creating a keyring file for Installation Manager, read the IBM Installation Manager Version 1.6 Information Center or the IBM Installation Manager Version 1.5 Information Center.

    Start in Installation Manager Version 1.6.2, the -keyring and -password options that have been used to access credentials in a keyring file are deprecated. For Installation Manager Version 1.6.2 and later, use the -secureStorageFile and -masterPasswordFile options to store credentials in a credential storage file.

    In Version 1.7, the format of the secure storage file is revised, and is no longer compatible with versions of Installation Manager prior to version 1.7. Update Installation Manager to version 1.7 or higher and then recreate and replace any secure storage files created with earlier versions.

    There is no migration path from keyring files to storage files because of the differences in the file structures. Create a storage file to replace a keyring file. For more information on using the -secureStorageFile and -masterPasswordFile options to store credentials in a credential storage file, see the Installation Manager Version 1.6 Information Center.

  2. Sign on to the IBM i system with a user profile that has *ALLOBJ and *SECADM special authorities.

  3. On a CL command line, run the STRQSH command to start the Qshell command shell.

  4. Make sure the umask is set to 022.

    To verify the umask setting, issue the following command:

      umask

    To set the umask setting to 022, issue the following command:

      umask 022

  5. Use a response file to install the product.

    Change to the eclipse/tools subdirectory in the directory where you installed Installation Manager, and install the product. For example:

      ./imcl -acceptLicense input $HOME/AppClientFiles/temp/install_response_file.xml -log $HOME/AppClientFiles/temp/install_log.xml -keyring $HOME/AppclientFiles/temp/im.keyring

    • The relevant terms and conditions, notices, and other information are provided in the license-agreement files in the lafiles or product_name/lafiles subdirectory of the installation image or repository for this product.

    • The program might write important post-installation instructions to standard output.

    Read the IBM Installation Manager Version 1.6 Information Center or the IBM Installation Manager Version 1.5 Information Center for more information.


Example

The following is an example of a response file for installing the product with no optional features into the /QIBM/ProdData/WebSphere/AppClient/V85/client directory using a web-based repository located at https://www.ibm.com/software/repositorymanager/com.ibm.websphere.APPCLIENT.v85.

<?xml version="1.0" encoding="UTF-8"?>
<agent-input>
server
  <repository location='https://www.ibm.com/software/repositorymanager/com.ibm.websphere.APPCLIENT.v85'/>
</server>
<profile id='Application Client for IBM WebSphere Application Server V8.5'    installLocation='/QIBM/ProdData/WebSphere/AppClient/V85/client'>
  <data key='eclipseLocation' value='/QIBM/ProdData/WebSphere/AppClient/V85/client'/>
  <data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppClient/V85/client'/>
  <data key='user.appclient.serverHostname' value='localhost'/>
  <data key='user.appclient.serverPort' value='2809'/>
  <data key='user.import.profile' value='false'/>
  <data key='cic.selector.nl' value='en'/>
</profile>
<install modify='false'>
  <offering profile='Application Client for IBM WebSphere Application Server V8.5'       features='javaee.thinclient.core.feature' id='com.ibm.websphere.APPCLIENT.v85'/>
</install>
<preference name='com.ibm.cic.common.core.preferences.eclipseCache'    value='/QIBM/UserData/InstallationManager/IMShared'/>
<preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.readTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' value='0'/>
<preference name='offering.service.repositories.areUsed' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' value='false'/>
<preference name='http.ntlm.auth.kind' value='NTLM'/>
<preference name='http.ntlm.auth.enableIntegrated.win32' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.keepFetchedFiles' value='false'/>
<preference name='PassportAdvantageIsEnabled' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/>
</agent-input>

The following is an example of a response file for installing the product ILAN version.

<?xml version="1.0" encoding="UTF-8"?>
<agent-input>
server
  <repository location='https://www.ibm.com/software/repositorymanager/com.ibm.websphere.APPCLIENTILAN.v85'/>
</server>
<profile id='Application Client for IBM WebSphere Application Server (ILAN) V8.5'    installLocation='/QIBM/ProdData/WebSphere/AppClient/V85/client'>
  <data key='eclipseLocation' value='/QIBM/ProdData/WebSphere/AppClient/V85/client'/>
  <data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppClient/V85/client'/>
  <data key='user.appclient.serverHostname' value='localhost'/>
  <data key='user.appclient.serverPort' value='2809'/>
  <data key='user.import.profile' value='false'/>
  <data key='cic.selector.nl' value='en'/>
</profile>
<install modify='false'>
  <offering profile='Application Client for IBM WebSphere Application Server (ILAN) V8.5'      features='javaee.thinclient.core.feature' id='com.ibm.websphere.APPCLIENTILAN.v85'/>
</install>
<preference name='com.ibm.cic.common.core.preferences.eclipseCache'    value='/QIBM/UserData/InstallationManager/IMShared'/>
<preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.readTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' value='0'/>
<preference name='offering.service.repositories.areUsed' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' value='false'/>
<preference name='http.ntlm.auth.kind' value='NTLM'/>
<preference name='http.ntlm.auth.enableIntegrated.win32' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.keepFetchedFiles' value='false'/>
<preference name='PassportAdvantageIsEnabled' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/>
</agent-input>

Tips:

Here are some examples of changes that you could make to manipulate this response file to perform alternative actions.

If no features are specified, the required features and the optional feature selected by default (embeddablecontainer) are installed. To install only the features we want, specify the list of features explicitly.


What to do next

We can create a client profile using the manageprofiles command.

The following is an example of using the manageprofiles command to create a default client profile. The example is based on the following assumptions:

manageprofiles -create
  -templatePath /QIBM/ProdData/WebSphere/AppClient/V85/client/profileTemplates/client    -serverHostname myhost.abc.com    -serverPort 2809    -profileName client 

After creating a profile successfully, the console prints a message that indicates success and advises you to check the AboutThisProfile.txt file. However, a AboutThisProfile.txt file is not generated when creating a client profile on IBM i.


Related tasks

  • Installing, updating, rolling back, and uninstalling the Application Client for IBM WAS on IBM i operating systems
  • Install the Application Client on IBM i operating systems using the command line
  • Install Application Client features on IBM i operating systems
  • Install fix packs on the Application Client on IBM i operating systems using response files
  • Uninstall fix packs from the Application Client on IBM i operating systems using response files
  • Uninstall the Application Client from IBM i operating systems using response files
  • Uninstall the Application Client from IBM i operating systems using the command line