generateconfig 命令用于生成所指定配置任务的配置 XML 文件。命令名不区分大小写。
为了便于您阅读,以下命令语法分行显示。您在输入命令和选项时,请勿换行。
configmgr_cl generateconfig -appserver app_server_type -repositorytype ldap_repository_type -db database_type -ldap ldap_type -bootstrap bootstrap_operation -deploy deploy_type -task task_type -taskname display_name -profile myprofile [-silent] [-force] [-help]
如果您正在将 Content Engine 部署到独立 WebSphere Application Server、Oracle WebLogic Server 或 JBoss Application Server(即,不是受管服务器或者集群服务器),请指定 standard。
如果您正在将 Content Engine 部署到 WebSphere Application Server、Oracle WebLogic Server 或 JBoss Application Server集群,请指定 cluster。
如果您正在将 Content Engine 部署到受管 WebSphere Application Server 实例,请指定 netdeploy。即,您正在使用 Network Deployment 来管理各个不一定包含在集群中的服务器。
选项 | 要生成的配置文件 | 描述 |
---|---|---|
省略 | applicationserver.xml configurebootstrap.xml configurejdbcgcd.xml configurejdbcos.xml configureldap.xml configureloginmodules.xml deployapplication.xml |
如果省略了 -task task_type 参数和 -taskfile task_file_name 参数,那么将创建概要文件的所有缺省配置文件。 |
configurebootstrap | applicationserver.xml configurebootstrap.xml configurebootstrap.n.xml,其中 n 是起始于 2 的整数 |
生成应用程序服务器属性文件和一个设置文件,该设置文件包含应用程序服务器上的 Content Engine 引导设置。在创建全局配置数据以及启动 Content Engine 时,都需要引导信息。 如果生成第二个引导配置文件,那么该文件将被命名为 configurebootstrap.2.xml。对于您生成的每个新文件,文件名都将递增。您无法更改文件名,但可以编辑此文件中的任务名称值。例如,您可能必须为新概要文件生成初始引导任务,然后生成第二个引导任务以便修改 EAR 文件以应用修订包。 如果该概要文件已包含 applicationserver.xml 文件,那么将保留现有文件。 |
configurejdbcgcd | applicationserver.xml configurejdbcgcd.xml |
生成应用程序服务器属性文件和一个设置文件,该设置文件用于配置与 Content Engine 所使用的全局配置数据 (GCD) 数据库的 JDBC 连接。 如果该概要文件已包含 applicationserver.xml 文件,那么将保留现有文件。 |
configurejdbcos | applicationserver.xml configurejdbcos.xml configurejdbcos.n.xml,其中 n 是起始于 2 的整数 |
生成应用程序服务器属性文件和一个设置文件,该设置文件用于配置与 Content Engine 所使用的单一对象存储库数据库的 JDBC 连接。您需要为数据库中的每个对象存储库生成、编辑和应用 configurejdbcos 任务设置。 如果生成第二个对象存储库 JDBC 配置文件,那么该文件将被命名为 configurejdbcos.2.xml。对于您生成的每个新文件,文件名都将递增。您无法更改文件名,但可以编辑此文件中的任务名称值。 如果该概要文件已包含 applicationserver.xml 文件,那么将保留现有文件。 |
configureldap | applicationserver.xml configureldap.xml configureldap.n.xml,其中 n 是起始于 2 的整数 |
生成应用程序服务器属性文件和一个设置文件,该设置文件用于配置与负责认证 Content Engine 用户的目录服务器的连接。 (仅限于 WebSphere Application Server 或 Oracle WebLogic Server。)如果生成第二个 LDAP 配置文件,那么该文件将被命名为 configureldap.2.xml。对于您生成的每个新文件,文件名都将递增。您无法更改文件名,但可以编辑此文件中的任务名称值。 JBoss 不支持多个 LDAP 任务。 如果该概要文件已包含 applicationserver.xml 文件,那么将保留现有文件。 |
configureloginmodules | applicationserver.xml configureloginmodules.xml |
(仅限于 WebSphere Application Server 或 JBoss Application Server。)生成应用程序服务器属性文件以及 Content Engine 应用程序的登录模块文件。 如果该概要文件已包含 applicationserver.xml 文件,那么将保留现有文件。 |
deployapplication | applicationserver.xml deployapplication.xml |
生成应用程序服务器属性文件和一个设置文件,该设置文件包含用于在应用程序服务器上部署 Content Engine 应用程序的设置。 如果该概要文件已包含 applicationserver.xml 文件,那么将保留现有文件。 |
registerem | registerem.xml | 生成用于在 Windows® 注册表中注册或注销 Enterprise Manager 的文件。 |
为了便于您阅读,下列示例分行显示。您在输入命令和选项时,请勿换行。
configmgr_cl generateconfig -appserver websphere -repositorytype standalone -db db2 -ldap tivoli -bootstrap new -deploy standard -profile wstdb2
configmgr_cl generateconfig -appserver websphere -repositorytype standalone -task configurejdbcos -profile wstdb2jdbc
configmgr_cl generateconfig -appserver websphere -repositorytype standalone -task configurejdbcos -taskname "Configure Object Store OS23 Data Sources" -profile wstdb2jdbc
configmgr_cl generateconfig -help