This topic applies only on the IBM i operating system.

Installing the Feature Pack for Web 2.0 and Mobile on IBM i operating systems using response files

You can use Installation Manager to install the Feature Pack for Web 2.0 and Mobile using response files.

Before you begin

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

  1. Install IBM® WebSphere® Application Server Version 8.0.
  2. Use Installation Manager to connect to a repository containing up-to-date product files and update the product.
  3. Use Installation Manager to connect to a repository containing up-to-date Installation Manager files and update Installation Manager.
  4. Obtain the necessary feature-pack files from the web.
    There are three basic options for installing the feature pack.
    • Access the live repositories, and use web-based installation.
      You can use Installation Manager on your local system to install the feature pack from the web-based repository located at the following location:
      http://www.ibm.com/software/repositorymanager/com.ibm.websphere.WEB2MOBILE.v11
      Tip: These live repositories are accessed by using your IBM authentication. For information about registering for an IBM password, read Registration Help and FAQ.
    • Download files from the Feature Pack for Web 2.0 and Mobile website, and use local installation.

      You can download the compressed file containing the feature-pack repositories from the Feature Pack for Web 2.0 and Mobile website. You can then use Installation Manager to install the feature pack from the unpacked local feature-pack repositories.

    • Licensed customers can download files from the Passport Advantage website and use local installation.

      You can then use Installation Manager to install the feature pack from the unpacked local feature-pack repositories.

    Notes:
    • Whenever possible, you should use the remote web-based repositories so that you are accessing the most up-to-date feature-pack installation files.
    • If you use local repositories, you can leave in the remote repositories as well because they will provide post-shipment service updates when you are connected to the web.

About this task

Using Installation Manager, you can work with response files to install the feature pack.

Procedure

  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 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 that 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 feature pack silently.
    Change to the eclipse/tools subdirectory in the directory where you installed Installation Manager, and install the feature pack silently. For example:
    ./imcl -acceptLicense 
      input $HOME/WASFiles/temp/install_response_file.xml 
      -log $HOME/WASFiles/temp/install_log.xml 
      -keyring $HOME/WASFiles/temp/im.keyring
    Notes:
    • 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.
    • /QIBM/ProdData/InstallationManager is the default installation location for Installation Manager files on IBM i systems.
    • The program might write important post-installation instructions to standard output.

    Read the IBM Installation Manager Information Center for more information.

Example

The following is an example of a response file for silently installing the feature pack with no optional features into the /QIBM/ProdData/WebSphere/AppServer/V8/WEB2MOBILE directory using a web-based repository located at http://www.ibm.com/software/repositorymanager/com.ibm.websphere.WEB2MOBILE.v11.
<?xml version="1.0" encoding="UTF-8"?>
<agent-input clean='true' temporary='true'>
<server>
  <repository location='http://www.ibm.com/software/repositorymanager/com.ibm.websphere.WEB2MOBILE.v11'/>
</server>
<profile id='IBM WebSphere Application Server V8.0'
  installLocation='/QIBM/ProdData/WebSphere/AppServer/V8/WEB2MOBILE'>
  <data key='eclipseLocation' value='/QIBM/ProdData/WebSphere/AppServer/V8/WEB2MOBILE'/>
  <data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppServer/V8/WEB2MOBILE'/>
  <data key='user.import.profile' value='false'/>
  <data key='cic.selector.nl' value='en'/>
</profile>
<install modify='false'>
  <offering profile='IBM WebSphere Application Server V8.0' features='main' id='com.ibm.websphere.WEB2MOBILE.v11'/>
</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:
  • Make sure that the repository location points to the web-based or local feature-pack repository. For example:
    <repository location='https://downloads.mycorp.com:8080/WEB2MOBILE_repository'/>
  • The following line from the example specifies the default value of the profile location for IBM i:
    <data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppServer/V8/WEB2MOBILE'/>
    To override this default location, specify a different location
  • The following line from the example specifies the default value of the shared resources directory for IBM i:
    <preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='/QIBM/UserData/InstallationManager/IMShared'/>
    To override this default location, specify a different location
    Note: There is only one shared resources directory for Installation Manager. If there has been an installation on the system in the past, it will use that shared resources directory and not the one specified in the response file.
  • To disable remote searches for updates in the response file, set the following preferences to false:
    • offering.service.repositories.areUsed

      Used for searching remote repositories for updates to installed offerings

    • com.ibm.cic.common.core.preferences.searchForUpdates

      Used for searching for updates to Installation Manager

    For example:
    <preference value='false' name='offering.service.repositories.areUsed'/>
    <preference value='false' name='com.ibm.cic.common.core.preferences.searchForUpdates'/>
    
    You can find more details on silent preference keys in the IBM Installation Manager Information Center.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 20, 2011 1:31:29 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v800webmob&product=was-nd-mp&topic=tweb_ins_installation_is_silent
File name: tweb_ins_installation_is_silent.html