FileNet P8 Content Engine, 版本 5.0.+              

使用命令行来部署已升级的实例

您可以使用 Configuration Manager 的命令行版本在 Web 应用程序服务器上部署已升级的 Content Engine 实例。部署操作将使 Content Engine 应用程序可供使用。

确保应用程序服务器处于运行或停止状态:
表 1. 所需的应用程序服务器状态
选项 描述
WebSphere® Application Server 如果应用程序服务器尚未处于运行状态,请将其启动。
JBoss Application Server 停止应用程序服务器。
WebLogic Server 如果应用程序服务器尚未处于运行状态,请将其启动。
High availability 要点: 在高可用性环境中部署 Content Engine 时,必须指定集群作为部署目标。

有关语法详细信息,请参阅Configuration Manager 命令行参考

要从命令行部署 Content Engine 实例,请完成下列步骤:
  1. config_mgr_user 用户(即,Configuration Manager 用户)身份登录到应用程序服务器。
  2. 在将 Content Engine 从 V4.0.1、V4.5.0 或 V4.5.1 升级到 V5.0.0 之前,如果您已升级应用程序服务器的版本或者已将其移至新目录或设备,并且接着重新部署了 Content Engine,请执行下列子步骤:
    1. 打开 applicationserver.xml 文件以进行编辑。
    2. 更正任何对于应用程序服务器类型而言过时的参数值。
    3. 保存您所作的编辑。
  3. 将当前目录设置为 ce_install_path/tools/configure,其中 ce_install_pathContent Engine 的安装路径。
  4. 运行以下命令,以便应用 deployapplication.xml 文件中的设置:
    configmgr execute -task deployapplication -profile myprofile
    其中,myprofile 值可以是下列其中一项:
    • 概要文件的名称,例如 ce_was_tiv_db2。此概要文件必须位于 ce_install_path/tools/configure/profiles 目录中,其中 ce_install_pathContent 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"
  5. 可选: 运行以下命令,以检查 DeployApplication 任务的完成状态。
    configmgr checkstatus -task deployapplication -profile myprofile
  6. 根据需要重复此过程,以便部署任何附加的 Content Engine 实例。


反馈

最近一次更新时间: 2010 年 11 月


© Copyright IBM Corporation 2010.
本信息中心基于 Eclipse 技术。(http://www.eclipse.org)