您可以从命令行以每次运行一个文件的方式运行每个必需的配置 XML 文件。必须运行每个必需文件才能完成 Content Engine 的安装。
必须为每个必需的配置任务运行配置 XML 文件:
- 通过使用 configurebootstrap 选项来应用引导属性文件。
如果 FileNet® P8 域使用了多个非受管应用程序服务器,请在所有服务器上使用包含引导设置的单一 EAR 文件副本。在初始服务器上应用引导属性文件之后,请将具有引导设置的 EAR 文件复制到其他服务器。接着,在对附加的服务器运行任务时,请不要使用
configurebootstrap 选项。请只运行用于为 GCD 配置 JDBC 数据源、为对象存储库配置 JDBC 数据源以及配置 LDAP 提供程序的任务。
对于所有其他配置而言,可以对每个 Content Engine 服务器运行所有任务。
- 通过使用 configurejdbcgcd 选项,为全局配置数据 (GCD) 数据库配置 JDBC 数据源。
- 通过使用 configurejdbcos 选项,为单一对象存储库数据库配置 JDBC 数据源。
- 通过使用 configureldap 选项来配置 LDAP 提供程序。
(仅限于
Oracle WebLogic Server)使用
configureldap 选项来运行此任务时,
weblogic.security.providers.authentication.DefaultAuthenticator.ControlFlag
值将设置为 SUFFICIENT,以便认证用户。
- 通过使用 configureloginmodules 选项来配置登录模块。
要以每次运行一个文件的方式来运行配置 XML 文件,请完成下列步骤:
- 将当前目录切换到 ce_install_path/tools/configure,其中 ce_install_path 是 Content Engine 的安装位置。
- 运行您需要完成的任务的相应命令。在输入命令时,请勿换行。
- 通过一个 configurejdbcos 任务来运行某个概要文件中的 configurejdbcos.xml 文件:
configmgr_cl execute -task configurejdbcos -profile myprofile
- 通过多个 configurejdbcos 任务来运行某个概要文件中的 configurejdbc.2.xml 文件:
configmgr_cl execute -taskfile task_file_name
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_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"。
切记: 您为 configurejdbcgcd 任务输入的值用于全局配置数据 (GCD)
数据源。在安装过程的稍后阶段,您必须为每个对象存储库编辑并运行一次 configurejdbcos 任务。
- 如果 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 提供程序的任务。对附加的服务器运行任务时,请不要使用 configurebootstrap 选项。
- 根据需要重复此过程以便运行另外某个配置 XML 文件,直到对此服务器运行了全部四个必需任务的文件为止。
系统将显示任务执行状态消息。