You can install WebSphere® Application Server Liberty Network Deployment using Installation Manager response files.
Prepare each of the systems onto which you want to install the offering as described in Installing Installation Manager and preparing to install Liberty.
Using Installation Manager, you can work with response files to install the offering in a variety of ways. You can record a response file using the GUI as described in the following procedure, or you can generate a new response file by hand or by taking an example and modifying it.
On one of your systems, perform the following actions to record a response file that will install the offering.
IBMIM.exe -skipInstall "C:\temp\imRegistry"
-record C:\temp\install_response_file.xml
./IBMIM -skipInstall /var/temp/imRegistry
-record /var/temp/install_response_file.xml
./IBMIM -skipInstall user_home/var/temp/imRegistry
-record user_home/var/temp/install_response_file.xml
The -skipInstall operation should not be used on the actual agent data location used by Installation Manager. This is unsupported. Use a clean writable location, and reuse that location for future recording sessions.
For more information, read the IBM® Installation Manager Information Center.
Go to a command line on each of the systems on which you want to install the offering, change to the eclipse/tools subdirectory in the directory where you installed Installation Manager, and install the credential-storage file.
imcl.exe -acceptLicense
input C:\temp\credentialstorage_response_file.xml
-log C:\temp\credentialstorage_log.xml
./imcl -acceptLicense
input /var/temp/credentialstorage_response_file.xml
-log /var/temp/credentialstorage_log.xml
./imcl -acceptLicense
input user_home/var/temp/credentialstorage_response_file.xml
-log user_home/var/temp/credentialstorage_log.xml
Go to a command line on each of the systems on which you want to install the offering, change to the eclipse/tools subdirectory in the directory where you installed Installation Manager, and install the offering.
imcl.exe -acceptLicense
input C:\temp\install_response_file.xml
-log C:\temp\install_log.xml
-secureStorageFile C:\IM\credential.store -masterPasswordFile C:\IM\master_password_file.txt
./imcl -acceptLicense
input /var/temp/install_response_file.xml
-log /var/temp/install_log.xml
-secureStorageFile /var/IM/credential.store -masterPasswordFile /var/IM/master_password_file.txt
./imcl -acceptLicense
input user_home/var/temp/install_response_file.xml
-log user_home/var/temp/install_log.xml
-secureStorageFile user_home/var/IM/credential.store -masterPasswordFile user_home/var/IM/master_password_file.txt
Read the IBM Installation Manager Information Center for more information.
<?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.liberty.ND.v85" />
</server>
<install modify='false'>
<offering id='com.ibm.websphere.liberty.ND.v85'
profile='WebSphere Liberty V8.5'
features='embeddablecontainer' installFixes='none'/>
</install>
<profile id='WebSphere Liberty V8.5'
installLocation='C:\Program Files\IBM\WebSphere\Liberty'>
</profile>
</agent-input>
<profile>
...
<data key='cic.selector.arch' value='x86'/>
...
</ptofile>
If you do not specify anything for this key, you will get a correct match for your system. For a 64-bit system, the installation defaults to a 64-bit installation.
Your choice here applies to all packages that are installed in the package group. For information about the supported values for the cic.selector.key keys, see the Values for cic.selector.key table in the Installation Manager Information Center.
Used for searching remote repositories for updates to installed offerings
Used for searching for updates to Installation Manager
<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.<profile id='WebSphere Liberty V8.5'
installLocation='C:\Program Files\IBM\WebSphere\Liberty'>
with<profile id='WebSphere Liberty V8.5_2'
installLocation='C:\Program Files\IBM\WebSphere\Liberty_2'>
<offering id='com.ibm.websphere.liberty.ND.v85'
profile='WebSphere Liberty V8.5'
features='embeddablecontainer,extprogmodels' installFixes='none'/>
This option installs the embeddable EJB container and JPA client.
The embeddable EJB container is a Java™ Archive (JAR) file that you can use to run enterprise beans in a standalone Java Platform, Standard Edition (SE) environment. You can run enterprise beans using this embeddable container outside the application server. The embeddable EJB container is a part of the EJB 3.1 specification and is primarily used for unit testing enterprise beans business logic.
The JPA client can be used with the embeddable EJB container to provide Java Persistence API capability in a Java SE environment.
The Extended Programming Models feature provides a rich set of programming models such as Web Services, JMS (including Message-Driven Beans), and Mongo 2.0.
# Two optional data keys were introduced for WebSphere Application Server Liberty
# offerings in version 8.5.5.2 that enable installing additional product assets
# during an installation or update.
#
# <data key='user.feature' value='FeatureA,FeatureB'/>
# <data key='user.accept.license' value='true'/>
#
# Use the user.feature data key to specify the names of one or more assets to install.
# Separate multiple assets names with a comma.
#
# For Liberty version 8.5.5.2, the available assets are:
# com.ibm.websphere.appserver.webCacheMonitor-1.0 - This feature provides monitoring of the
# distributed map cache and provides simple cache statistics, cache entries, and cache
# policy information for Servlet cache instances.
# com.ibm.websphere.appserver.portletserving-2.0 - This feature provides the Portlet serving
# or URL Addressability functionality for JSR 168 and JSR 286 compliant portlets. This
# feature allows to invoke a portlet under a defined URL from a browser.
# com.ibm.websphere.appserver.portlet-2.0 - This feature provides a runtime environment
# for JSR 168 and JSR 286 compliant portlets.
#
# A current list of the assets available for installation is maintained in the following article.
# http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=twlp_ins_installation_dist_gui
<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true'/>
to
this:<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='false'/>
For more information on setting your Installation Manager preferences, see the IBM Installation Manager Information Center.