Content Platform Engine, V 5.2.1              

同时生成所有配置 XML 文件

可以从命令行通过单一命令同时生成 Content Platform Engine 所需的所有配置 XML 文件。

关于此任务

运行 generateconfig 命令时,将创建所有必需的配置 XML 文件。

过程

要同时生成所有配置 XML 文件,请执行下列操作:

  1. config_mgr_user(即,运行 Configuration Manager 的用户)身份登录到 Content Platform Engine 服务器。
  2. 将当前目录切换到 ce_install_path/tools/configure,其中 ce_install_pathContent Platform Engine 软件的安装位置。
  3. 运行以下命令。在输入命令时,请不要换行。
    WebSphere® Application Server
    configmgr_cl generateconfig -appserver app_server_type
     -license license_type
     -repositorytype ldap_repository_type
     -db db_type -ldap ldap_type
     -bootstrap bootstrap_operation
     -deploy deploy_type -profile myprofile
    Oracle WebLogic Server
    configmgr_cl generateconfig -appserver app_server_type
     -license license_type
     -db db_type -ldap ldap_type
     -bootstrap bootstrap_operation
     -deploy deploy_type -profile myprofile
    JBoss Application Server
    configmgr_cl generateconfig -appserver app_server_type
     -appserverVersion app_server_version
     -license license_type
     -db db_type -ldap ldap_type
     -bootstrap bootstrap_operation
     -deploy deploy_type -profile myprofile

    其中:

    -appserver appserver_name
    -appserver appserver_type 参数指定应用程序服务器的类型,并且必须是 WebSphereJBossWebLogic
    -appserverVersion appserverVersion
    (仅适用于 JBoss Application Server-appserverVersion appserverVersion 参数指定 JBoss Application Server 版本。有效值为 5.x_EAP5.x_AS
    -license license_type
    -license license_type 参数指定许可证的类型,并且必须是 UVU"PVU Production""PVU Non-Production"。请注意,如果参数值中包含嵌入空白,那么必须用双引号 (") 将该值定界。
    -repositorytype ldap_repository_type
    (仅限于 WebSphere Application Server-repositorytype ldap_repository_type 参数指定要使用的 LDAP 存储库的类型,并且必须是 standalonefederated
    -db database_type
    只有在同时生成所有文件或者使用 configurejdbcgcd 选项或 configurejdbcos 选项来生成单一文件时,-db database_type 参数才是必需的。此参数指定 Content Platform Engine 要使用的数据库的类型,并且必须是 mssqloracleoracle_racdb2db2zosdb2pshadr
    -ldap ldap_type
    只有在同时生成所有文件或者使用 configureldap 选项来生成单一文件时,-ldap ldap_type 参数才是必需的。此参数指定 Content Platform Engine 用于认证用户的目录服务存储库的类型,并且必须是 activedirectoryadamcaedirectoryoidoracledirectorysetivoliadam 值既适用于 Microsoft ADAM 也适用于 AD LDS。
    -bootstrap bootstrap_operation
    只有在同时生成所有文件或者使用 configurebootstrap 选项来生成单一文件时,-bootstrap bootstrap_operation 参数才是必需的。此参数指定概要文件的引导程序和文本抽取操作,并且必须是 newmodifyupgrade
    -deploy deploy_type
    只有在同时生成所有文件或者使用 deployapplication 选项来生成单一文件时,-deploy deploy_type 参数才是必需的。此参数指定 Content Platform Engine 部署类型。值必须是 standardclusternetdeploy(网络部署)。

    如果您正在将 Content Platform Engine 部署到独立 WebSphere Application ServerJBoss Application ServerOracle WebLogic Server(即,既不是受管服务器,也不是集群式服务器),请指定 standard

    如果您正在将 Content Platform Engine 部署到 WebSphere Application ServerJBoss Application ServerOracle WebLogic Server 集群,请指定 cluster

    如果您正在将 Content Platform Engine 部署到受管 WebSphere Application Server 实例,请指定 netdeploy。即,您正在使用 Network Deployment 来管理各个未包含在集群中的服务器。

    -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"

示例

例如,以下命令生成新安装概要文件的所有配置 XML 文件,以便在带有 IBM® Tivoli® Directory ServerWebSphere 上执行标准部署。此部署使用 ce_install_path/tools/configure/profiles/wstdb2 目录中的独立 LDAP 存储库和 DB2®):

configmgr_cl generateconfig -appserver WebSphere
 -license "PVU Production"
 -repositorytype standalone -db db2 -ldap tivoli
 -bootstrap new -deploy standard -profile wstdb2


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

© Copyright IBM Corporation 2013, 2016.