Content Platform Engine, V 5.2.1              

execute 命令

execute 命令用于应用所指定配置任务的配置 XML 文件中的设置。命令名不区分大小写。

execute 命令语法

为了便于您阅读,以下命令语法分行显示。您在输入命令和选项时,请不要换行。

configmgr_cl execute [-task task_type | -taskfile task_file_name]
 -profile myprofile [-silent] [-force] [-help]

execute 命令参数

-task task_type
-task task_type 参数指示要运行的任务。如果要运行所有任务,或者指定了 -taskfile task_file_name 参数,那么可以省略 -task task_type 参数。task_type 的值不区分大小写。下表列示了有效的任务名、与其相关联的配置 XML 文件以及有关该任务所影响的 Content Platform Engine 设置的描述。
表 1. “任务文件名”的值
选项 要执行的配置文件 描述
省略

configurebootstrap.xml

configurepricingmodel.xml

configurejdbcgcd.xml

configurejdbcos.xml

configurejdbcos.n.xml

configureldap.xml

configureldap.n.xml

configureloginmodules.xml

deployapplication.xml

其中 n 是大于或等于 2 的整数

如果省略了 -task task_type 参数和 -taskfile task_file_name 参数,那么将运行路径中的所有配置文件。所有将 <configuration> 标记中的 enabled 属性值设为 false 的配置 XML 文件都将被跳过。
configurebootstrap

configurebootstrap.xml

在应用程序服务器上应用 Content Platform Engine 引导程序文本抽取的设置。创建全局配置数据库以及启动 Content Platform Engine 时,都需要引导程序信息。

configurepricingmodel

configurepricingmodel.xml

应用 IBM® FileNet® Content ManagerIBM Content FoundationIBM Case FoundationIBM Case Manager 的许可证选项。

configurejdbcgcd

configurejdbcgcd.xml

应用一些设置,以便配置与 Content Platform Engine 所使用的全局配置数据库 数据库的 JDBC 连接。

configurejdbcos

configurejdbcos.xml

configurejdbcos.n.xml,其中 n 是大于或等于 2 的整数

应用一些设置,以便配置与 Content Platform Engine 所使用的单一对象存储数据库的 JDBC 连接。您需要为数据库中的每个对象存储生成、编辑和应用 configurejdbcos 任务设置。

如果生成第二个对象存储 JDBC 配置文件,那么该文件将被命名为 configurejdbcos.2.xml。对于您生成的每个新文件,文件名都将递增。您可以根据需要编辑文件名。

如果概要文件包含多个 configurejdbcos 任务,那么必须指定 -taskfile task_file_name 参数以确定要运行的任务。

configureldap

configureldap.xml

configureldap.n.xml,其中 n 是大于或等于 2 的整数

配置与用于认证 Content Platform Engine 用户的目录服务器的连接。

(仅限于 WebSphere® Application ServerOracle WebLogic Server。)如果生成第二个 LDAP 配置文件,那么该文件将被命名为 configureldap.2.xml。对于您生成的每个新文件,文件名都将递增。您可以根据需要将文件重命名。

JBoss Application Server 不支持多个 LDAP 任务。

如果概要文件包含多个 configureldap 任务,那么必须指定 -taskfile task_file_name 参数以确定要运行的任务。

(仅限于 Oracle WebLogic Server)运行 configureldap 选项时,
weblogic.security.
providers.authentication.
DefaultAuthenticator.
ControlFlag
值会设为 SUFFICIENT 以认证用户。
configureloginmodules configureloginmodules.xml (仅限于 WebSphere Application Server JBoss Application Server。)为 Content Platform Engine 应用程序创建登录模块。
deployapplication deployapplication.xml 在应用程序服务器上部署 Content Platform Engine
-taskfile task_file_name
-taskfile task_file_name 参数指定要使用的配置 XML 文件。

对于指定的 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"
-silent
-silent 参数是可选的。如果指定了 -silent,那么将不会在控制台中显示任何提示或参考消息,但会将错误写入日志。故障消息和验证错误消息(例如关于遗漏密码或端口号无效的消息)将根据需要显示。如果您通过运行 execute 命令来运行概要文件中的所有任务,并且指定了 -silent 参数,那么还必须指定 -force 参数。
-force
-force 参数是可选的,并且只有在您使用了 -silent 参数时才适用。如果指定了 -force,那么任务的运行过程不会进行暂停以便要求您对验证错误消息(例如关于遗漏密码或端口号无效的消息)作出响应。
-help
-help 参数是可选的,它显示有关命令语法的简要消息,而不是运行该命令。

execute 命令示例

为了便于您阅读,以下命令语法分行显示。您在输入命令和选项时,请不要换行。

运行概要文件中的所有任务。
以下命令运行 wstdb2jdbc 概要文件中的所有任务,该概要文件在 ce_install_path/tools/configure/profiles/wstdb2jdbc 目录中。如果在此命令中指定了 -silent 参数,那么还必须指定 -force 参数。
 configmgr_cl execute -profile wstdb2jdbc
运行 configurepricingmodel(选择许可证)任务。
以下命令运行 ce_install_path/tools/configure/profiles/wstdb2jdbc 目录中的 configurepricingmodel 任务:
 configmgr_cl execute -task configurepricingmodel.xml -profile wstdb2jdbc
运行包含一个 configurejdbcos 任务的概要文件中的 configurejdbcos 任务。
以下命令运行 ce_install_path/tools/configure/profiles/wstdb2jdbc 目录中的 configurejdbc 任务:
 configmgr_cl execute -task configurejdbcos.xml -profile wstdb2jdbc
运行包含多个 configurejdbcos 任务的概要文件中的单一 configurejdbcos 任务:
以下命令运行 ce_install_path/tools/configure/profiles/wstdb2jdbc 目录中的 configurejdbcos.2.xml 任务文件:
 configmgr_cl execute -taskfile configurejdbc.2.xml -profile wstdb2jdbc
显示 execute 命令的帮助。
以下命令显示 execute 命令的帮助:
configmgr_cl execute -help


最近一次更新时间: 2016 年 3 月
p8pia033.htm

© Copyright IBM Corporation 2013, 2016.