Content Platform Engine, V 5.2.1              

每次运行一个配置 XML 文件

您可以从命令行以每次运行一个文件的方式运行每个必需的配置 XML 文件。必须运行每个必需文件才能完成 Content Platform Engine 的配置。

开始之前

如果正在对先前在 Configuration Manager 图形用户界面中创建或编辑的概要文件运行任务,那么在尝试运行配置 XML 文件之前,请验证这些 XML 文件是否包含所需密码的值。有关更多信息,请参阅在 Configuration Manager 中处理密码

关于此任务

必须为每个必需的配置任务运行配置 XML 文件:
  • 通过使用 configurebootstrap 选项来应用引导程序属性文件。

    如果 FileNet® P8 域使用了多个非受管应用程序服务器,请在所有服务器上使用包含引导程序设置的单一 EAR 文件副本。在初始服务器上应用引导程序属性文件之后,将具有引导程序设置的 EAR 文件复制到其他服务器上的概要文件目录。接着,在对附加的服务器运行任务时,请不要使用 configurebootstrap 选项。仅运行用于为全局配置数据库 (GCD) 配置 JDBC 数据源的任务、为对象存储配置 JDBC 数据源的任务以及配置 LDAP 提供程序的任务。

    对于所有其他配置而言,可以对每个 Content Platform Engine 服务器运行所有任务。

  • 通过使用 configurepricingmodel 选项来配置许可证。
  • 使用 configurejdbcgcd 选项,为 GCD 配置 JDBC 数据源。
  • 通过使用 configurejdbcos 选项,为单一对象存储数据库配置 JDBC 数据源。
  • 通过使用 configureldap 选项来配置 LDAP 提供程序。
    (仅限于 Oracle WebLogic Server)使用 configureldap 选项来运行任务时,
    weblogic.security.providers.authentication.DefaultAuthenticator.ControlFlag
    值会设为 SUFFICIENT 以认证用户。
  • 通过使用 configureloginmodules 选项来配置登录模块。

过程

要以每次运行一个文件的方式来运行配置 XML 文件,请执行下列操作:

  1. 将当前目录切换到 ce_install_path/tools/configure,其中 ce_install_pathContent Platform Engine 的安装位置。
  2. 运行您需要完成的任务的相应命令。在输入命令时,请不要换行。
    针对许可证通过一个 configurepricingmodel 任务来运行某个概要文件中的 configurejdbcos.xml 文件:
    configmgr_cl execute -task configurepricingmodel -profile myprofile
    通过一个 configurejdbcos 任务来运行某个概要文件中的 configurejdbcos.xml 文件:
    configmgr_cl execute -task configurejdbcos -profile myprofile
    通过多个 configurejdbcos 任务来运行某个概要文件中的 configurejdbc.2.xml 文件:
    configmgr_cl execute -taskfile configurejdbc.2.xml
    -profile myprofile
    通过一个 configureldap 任务来运行某个概要文件中的 configureldap.xml 文件:
    configmgr_cl execute -task configureldap -profile myprofile
    通过多个 configureldap 任务来运行某个概要文件中的 configureldap.3.xml 文件:
    configmgr_cl execute -taskfile configureldap.3.xml -profile myprofile
    运行 configureloginmodules.xml 文件:
    configmgr_cl execute -task configureloginmodules -profile myprofile
    通过一个 configurebootstrap 任务来运行某个概要文件中的 configurebootstrap.xml 文件:
    configmgr_cl execute -task configurebootstrap -profile myprofile

    其中:

    -taskfile task_file_name
    -taskfile task_file_name 参数指定要使用的配置 XML 文件。

    对于指定的 task_type,如果只存在一个任务文件,那么 -taskfile task_file_name 参数是可选的,但请不要将 -task task_type 参数与 -taskfile task_file_name 参数配合使用。

    对于指定的 task_type,如果存在多个任务文件,那么必须指定 -taskfile task_file_name 参数。如果指定了 -taskfile task_file_name 参数,那么可以省略 -task task_type 参数。

    -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"
    切记:configurejdbcgcd 任务输入的值适用于 GCD 数据源。在稍后的安装过程中,您必须为每个对象存储编辑并运行一次 configurejdbcos 任务。
  3. 如果 FileNet P8 域使用多个非受管应用程序服务器,那么将 ce_install_path/ContentEngine/tools/configure/profiles/my_profile/ear/Engine-app_server_type.ear 文件复制到每个其他 Content Platform Engine 服务器上的概要文件目录。
    install_dir
    Content Platform Engine 的安装位置。
    my_profile
    您创建的 Configuration Manager 概要文件的目录。
    Engine-app_server_type.ear
    应用程序服务器类型的相应 EAR 文件:Engine-ws.earEngine-wl.earEngine-jb.earEngine-jbc.earEngine-jb6eap.ear
    要点: 对于每个其他非受管服务器,请只运行用于为 GCD 配置 JDBC 数据源、为对象存储配置 JDBC 数据源以及配置 LDAP 提供程序的任务。对附加的服务器运行任务时,请不要使用 configurebootstrap 选项。
  4. 根据需要重复此过程以便运行另外某个配置 XML 文件,直到对此服务器运行了全部四个必需任务的文件为止。

结果

系统将显示任务执行状态消息。


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

© Copyright IBM Corporation 2013, 2015.