FileNet P8 Content Engine, 版本 5.0.+       应用程序服务器:  WebSphere Application Server     

每次生成一个配置 XML 文件 (WebSphere)

您可以从命令行以每次生成一个文件的方式生成 Content Engine 所需的每个配置 XML 文件。

必须为下列每个必需的配置任务生成配置 XML 文件:
  • 通过使用 configurebootstrap 选项,创建引导属性文件的 XML 文件。
  • 通过使用 configurejdbcgcd 选项,创建用于为全局配置数据 (GCD) 数据库配置 JDBC 数据源的 XML 文件。
  • 通过使用 configurejdbcos 选项,创建用于为单一对象存储库数据库配置 JDBC 数据源的 XML 文件。
  • 通过使用 configureldap 选项,创建用于配置 LDAP 提供程序的 XML 文件。
  • (仅限于 WebSphere® Application ServerJBoss Application Server)通过使用 configureloginmodules 选项,创建用于配置登录模块的 XML 文件。

要生成单一配置 XML 文件,请完成下列步骤:

  1. config_mgr_user(即,将运行 Configuration Manager 的用户)身份登录到应用程序服务器。
  2. 将当前目录切换到 ce_install_path/tools/configure
  3. 运行您需要完成的任务的相应命令。在输入命令时,请勿换行。
    (仅限于 WebSphere Application Server)为 configurebootstrap 任务生成 configurebootstrap.xml 文件:
    configmgr_cl generateconfig -appserver app_server_type
     -repositorytype ldap_repository_type
     -task configurebootstrap -bootstrap bootstrap_operation
     -profile myprofile
    为用于配置 GCD 数据源的 configurejdbcgcd 任务生成 configurejdbcgcd.xml 文件:
    configmgr_cl generateconfig -appserver app_server_type
     -repositorytype ldap_repository_type -db db_type
     -task configurejdbcgcd -profile myprofile
    configureldap 任务生成 configureldap.xml 文件:
    configmgr_cl generateconfig -appserver app_server_type
     -repositorytype  ldap_repository_type -ldap ldap_type
     -task configureldap -profile myprofile
    configureloginmodules 任务生成 configureloginmodules.xml 文件:
    configmgr_cl generateconfig -appserver app_server_type
     -repositorytype  ldap_repository_type -task configureloginmodules
     -profile myprofile
    其中:
    -appserver appserver_name
    -appserver appserver_type 指定应用程序服务器的类型,并且必须是 WebSphere。
    -repositorytype ldap_repository_type
    (仅限于 WebSphere Application Server-repositorytype ldap_repository_type 参数指定要使用的 LDAP 存储库的类型,并且必须是 standalonefederated
    -db database_type
    只有在使用 configurejdbcgcdconfigurejdbcos 选项来生成文件时,-db database_type 参数才是必需的。此参数指定 Content Engine 要使用的数据库的类型,并且必须是 mssqloracleoracle_racdb2db2zos
    -ldap ldap_type
    只有在同时生成所有文件或者使用 configureldap 选项来生成单一文件时,-ldap ldap_type 参数才是必需的。此参数指定 Content Engine 用于认证用户的目录服务存储库的类型,并且必须是 activedirectoryadamedirectoryoidsunjavativoliadam 值既适用于 Microsoft® ADAM 也适用于 AD LDS。
    -bootstrap bootstrap_operation
    只有在同时生成所有文件或者使用 configurebootstrap 选项来生成单一文件时,-bootstrap bootstrap_operation 参数才是必需的。此参数指定概要文件的引导操作,并且必须是 newmodifyupgrade
    - myprofile
    -profile myprofile 参数指定要使用的概要文件。myprofile 值可以是下列其中一项:
    • 概要文件的名称,例如 ce_was_tiv_db2。此概要文件必须位于 ce_install_path/tools/configure/profiles 目录中,其中 ce_install_pathContent 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"
  4. 根据需要重复此过程,以便生成所有必需的 XML 配置文件。


反馈

最近一次更新时间: 2010 年 11 月


© Copyright IBM Corporation 2010.
本信息中心基于 Eclipse 技术。(http://www.eclipse.org)