验证安装
可以使用 IBM® Installation Manager 的功能来验证是否成功安装了产品。
过程
- 要验证是否安装了产品,您可以使用 Installation Manager 在已安装的软件包列表中查找该产品。 将目录切换到 Installation Manager 二进制文件位置的 eclipse/tools 子目录,然后运行此命令:
这将显示一个列表,指示此 Installation Manager 已安装的软件包。例如:./imcl listInstalledPackages
com.ibm.websphere.liberty.CORE.ND_16.0.2.20160203_0234
- 如果已成功安装,那么 installed.xml 文件应该包含所安装产品的位置元素。
例如,以下文件:
包含的内容应该类似如下:installation_manager_root/properties/version/installed.xml
<location id="IBM WebSphere Application Server Liberty Core" kind="product" path="/QIBM/ProdData/WebSphere/Liberty/LibertyCore"> ..... </location>
- 如果安装期间使用了 Installation Manager -log 选项,那么您可以确认产生的日志文件不含任何错误。
如果已使用以下命令以静默方式安装产品,例如:
./imcl -acceptLicense input $HOME/WASFiles/liberty/temp/install_response_file.xml -log $HOME/WASFiles/liberty/temp/install_log.xml -secureStorageFile $HOME/WASFiles/liberty/temp/credential.store -masterPasswordFile $HOME/WASFiles/liberty/master_password_file.txt
而且安装成功,那么 install_log.xml 文件包含的内容应该类似如下:<?xml version="1.0" encoding="UTF-8"?> <result> </result>
相关任务:

文件名:twlp_ins_install_ver_is.html