可以从命令行通过单一命令同时运行 Content Engine
所需的所有配置 XML 文件。任何将 <TaskEnbled> 元素设置为 false 的配置 XML 文件都将被跳过。
如果 FileNet® P8 域使用了多个非受管应用程序服务器,请在所有服务器上使用包含引导设置的单一 EAR 文件副本。对初始服务器运行所有任务之后,请将具有引导设置的 EAR 文件复制到其他服务器。接着,在对附加的服务器运行任务时,请不要使用此过程对附加服务器同时运行所有任务。而是,请只运行用于为 GCD 配置 JDBC 数据源、为对象存储库配置 JDBC 数据源以及配置 LDAP 提供程序的任务。
对于所有其他配置而言,可以对每个 Content Engine 服务器同时运行所有任务。
要同时运行所有配置 XML 文件,请完成下列步骤:
- 将当前目录切换到 ce_install_path/tools/configure,其中 ce_install_path 是 Content Engine 软件的安装位置。
- 运行以下命令。
configmgr_cl execute -profile myprofile
其中,
-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"。
- 如果 FileNet P8 域使用多个非受管应用程序服务器,请将 ce_install_path/ContentEngine/tools/configure/profiles/my_profile/ear/Engine-app_server_type.ear 文件复制到每个附加的 Content Engine 服务器。
- install_dir
- Content Engine 的安装位置。
- my_profile
- 您创建的 Configuration Manager 概要文件的目录。
- Engine-app_server_type.ear
- 应用程序服务器类型的相应 EAR 文件:Engine-ws.ear、Engine-wl.ear 或 Engine-jb.ear。
要点: 对于每个附加的非受管服务器,请只运行用于为 GCD 配置 JDBC 数据源、为对象存储库配置 JDBC 数据源以及配置 LDAP 提供程序的任务。
系统将显示任务执行状态消息。
(仅限于 Oracle WebLogic Server)运行所有任务时,weblogic.security.providers.authentication.DefaultAuthenticator.ControlFlag
值将设置为 SUFFICIENT,以便认证用户。