FreeKB - Install IBM WebSphere web server plugin (plugin-cfg.xml) using imcl install command
Install IBM WebSphere web server plugin (plugin-cfg.xml) using imcl install command

Home > Search

The Installation Manager command line tool (imcl) has two different commands that can be used to install a product.

  • install
  • input

When using the install command, all of the parameters must be used on the command line. When using the input command, most of the parameters are put in an XML. This article describes the installation procedure using the install command. Refer to this article to use the input command.

 


Prerequisites

If you have not installed IBM Installation Manager, install IBM Installation Manager

 


-prompt vs. -secureStorageFile and -masterPasswordFile

When installing or updating an IBM product, you will need to provide your IBM username and password. One way to provide your username and password is by using the -prompt, which will prompt you to provide your username and password. Another option is to store your username in a secure storage file and to store your password in a master password file, and to then use the -secureStorageFile and -masterPasswordFile options on the command line.

 


IBM repository vs. local repository

One of the command line options is -repositories. There are two types of repositories. One is known as an "IBM service repostiory" and the other is known as a "local repository". An IBM service repository is an HTTP URL that contains the installation files for a product, such as http://www.ibm.com/software/repositorymanager/com.ibm.websphere.BASE.v90. A local repository is where you download the installation files from Fix Central or using the Packaging Utility.

If you are going to be performing the install using an IBM service repository, use the listAvailablePackages command to list the available packages in the service repository.

 


Perform the install

If installing from an IBM service repository, ensure the -repositories option is followed by the URL to the IBM service repository, like this.

-repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.PLG.v90

 

If installing from a local repository, ensure the -repositories option is followed by the location of the installation files on your server, like this:

-repositories /tmp/plugin,tmp/java

 

Here is an example of a full install command to perform the install from an IBM service repository. If installating version 8 of WebSphere, there is no need to also install Java SDK separately, as Java JDK is included in version 8. If installing version 9, you will need to install both the application server and Java JDK.

/opt/IBM/InstallationManager/eclipse/tools/imcl
install 
com.ibm.websphere.PLG.v90_9.0.6.20171205_1311
com.ibm.java.jdk.v8_8.0.5007.20171218_1035
-repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.PLG.v90 
-installationDirectory /opt/IBM/WebSphere/Plugin
-sharedResourcesDirectory /opt/IBM/IMShared
-acceptLicense
-showProgress or -showVerboseProgress
-prompt or -secureStorageFile /path/to/secure_storage.txt and -masterPasswordFile /path/to/master_password.txt

 


Post installation

The ${WAS_INSTALL_ROOT}/logs/install/log.txt file can be reviewed to ensure the installation was successful.

The Installation Verification Tool can be used to ensure the installation was successful.

The listInstalledPackages command can be used to list installed packages.

The versionInfo.sh utility can be used to verify that the plugin was successfully installed.

~]# /opt/IBM/WebSphere/Plugin/bin/versionInfo.sh
. . .
Installed Product
---------------------------------------------------
Name              Web Server Plug-ins for IBM WebSphere Application Server 
Version           9.0.0.6
ID                PLG
. . .

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 7abd3 in the box below so that we can be sure you are a human.




Comments


December 16th, 2019 by T D MANJUNATH REDDY
Hi, you have given a very clear information, really i loved it, can i expect troubleshooting issues and solutions on websphere application server, if u provide those i am the luckiest person in the world, if possible please provide pdf or document or anything by dropping a mail to me, thank u very much


December 17th, 2019 by Jeremy (moderator)
Awesome! I am so happy to know this article was useful. Now I feel even more motivated. My http://www.freekb.net/Walkthroughs pages has many more articles on WebSphere and IHS.