在 z/OS 上安装 Web 2.0 and Mobile Toolkit

使用 IBM® Installation Manager V1.5.2 或更高版本来安装 Web 2.0 and Mobile Toolkit 的产品代码。

开始之前

  1. 在 z/OS® 系统上创建 Installation Manager。您将需要了解 Installation Manager 二进制文件目录的位置,并且可以访问能够调用 Installation Manager 的用户标识。
  2. 获取 Web 2.0 and Mobile Toolkit 的产品存储库。可以用只读方式装载该存储库。

过程

  1. 选择 Web 2.0 and Mobile Toolkit 的安装位置。

    每次 Installation Manager 访问此产品副本以对其进行安装、卸载或修改时,都必须在此位置装载此产品副本。此位置不必与产品用于生产中时将装载到的位置相同。

    Installation Manager 要求每个已安装的产品或产品组都具有各自的安装位置。

  2. 在此位置以读/写方式装载一个空文件系统。
    它将至少需要 3200 个磁道 (3390) 或 150 兆字节的可用磁盘空间。将文件系统的所有权设置为 Installation Manager 用户标识的所有权,并且如果组方式 Installation Manager 将访问该文件系统,请设置许可权以允许组可写。例如:
    chown IMADMIN:IMGROUP /usr/lpp/Web2Mobile/V11
    
    chmod 775 /usr/lpp/Web2Mobile/V11
    可以使用 Installation Manager 二进制文件位置的 eclipse/tools 子目录中的 zCreateFileSystem.sh 脚本来创建此文件系统。例如:
    cd /InstallationManager/bin/eclipse/tools
    
    zCreateFileSystem.sh -name WAS.V85.SWEBHFS -type ZFS 
      -megabytes 150 30 -volume PRV005
      -mountpoint /usr/lpp/Web2Mobile/V11
      -owner IMADMIN -group IMGROUP
  3. 使用 Installation Manager 用户标识登录 UNIX 系统服务 shell,然后将目录切换到 Installation Manager 二进制文件位置的 eclipse/tools 子目录。
    例如:
    cd /InstallationManager/bin/eclipse/tools
  4. 如果计划使用基于 Web 的服务存储库,请通过运行 imutilsc 命令在 z/OS 上创建密钥环文件以访问此存储库。
    installation_manager_binaries_directory/eclipse/tools/imutilsc saveCredential 
      -keyring keyring_file
      -userName user_ID -userPassword user_password
      -url http://www.ibm.com/software/repositorymanager/com.ibm.websphere.W2MTK.v11/repository.xml 
    其中 keyring_file 是要创建的密钥环的路径和文件名,而 user_IDuser_password 是用于访问受保护 IBM 软件 Web 站点的通用 IBM 用户标识和密码。
    例如:
    /opt/IBM/InstallationManager/eclipse/tools/imutilsc saveCredential 
      -keyring /u/jane/IBM.software.keyring
      -userName jsmith01 -userPassword 732Ukelele
      -url http://www.ibm.com/software/repositorymanager/com.ibm.websphere.W2MTK.v11/repository.xml 

    确保该 Installation Manager 用户标识可以读取该密钥环文件。

  5. 验证存储库是否可用。
    通过发出以下 Installation Manager 命令行命令来进行此验证。
    imcl listAvailablePackages -repositories list_of_repository_locations
    您应看到 Web 2.0 and Mobile Toolkit 产品 com.ibm.websphere.W2MTK.v11 的一个或多个级别。

    list_of_repository_locations 应包括初始产品存储库的路径以及任何其他服务存储库的路径。使用逗号来分隔 list_of_repository_locations 中的 URL。

    要使用基于 Web 的服务存储库,请添加 -useServiceRepository 参数,并使用 -keyring 参数来指定包含 IBM 软件标识和密码的密钥环文件。例如:
    imcl listAvailablePackages 
      -repositories /opt/repository/W2MTK
      -useServiceRepository  
      -keyring  /u/jane/IBM.software.keyring
  6. 阅读产品许可证,可在存储库的 lafiles 子目录中找到该许可证。
  7. 运行 Installation Manager 命令行工具以安装 Web 2.0 and Mobile Toolkit。
    imcl install com.ibm.websphere.W2MTK.v11
      -installationDirectory installation_location
      -repositories list_of_repository_locations
      -sharedResourcesDirectory shared_data_location 
      -acceptLicense
      [-useServiceRepository -keyring keyring_file]
      [-installFixes <all | recommended | none> ]

    -sharedResourcesDirectory 参数指向一个目录,Installation Manager 在安装处理期间会将来自存储库的工件存储在该目录中。首次使用特定 Installation Manager 安装产品时将会设置此值。已设置共享资源目录之后,可以省略此参数。

    如果不指定要安装的产品版本,那么 Installation Manager 将安装产品的最新版本以及存储库位置中的所有修订。可以通过指定 -installFixes none 来阻止安装修订,或通过指定 -installFixes recommended 来仅安装建议修订。

    如果指定要安装的产品版本,那么只有当您指定 -installFixes recommended-installFixes all 时,才会安装存储库位置中的任何修订。

    通过指定 -acceptLicense 来接受存储库中包含的产品许可证的条款。

  8. 当 Installation Manager 完成并且未显示错误消息时,安装完成。

    可以在 Installation Manager 运行时数据位置的 logs 子目录中找到有关安装的日志。

  9. 安装完成之后,卸装产品文件系统,并以只读方式重新装载该文件系统以供 WebSphere® Application Server 节点和服务器使用。
任务主题    

信息中心的条款和条件 | 反馈

最近更新日期: May 11, 2012 12:10 PM EDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v850webmob&product=was-nd-mp&topic=tweb_ins_installation_zos_installing
文件名: tweb_ins_installation_zos_installing.html