News
Abstract
Install and Manage WebSphere Application Server with IBM Installation Manager on IBM i
Content
You are in: IBM i Technology Updates > Web Integration on i > News of Web Integration on IBM i > Install and Manage WebSphere Application Server with IBM Installation Manager on IBM i
Overview of IBM Installation Manager
IBM Installation Manager (For short: IM) is a tool to install and maintain software packages which runs on a range of computer systems (eg IBM i, z/OS, Window, Linux, Unix) and is used by many products of IBM such as WebSphere and Rational. It can install, modify(add or remove feature), update, roll back, or uninstall your IBM products through command line, GUI interface, interactive console mode or a response file in XML format to direct the performance of tasks in silent mode.
The Installation Manager GUI interface is not available on IBM i platform. All interaction with Installation Manager on IBM i platform can be done through command line, console mode or response file. For the console mode, it is not supported by all products. The WebSphere Application Server on IBM i can only install and manage through command line or response file. The basic steps of WebSphere Application Server installation and management on IBM i are as the following:

Install/uninstall/update IBM Installation Manager
The Installation Manager package can be obtained from physical media or IBM Fix Central . The latest recommended version of Installation Manager is V1.9.x for the IBM i OS. For WebSphere Application Server V8.5 and WebSphere Application Server V9.0, the required minimum Installation Manager is V1.8.7. IBM advises all IBM i clients to stay on version 1.9.x in order to upgrade to future releases of the IBM i OS. If you upgrade to version 1.10.x, a rollback to version 1.9.x may be required.
1) Install
Extract the compressed Installation Manager install package and upload the files to a directory on IBM i system. Prompt to the directory to install the Installation Manager tool. You can install the tool in admin mode or non-admin mode.
- Admin mode
|
- Non-Admin mode
|
Table 1 Common directory information of Installation Manager
| Admin Mode | Non-Admin Mode | |
| Installation | /QIBM/ProdData/InstallationManager | /home/userProfile/IBM/InstallationManager |
| Agent Data | /QIBM/UserData/InstallationManager | /home/userProfile/var/ibm/InstallationManager |
| imcl, imutilsc | /QIBM/ProdData/InstallationManager /eclipse/tools | /home/userProfile/IBM/InstallationManager /eclipse/tools |
| Uninstallc | /QIBM/UserData/InstallationManager /uninstall/ | /home/userProfile/var/ibm/InstallationManager /uninstall/ |
| log | /QIBM/UserData/InstallationManager /logs/ | /home/userProfile/var/ibm/InstallationManager /logs/ |
- 2) uninstall
- If you want to uninstall the Installation Manager from the system, you must uninstall all packages installed by Installation Manager and then run command uninstallc under the Agent Data directory.
- 3) Update
- If you want to update the Installation Manager on the system to a higher version, you can download the higher version installer packages to the local system and install the Installation Manager to the high version.
- You can also update Installation Manager from the Internet in condition your system has the Internet access with the following command:
- ./imcl install com.ibm.cic.agent
- Note in any case, there can be only one Installation Manager instance running. When Installation Manager is running, a .imlock file is generated under Agent Data directory.
All product materials that will be installed with IBM Installation Manager are stored in repositories. A repository contains one or more product packages or product maintenance, such as fix pack or interim fixes. You can install the product or updates from any accessible repository which can be on local system or remote. WebSphere Application Server repository file can be with following types:
|
Prepare response file
If you are to install or manage WebSphere Application Server in silent mode, you should prepare the response file.
- Introduction of response file
A response file is an XML file that contains data required to complete installation operations silently with Installation Manager. Following gives you a sample response file with some underlined explanations of the commands and attributes for WebSphere Application Server version 8.5 product installation from local repository on IBM i.
<?xml version='1.0' encoding='UTF-8' ?>
<!--Response attributes: The attribute default value for clean and temporary is false. When clean=’true’, it means IM only use the repository and preferences specified in the response file. Otherwise, IM uses the repository and preferences both in response file and existing set in IM. When temporary='false', the preferences that are set in your response file persist to IM set. When temporary='true', the preferences that are set in the response file do not persist. In this sample, it means for this installation we only use the repositories and preferences specified in this file and sets in this file do not persist.-->
<agent-input clean='true' temporary='true'>
<server>
<!—Specify local or remote repository files or the directory directly containing the repository files. -->
<repository location='/home/builds/was85' />
</server>
<!—Profile id is a unique name for an installation which can be identified by IM. The offering profile value in install must be the same with this profile id. The id can be used for the management of this installation.-->
<profile id='IBM WebSphere Application Server V8.5 Base' installLocation='/QIBM/ProdData/WebSphere/AppServer/V85/Base'> <!—Product install path-->
<data key='eclipseLocation' value='/QIBM/ProdData/WebSphere/AppServer/V85/Base' />
<data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppServer/V85/Base' /> <!—This data key is required for IBM i platform-->
<data key='user.import.profile' value='false' />
<data key='cic.selector.nl' value='en' /> <!—Specify the language to be installed and separate the values with commas. For example:en,zh,ja-->
</profile>
<install modify='false'>
<!—For the offering id and version info can be obtained by command: imcl listAvailablePackages -repositories /home/builds/was85 –long. The version number is optional and IM installs the latest packages for the offering id if version is not specified. Attribute installFixes is optional too and the value can be none, all or recommended. If you specify a version for the offering, the installFixes default value is none. If you do not specify a version for the offering, the default value for installFixes is all. Features can be optionally specified by a comma-delimited list. If no feature IDs are specified, the default features are installed. For WebSphere Application Server, core.feature is the default.-->
<offering id='com.ibm.websphere.BASE.v85' version=’ 8.5.0.20120501_1108’ features='core.feature,ejbdeploy,thinclient,embeddablecontainer' profile='IBM WebSphere Application Server V8.5 Base' installFixes='none' />
</install>
<!—eclipseCache is specified for the shared resources directory. This directory is created in the first package installation of IM and can’t change in later installation.>
<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='45' />
<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' />
<preference name='com.ibm.cic.agent.ui.displayInternalVersion' value='false' />
<preference name='com.ibm.cic.common.sharedUI.showErrorLog' value='true' />
<preference name='com.ibm.cic.common.sharedUI.showWarningLog' value='true' />
<preference name='com.ibm.cic.common.sharedUI.showNoteLog' value='true' />
</agent-input>
- Record response file with windows Installation Manager GUI
| IBMIM.exe -record response.xml(response file to be recorded) -skipInstall D:/IM_shared (Directory to write Installation Manager data) |

Example response file recorded from windows Installation Manager :
<?xml version="1.0" encoding="UTF-8"?>
<agent-input acceptLicense='true'>
<server>
<repository location='D:\Myfile\tmp\was85'/>
</server>
<profile id='IBM WebSphere Application Server V8.5' installLocation='C:\Program Files (x86)\IBM\WebSphere\AppServer'>
<data key='eclipseLocation' value='C:\Program Files (x86)\IBM\WebSphere\AppServer'/>
<data key='user.import.profile' value='false'/>
<data key='cic.selector.os' value='win32'/>
<data key='cic.selector.ws' value='win32'/>
<data key='cic.selector.arch' value='x86'/>
<data key='cic.selector.nl' value='en'/>
</profile>
<install modify='false'>
<offering id='com.ibm.websphere.BASE.v85' version='8.5.0.20120501_1108' profile='IBM WebSphere Application Server V8.5' features='core.feature,ejbdeploy,thinclient,embeddablecontainer,liberty,com.ibm.sdk.6_64bit' installFixes='none'/>
</install>
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='C:\Program Files (x86)\IBM\IMShared'/>
<preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.readTimeout' value='45'/>
<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'/>
<preference name='com.ibm.cic.agent.ui.displayInternalVersion' value='false'/>
<preference name='com.ibm.cic.common.sharedUI.showErrorLog' value='true'/>
<preference name='com.ibm.cic.common.sharedUI.showWarningLog' value='true'/>
<preference name='com.ibm.cic.common.sharedUI.showNoteLog' value='true'/>
</agent-input>
For the directory path in the recorded example response file which is in bold, you should modify them to the path on IBM i platform. Besides, there are some data keys which are different from windows. Delete the following three data keys which are not needed on IBM i:
<data key='cic.selector.os' value='win32'/>
<data key='cic.selector.ws' value='win32'/>
<data key='cic.selector.arch' value='x86'/>
<data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppServer/V85/Base' />
- After you have installed the Installation Manager on your system and have access to the product repositories, there are two methods on IBM i to perform the actual WebSphere Application Server product installation with Installation Manager.
- 1) Response file
- After you have a response file, execute the command in QShell to perform the installation:
- ./imcl -acceptLicense input /home/response.xml –log /home/install.log -keyring /home/keyring -password xx
- Note, if the repositories you specified in the response file can be accessed without authentication, the keyring is not needed. Otherwise, you should firstly create a keyring for the installation using command:
- ./imutilsc saveCredential –url repository_location -userName xx -userPassword
If you have more than one repository locations needs authentication with different user and password, put the authentication info into the same keyring file by the creating keyring command.
2) Command line
|
The parameter ‘core.feature’ is the default feature of WebSphere Application Server. For other optional features, separate them by commas. For WebSphere Application Server V8.0, the optional features are such as ejbdeploy, thinclient, embeddablecontainer, samples. For V8.5, an additional feature liberty is added.
For WebSphere Application Server product install with response file or command line, you can get more info from WAS information center.
Manage the product
Besides the product installation, you can also use IM to update, modify, uninstall or roll back the product. Following introduces you the useful Installation Manager commands to manage WebSphere Application Server and the detail management operations.
- Installation Manager useful commands
1. View installed packages and features
|
|
|
|
- Update
Install interim fix with following command:
|
The fix pack installation is similar to the product just fix pack is installed to update an existing installation.
- Modify
|
- Uninstall
Uninstall interim fixes:
|
After the WebSphere Application Server installation is installed on the system, there generates a uninstall.xml file in product_installation_location/uninstall directory. You can use the uninstall.xml file to perform the product un-installation:
| ./imcl input product_installation_location /uninstall /uninstall.xml |
- Roll back
Rollback with command line:
|
Summary
In above, this article has introduced you the WebSphere Application Server product installation and management with Installation Manager on IBM i platform. For more information about IM, you can refer to the IBM Installation Manager Knowledge Center. For more info about WebSphere Application Server, you can refer to the WebSphere Application Server Knowledge Center.
Was this topic helpful?
Document Information
Modified date:
06 February 2025
UID
ibm11170376



