listtasks 命令
listtasks 命令显示配置概要文件中的任务和任务文件的列表。命令名不区分大小写。
listtasks 命令语法
configmgr_cl listtasks [-task task_type] -profile myprofile
[-help]
listtasks 命令参数
- -task task_type
- -task task_type 参数是可选的,它指定要列示的任务类型。task_type 的值不区分大小写。下表列示了有效的任务名、与其相关联的配置 XML 文件以及有关该任务所影响的 Content Platform Engine 设置的描述。
表 1. task_type 的值 选项 配置文件 描述 省略 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 参数,那么将列示概要文件的所有配置任务和相关联任务文件。
configurepricingmodel configurepricingmodel.xml
列示特定的任务,该任务用于选择 IBM® FileNet® Content Manager 或 IBM Content Foundation、IBM Case Foundation 和 IBM Case Manager 的许可证。
configurebootstrap configurebootstrap.xml
列出特定的任务,该任务用于在应用程序服务器上配置 Content Platform Engine 引导程序和文本抽取的设置。创建全局配置数据库以及启动 Content Platform Engine 时,都需要引导程序信息。 configurejdbcgcd configurejdbcgcd.xml
列出特定的任务,该任务用于配置与 Content Platform Engine 所使用全局配置数据库数据库的 JDBC 连接的设置。
configurejdbcos configurejdbcos.xml
configurejdbcos.n.xml,其中 n 是大于或等于 2 的整数
列示特定的任务,该任务用于配置与 Content Platform Engine 所使用的单一对象存储数据库的 JDBC 连接的设置。您必须为数据库中的每个对象存储生成、编辑和应用 configurejdbcos 任务设置。
如果生成第二个对象存储 JDBC 配置文件,那么该文件将被命名为 configurejdbcos.2.xml。对于您生成的每个新文件,文件名都将递增。
configureldap configureldap.xml
configureldap.n.xml,其中 n 是大于或等于 2 的整数
列示特定的任务,该任务用于配置与用于认证 Content Platform Engine 用户的目录服务器的连接。
(仅限于 WebSphere® Application Server 或 Oracle WebLogic Server)如果生成第二个 LDAP 配置文件,那么该文件将被命名为 configureldap.2.xml。对于您生成的每个新文件,文件名都将递增。
如果生成第二个 LDAP 配置文件,那么该文件将被命名为 configureldap.2.xml。对于您生成的每个新文件,文件名都将递增。您无法更改文件名,但可以编辑此文件中的任务名称值。
JBoss Application Server 不支持多个 LDAP 任务。
configureloginmodules configureloginmodules.xml (仅限于 WebSphere Application Server 或 JBoss Application Server。)列示用于为 Content Platform Engine 应用程序配置登录模块的任务。
deployapplication deployapplication.xml 列示用于在应用程序服务器上部署 Content Platform Engine 应用程序的任务。 - -profile myprofile
- -profile myprofile 参数指定要使用的概要文件。myprofile 值可以是下列其中一项:
- 概要文件的名称,例如 ce_was_tiv_db2。此概要文件必须位于 ce_install_path/tools/configure/profiles 目录中,其中 ce_install_path 是 Content 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"。 - -help
- -help 参数是可选的,它显示有关命令语法的简要消息,而不是运行该命令。
listtasks 命令示例
- 列示概要文件中的所有配置任务。
- 以下命令列示 ce_install_path/tools/configure/profiles/wstdb2 目录中 wstdb2 概要文件中的所有配置任务以及相关联的配置 XML 文件:
configmgr_cl listtasks -profile wstdb2
将显示类似于以下的消息:All tasks in profile wstdb2. The tasks will be executed in the positions indicated when executing all tasks: Task 1: Name: Choose Licenses Type: configurepricingmodel File: configurepricingmodel.xml Task 2: Name: Configure GCD JDBC Data Sources Type: configurejdbcgcd File: configurejdbcgcd.xml Task 3: Name: Configure Object Store JDBC Data Sources Type: configurejdbcos File: configurejdbcos.xml Task 4: Name: Configure Login Modules Type: configureloginmodules File: configureloginmodules.xml Task 5: Name: Configure LDAP Type: configureldap File: configureldap.xml Task 6: Name: Configure Bootstrap and Text Extraction Type: configurebootstrap File: configurebootstrap.xml Task 7: Name: Deploy Application Type: deployapplication File: deployapplication.xml
- 列示概要文件中的所有 configurejdbcos 任务。
- 以下命令列示 ce_install_path/tools/configure/profiles/wstdb2 目录中的 wstdb2 概要文件中对象存储任务的所有配置 JDBC 设置以及相关联配置 XML 文件:
configmgr_cl listtasks -task configurejdbcos -profile wstdb2
将显示类似于以下的消息:Tasks in profile wstdb2 of the task type configurejdbcos: Task name: Configure Object Store JDBC Data Sources File: configurejdbcos.xml
- 显示 listtasks 命令的帮助。
- 以下命令显示 listtasks 命令的帮助:
configmgr_cl listtasks -help