Usage of installUtility tool

Share on:

Using installUtility in Websphere Liberty

installUtility is used to install all requried assets in Websphere Liberty. This utility connect to public hosted IBM repository and install them in host.

Syntax:

mwt@mwt:~/wlp/bin$ ./installUtility
Usage: installUtility {download|find|install|testConnection|uninstall|viewSettings|help} [options]

To access the Liberty Repository with limited internet access or through a firewall, ensure that you have access to the following hosts and ports:

public.dhe.ibm.com on port 443
asset-websphere.ibm.com on port 443

By using installUtility, you can create local directory based repository, downloading the wlp-featureRepo-<version>.zip file which contains all applicable features and addons.

Finding asset in Repository

Below process uses to search the asset in IBM repositry by online.

 1mwt@mwt:~/wlp/bin$ ./installUtility find jca
 2Establishing a connection to the configured repositories ...
 3This process might take several minutes to complete.
 4
 5Successfully connected to all configured repositories.
 6
 7Searching assets. This process might take several minutes to complete.
 8
 9feature : jca-1.6 : Java Connector Architecture 1.6
10feature : jca-1.7 : Java Connector Architecture 1.7
11feature : jcaRemoteEci-1.0 : IBM CICS JCA development feature for Java
12feature : jms-1.1 : Java Message Service 1.1
13feature : jms-2.0 : Java Message Service 2.0

Once requried asset is found, you can download it for local use.

 1mwt@mwt:~/wlp/bin$ ./installUtility download jms-2.0 --location=/tmp/wls
 2Establishing a connection to the configured repositories ...
 3This process might take several minutes to complete.
 4
 5Successfully connected to all configured repositories.
 6
 7Preparing assets for installation. This process might take several minutes to complete.
 8Step 1 of 6: Starting download ...
 9Step 2 of 6: Checking features ...
10Step 3 of 6: Downloading jca-1.7 ...
11Step 4 of 6: Downloading jms-2.0 ...
12Step 5 of 6: Cleaning up temporary files ...
13Step 6 of 6: Download completed
14
15
16All assets were successfully downloaded.
17
18You can add the following URL to the repositories.properties to use it as a repository for the installUtility command: file:/tmp/wls/
19mwt@mwt:~/wlp/bin$

After downloading the asset, you can create and use that as your local repositry for installation.

Below is the another example to install the liberty Network Deployment components in online.

 1mwt@mwt:~/wlp/bin$ ./installUtility install ndMemberBundle
 2Establishing a connection to the configured repositories ...
 3This process might take several minutes to complete.
 4
 5Successfully connected to all configured repositories.
 6
 7Preparing assets for installation. This process might take several minutes to complete.
 8Accept all of the following licenses so that the feature ndMemberBundle can be installed
 9Before you can use, extract, or install , you must accept the terms of
10Additional Features Terms & Conditions: and additional license
11information. Please read the following license agreements carefully.
12
13......
14
15Step 245 of 246: Validating installed fixes ...
16Step 246 of 246: Cleaning up temporary files ...
17
18
19All assets were successfully installed.
20
21Start product validation...
22Product validation completed successfully.
23mwt@mwt:~/wlp/bin$
24
comments powered by Disqus