您可以使用 Configuration Manager 的命令行版本在 Web 应用程序服务器上部署已升级的
Content Engine 实例。部署操作将使 Content Engine 应用程序可供使用。
确保应用程序服务器处于运行或停止状态:
表 1. 所需的应用程序服务器状态选项 |
描述 |
WebSphere® Application Server |
如果应用程序服务器尚未处于运行状态,请将其启动。 |
JBoss Application Server |
停止应用程序服务器。 |
WebLogic Server |
如果应用程序服务器尚未处于运行状态,请将其启动。 |
要点: 在高可用性环境中部署
Content Engine 时,必须指定集群作为部署目标。
有关语法详细信息,请参阅Configuration Manager 命令行参考。
要从命令行部署
Content Engine 实例,请完成下列步骤:
- 以 config_mgr_user 用户(即,Configuration Manager 用户)身份登录到应用程序服务器。
- 在将 Content Engine 从 V4.0.1、V4.5.0 或 V4.5.1 升级到 V5.0.0 之前,如果您已升级应用程序服务器的版本或者已将其移至新目录或设备,并且接着重新部署了 Content Engine,请执行下列子步骤:
- 打开 applicationserver.xml 文件以进行编辑。
- 更正任何对于应用程序服务器类型而言过时的参数值。
- 保存您所作的编辑。
- 将当前目录设置为 ce_install_path/tools/configure,其中 ce_install_path 是 Content Engine 的安装路径。
- 运行以下命令,以便应用 deployapplication.xml 文件中的设置:
configmgr execute -task deployapplication -profile myprofile
其中,
myprofile 值可以是下列其中一项:
- 概要文件的名称,例如 ce_was_tiv_db2。此概要文件必须位于 ce_install_path/tools/configure/profiles 目录中,其中 ce_install_path 是 Content 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"。
- 可选: 运行以下命令,以检查 DeployApplication 任务的完成状态。
configmgr checkstatus -task deployapplication -profile myprofile
- 根据需要重复此过程,以便部署任何附加的 Content Engine 实例。