您可以使用 Configuration Manager 的命令行版本在 Web 应用程序服务器上部署已升级的
Content Platform Engine 实例。部署操作将使 Content Platform Engine 应用程序可供使用。
开始之前
确保应用程序服务器实例处于运行或停止状态:
表 1. 所需的应用程序服务器状态选项 |
描述 |
WebSphere® Application Server |
如果应用程序服务器实例尚未处于运行状态,请将其启动。 |
JBoss Application Server |
停止应用程序服务器实例。 |
WebLogic Server |
如果应用程序服务器实例尚未处于运行状态,请将其启动。 |
关于此任务
要点: 在高可用性环境中部署
Content Platform Engine 时,必须指定集群作为部署目标。
有关语法详细信息,请参阅 Configuration Manager 命令行参考。
过程
要从命令行部署 Content Platform Engine 实例,请执行下列操作:
- 以 config_mgr_user 用户(即,Configuration Manager 用户)身份登录到应用程序服务器。
- 将当前目录设为 ce_install_path/tools/configure,其中 ce_install_path 是 Content Engine 的安装路径。
- 运行以下命令,以便应用 deployapplication.xml 文件中的设置:
configmgr_cl execute -task deployapplication -profile myprofile
其中,
myprofile 值可以是下列其中一项:
- 概要文件的名称,例如 ce_was_tiv_db2。此概要文件必须位于 ce_install_path/tools/configure/profiles 目录中,其中 ce_install_path 是 Content Platform Engine 软件的安装位置。
- 概要文件目录的绝对路径,例如 "C:\Program Files\IBM\FileNet\ContentEngine\tools\configure\profiles\ce_was_tiv_db2" 或 /opt/IBM/FileNet/ContentEngine/tools/configure/profiles/ce_was_tiv_db2。
- 概要文件输入文件的绝对路径,例如 "C:\Program Files\IBM\FileNet\ContentEngine\tools\configure\profiles\ce_was_tiv_db2\ce_was_tiv_db2.cfg" 或 /opt/IBM/FileNet/ContentEngine/tools/configure/profiles/ce_was_tiv_db2/ce_was_tiv_db2.cfg。
切记: 如果此路径包含带有空格的目录名,请将整个路径括在引号中。例如,输入
"C:\Program Files\IBM\FileNet\ContentEngine\tools\configure\profiles\ce_was_tiv_db2\ce_was_tiv_db2.cfg"。
- 可选: 运行以下命令以检查“部署应用程序”任务的完成状态。
configmgr_cl checkstatus -task deployapplication -profile myprofile
- 根据需要重复此过程,以便部署任何附加的 Content Platform Engine 实例。