签到成功

知道了

CNDBA社区CNDBA社区

How to use imcl command to view the list of the packages, updates, and features in a source repository

2023-05-26 10:59 1163 0 原创 Linux
作者: hbhe0316

Abstract
How to use imcl command to view the list of the packages, updates, and features in a source repository

Body
During installing Products and Fixes with IBM Installation Manager, Installation Manager searches open repositories where Packages and Fixes exist. But how can you verify the applicable packages, updates, and features are in a target repository from the command line?

Installation Manager provides the command line tool, imcl, to manage installation. The imcl command can be found in /eclipse/tools subdirectory.

Where is root directory where IM is installed.

We will introduce how to verify the installed packages and view the list of applicable packages, updates, and features to the installed packages.

How to verify the installed packages

http://www.cndba.cn/hbhe0316/article/121041

Use command: “imcl listInstalledPackges” to view a list of packages that are already installed by the Installation Manager.http://www.cndba.cn/hbhe0316/article/121041

Windows: imcl.exe listInstalledPackages
AIX, HP-UX, Linux, Solaris: imcl listInstalledPackages

Example:

 ./imcl listInstalledPackages
com.ibm.websphere.ND.v80_8.0.3.20120320_0536
com.ibm.websphere.WCT.v80_8.0.5.20121022_1902
com.ibm.websphere.PLG.v80_8.0.6.20130328_1645
com.ibm.websphere.IHS.v80_8.0.5.20121022_1902
com.ibm.websphere.IBMJAVA.v70_7.0.4001.20130510_2103
com.ibm.websphere.ND.v85_8.5.2.20130327_1831

If you would like to verify more details like version, features, installed fixes, and rollback versions, run the command with the “-verbose “option.

http://www.cndba.cn/hbhe0316/article/121041

Example:

./imcl listInstalledPackages -verbose
[Package]
Name: IBM WebSphere Application Server Network Deployment (com.ibm.websphere.ND.v85)
Version: 8.5.0.2 (8.5.2.20130327_1831)
Repository: /usr/IBMWASREPO
Features:
    IBM 64-bit WebSphere SDK for Java (com.ibm.sdk.6_64bit)
    EJBDeploy tool for pre-EJB 3.0 modules (ejbdeploy)
    Embeddable EJB container (embeddablecontainer)
    WebSphere Application Server Liberty Profile (liberty)
    Stand-alone thin clients and resource adapters (thinclient)
Fixes:
    8.5.0.0-WS-WASND-AixPPC3264-IFPM87806 (8.5.0.0-WS-WASND-AixPPC3264-IFPM87806)
Rollback versions:
    8.5.0.0 (8.5.0.20120501_1108)

How to verify the installable packages

Use command: “imcl listAvailablePackages” to list the packages that are installable to the existing products.

Windows: imcl.exe listAvailablePackages -repositories [source_repository]
AIX, HP-UX, Linux, Solaris: imcl listAvailablePackages -repositories [source_repository]

http://www.cndba.cn/hbhe0316/article/121041
http://www.cndba.cn/hbhe0316/article/121041

Example:

 ./imcl listAvailablePackages -repositories /usr/IBMWASREPO
com.ibm.websphere.BASE.v85_8.5.5001.20131018_2242
com.ibm.websphere.BASE.v85_8.5.5002.20140408_1947
com.ibm.websphere.IBMJAVA.v70_7.0.4001.20130510_2103
com.ibm.websphere.IBMJAVA.v70_7.0.5000.20131010_1516
com.ibm.websphere.IBMJAVA.v70_7.0.6001.20140324_2202
com.ibm.websphere.IBMJAVA.v71_7.1.0.20140324_2146
com.ibm.websphere.ND.v85_8.5.5001.20131018_2242
com.ibm.websphere.ND.v85_8.5.5002.20140408_1947

How to verify installable iFixeshttp://www.cndba.cn/hbhe0316/article/121041

Use the command: “imcl listAvailableFixes” to view a list of applicable Fixes to the specified product in a source repository.

  1. Listing the installed packages by using listInstalledPackages
    Windows:imcl.exe listInstalledPackages
    AIX, HP-UX, Linux, Solaris:imcl listInstalledPackages

  2. View a list of iFixes which is applicable to installed product by using listAvailableFixes [packageID_version]. Specify the packageID to the [packageID_version] which is verified on step 1 above.
    Windows: imcl.exe listAvailableFixes [packageID_version] -repositories [source_repository]
    AIX, HP-UX, Linux, Solaris: imcl listAvailableFixes [packageID_version] -repositories [source_repository]

    http://www.cndba.cn/hbhe0316/article/121041

Example:

http://www.cndba.cn/hbhe0316/article/121041

  1. Listing the installed packages by using listInstalledPackages
./imcl listInstalledPackages
com.ibm.cic.agent_1.7.3000.20140521_1925
com.ibm.websphere.ND.v80_8.0.7.20130725_2248
com.ibm.websphere.WCT.v80_8.0.5.20121022_1902
com.ibm.websphere.PLG.v80_8.0.6.20130328_1645
com.ibm.websphere.IHS.v80_8.0.5.20121022_1902
com.ibm.websphere.ND.v85_8.5.5002.20140408_1947
com.ibm.websphere.IBMJAVA.v70_7.0.4001.20130510_2103
  1. Verify if installable iFixes to the specified packages:”com.ibm.websphere.IBMJAVA.v70_7.0.4001.20130510_2103” exist in the target repository:
./imcl listAvailableFixes com.ibm.websphere.IBMJAVA.v70_7.0.4001.20130510_2103 -repositories /mnt/inst.repositories/7.0.1.0-WS-WASJavaSDK7-AixPPC64-IFPI19111.zip
7.0.1.0-WS-WASJavaSDK7-AixPPC64-IFPI19111_7.0.1000.20140603_0500

From the result, we can see the iFix: “7.0.1.0-WS-WASJavaSDK7-AixPPC64-IFPI19111_7.0.1000.20140603_0500” is applicable to the installed package: “com.ibm.websphere.IBMJAVA.v70_7.0.4001.20130510_2103”

How to verify installable features

http://www.cndba.cn/hbhe0316/article/121041

Use the command “imcl listAvailablePackages -features” to view a list of installable features in a source repository.

Windows: imcl.exe listAvailablePackages -repositories [source_repository] -features -long
AIX, HP-UX, Linux, Solaris: imcl listAvailablePackages -repositories [source_repository] -features -long

Example:

http://www.cndba.cn/hbhe0316/article/121041

./imcl listAvailablePackages -repositories /usr/IBMWASREPO -features -long
/usr/IBMWASREPO : com.ibm.websphere.ND.v85_8.5.1.20121017_1724 : IBM WebSphere Application Server Network Deployment : 8.5.0.1 : core.feature,ejbdeploy,thinclient,embeddablecontainer,samples,liberty,com.ibm.sdk.6_32bit,com.ibm.sdk.6_64bit
/usr/IBMWASREPO: com.ibm.websphere.ND.v85_8.5.5000.20130514_1044 : IBM WebSphere Application Server Network Deployment : 8.5.5.0 : core.feature,ejbdeploy,thinclient,embeddablecontainer,samples,com.ibm.sdk.6_32bit,com.ibm.sdk.6_64bit

版权声明:本文为博主原创文章,未经博主允许不得转载。

Linux

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
hbhe0316

hbhe0316

关注

1.只有承认无知,才能装下新的东西; 2.进步来自一点点滴滴的积累; 3.广博让你更优秀,而专业让你无法替代; 4.挫折和失败能够转换为一种财富。

  • 889
    原创
  • 1
    翻译
  • 13
    转载
  • 24
    评论
  • 访问:1143659次
  • 积分:1523
  • 等级:核心会员
  • 排名:第6名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ