Content Platform Engine, V 5.2.1              

使用命令行对已升级的实例进行配置

您可以使用 Configuration Manager 的命令行版本对 Web 应用程序服务器上已升级的 Content Platform Engine 实例进行配置。

开始之前

在开始之前,请确保您有必需的帐户和适当的许可权。
限制: 如果计划在配置 Content Platform Engine 升级期间更改安装目录或概要文件目录,那么无法使用以下过程。必须改为使用使用新概要文件将 Content Platform Engine 配置到新的应用程序服务器实例中的图形用户界面或命令行界面过程。

过程

要对已升级的 Content Platform Engine 实例进行配置,请执行下列操作:

  1. 在安装了 Content Platform Engine 的机器上,以 Configuration Manager 用户 config_mgr_user 身份登录:
  2. 将当前目录切换到 ce_install_path/tools/configurece_install_pathContent Platform Engine 的安装路径。

    例如,ce_install_path 可能是 /opt/FileNet/ContentEngine

  3. 从命令行,运行 generateupgrade 命令以生成升级概要文件。
    要点: 如果您是从 V4.5.1 进行升级,那么应知道 Configuration Manager 将保留 V4.5.1 概要文件。即,Configuration Manager 使用现有的 V4.5.1 概要文件部署 Content Platform Engine。它不会创建新的概要文件,它仅修改 applicationserver.xml 文件。
    输入以下命令(请不要换行):
    configmgr_cl generateupgrade [-appserver app_server_type] -server server_name
     [-deploy deploy_type] -profile myprofile [-silent] [-force] [-help]

    其中:

    -server server_name
    -server server_name 参数指示要为其创建升级概要文件的服务器。在运行 generateupgrade 命令之前,请使用 listservers 命令来显示 Servers.xml 文件中的有效 server_name 值的列表。
    -appserver appserver_type
    仅当 ce_install_path/Servers.xml 文件不存在或者未包含任何服务器时,-appserver appserver_type 参数才是必需的。此参数指定应用程序服务器的类型,并且必须是下列其中一个值:WebSphereWebLogicJBoss
    -deploy deploy_type
    仅当 ce_install_path/Servers.xml 文件不存在或者未包含所选服务器的部署类型时,-deploy deploy_type 参数才是必需的。此参数指定 Content Platform Engine 部署类型。如果所选服务器的 Servers.xml 文件包含部署类型值,那么将使用 Servers.xml 文件中的值,而不是使用您在命令行中指定的值。

    请选择下列其中一项值:standardclusternetdeploy(网络部署)。

    如果您正在将 Content Platform Engine 部署到独立 WebSphere® Application ServerOracle WebLogic ServerJBoss Application Server(即,既不是受管服务器,也不是集群式服务器),请指定 standard

    如果您正在将 Content Platform Engine 部署到 WebSphere Application ServerOracle WebLogic ServerJBoss Application Server 集群,请指定 cluster

    如果您正在将 Content Platform Engine 部署到受管 WebSphere Application Server 实例,请指定 netdeploy。即,您正在使用 Network Deployment 来管理各个未包含在集群中的服务器。

    -profile myprofile
    -profile myprofile 参数指定要使用的概要文件。myprofile 值可以是下列其中一项:
    • 概要文件的名称,例如 ce_was_tiv_db2。此概要文件必须位于 ce_install_path/tools/configure/profiles 目录中,其中 ce_install_pathContent 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"
    -silent
    -silent 参数是可选的。如果指定了 -silent,那么将不会在控制台中显示任何提示或参考消息,但会将错误写入日志。故障消息和验证错误消息(例如关于遗漏密码或端口号无效的消息)将根据需要显示。如果您通过运行 execute 命令来运行概要文件中的所有任务,并且指定了 -silent 参数,那么还必须指定 -force 参数。
    -help
    -help 参数是可选的,它显示有关命令语法的简要消息,而不是运行该命令。

    在概要文件目录中,将创建 upgrade.xml 文件以及一个根据每个现有 Content Platform Engine 实例命名的目录。

  4. 您必须根据 generateupgrade 命令的运行方式来验证或者编辑 applicationserver.xml 文件的内容:
    • 如果您以交互方式运行此命令,那么请对命令提示作出响应,以验证 applicationserver.xml 文件中的所有属性值。
    • 如果您以静默方式运行此命令,那么它将使用现有概要文件中的属性值来创建新的 applicationserver.xml 文件。然后,您必须编辑此文件中的属性值,使其与已升级的环境相匹配。然后,运行 storepasswords 命令,它将提示您选择是否对 Web 应用程序服务器管理员密码进行加密并将其存储在 applicationserver.xml 文件中(请回答 yesno)。
  5. 验证所创建的每个 Content Platform Engine 实例目录的应用程序服务器属性,根据需要对这些属性进行编辑,使其与已升级的环境相匹配。
  6. 如果要将 FileNet® P8 从 5.2.0 之前的版本进行升级,请从命令行运行 execute 命令以配置 Process Engine JDBC 数据源:
    configure_cl execute -task configurejdbcos -profile myprofile
  7. 从命令行,运行 execute 命令以配置引导程序属性。
    configmgr_cl execute -task configurebootstrap -profile myprofile
  8. (仅限于 WebSphereJBoss Application Server)如果要将 Content Engine 从 V4.5.1 进行升级,请从命令行运行 execute 命令以配置登录模块:
    configmgr_cl execute -task configureloginmodules -profile myprofile
  9. 从命令行,运行 execute 命令以配置 LDAP:
    configmgr_cl execute -task configureldap -profile myprofile
  10. 可选: 从命令行,通过运行 checkStatus 命令来检查该任务的完成状态。
    configmgr checkStatus -task configurebootstrap -profile myprofile


最近一次更新时间: 2015 年 10 月
p8pup734.htm

© Copyright IBM Corporation 2013, 2015.