execute 命令用于应用所指定配置任务的配置 XML 文件中的设置。命令名不区分大小写。
为了便于您阅读,以下命令语法分行显示。您在输入命令和选项时,请勿换行。
configmgr_cl execute [-task task_type | -taskfile task_file_name] -profile myprofile [-silent] [-force] [-help]
选项 | 要执行的配置文件 | 描述 |
---|---|---|
省略 | configurebootstrap.xml configurebootstrap.n.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 configurebootstrap.n.xml,其中 n 是起始于 2 的整数 |
在应用程序服务器上应用 Content Engine 引导设置。在创建全局配置数据以及启动 Content Engine 时,都需要引导信息。 如果生成第二个引导配置文件,那么该文件将被命名为 configurebootstrap.2.xml。对于您生成的每个新文件,文件名都将递增。您无法更改文件名,但可以编辑此文件中的任务名称值。例如,您可能必须为新概要文件运行初始引导任务,然后运行另一个任务以便修改 EAR 文件以应用修订包。 如果概要文件包含多个 configurebootstrap 任务,那么必须指定 -taskfile task_file_name 参数以确定要运行的任务。 |
configurejdbcgcd | configurejdbcgcd.xml |
应用一些设置,以便配置与 Content Engine 所使用的全局配置数据 (GCD) 数据库的 JDBC 连接。 |
configurejdbcos | configurejdbcos.xml configurejdbcos.n.xml,其中 n 是起始于 2 的整数 |
应用一些设置,以便配置与 Content Engine 所使用的单一对象存储库数据库的 JDBC 连接。您需要为数据库中的每个对象存储库生成、编辑和应用 configurejdbcos 任务设置。 如果生成第二个对象存储库 JDBC 配置文件,那么该文件将被命名为 configurejdbcos.2.xml。对于您生成的每个新文件,文件名都将递增。您可以根据需要编辑文件名。 如果概要文件包含多个 configurejdbcos 任务,那么必须指定 -taskfile task_file_name 参数以确定要运行的任务。 |
configureldap | configureldap.xml configureldap.n.xml,其中 n 是起始于 2 的整数 |
配置与用于认证 Content Engine 用户的目录服务器的连接。 (仅限于 WebSphere® Application Server 或 Oracle WebLogic Server。)如果生成第二个 LDAP 配置文件,那么该文件将被命名为 configureldap.2.xml。对于您生成的每个新文件,文件名都将递增。您可以根据需要将文件重命名。 JBoss 不支持多个 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 Engine 应用程序创建登录模块。 |
deployapplication | deployapplication.xml | 在应用程序服务器上部署 Content Engine 应用程序。 |
registerem | registerem.xml | (仅限于 Windows®)在 Windows 注册表中注册或注销 Enterprise Manager。 |
对于指定的 task_type,如果只存在一个任务文件,那么 -taskfile task_file_name 参数是可选的。
对于指定的 task_type,如果存在多个任务文件,那么必须指定 -taskfile task_file_name 参数。如果指定了 -taskfile task_file_name 参数,那么可以省略 -task task_type 参数。
为了便于您阅读,下列示例分行显示。您在输入命令和选项时,请勿换行。
configmgr_cl execute -profile wstdb2jdbc
configmgr_cl execute -task configurejdbcos -profile wstdb2jdbc
configmgr_cl execute -taskfile configurejdbc.2.xml -profile wstdb2jdbc
configmgr_cl execute -help