FileNet P8 Content Engine, 版本 5.0.+              

checkstatus 命令

checkstatus 命令检查所指定配置任务的状态。命令名不区分大小写。

checkstatus 命令语法

为了便于您阅读,以下命令语法分行显示。您在输入命令和选项时,请勿换行。

configmgr_cl checkstatus [-task task_type | -taskfile task_file_name]
 -profile myprofile [-help]

checkstatus 命令参数

-task task_type
-task task_type 参数指定用于检查状态的任务。如果要检查所有任务,或者指定了 -taskfile task_file_name 参数,那么可以省略 -task task_type 参数。task_type 的值不区分大小写。下表列示了有效的任务名、与其相关联的配置 XML 文件以及有关该任务所影响的 Content Engine 设置的描述。
表 1. task_type 的值
选项 配置文件 描述
省略

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 参数,那么将显示概要文件中所有配置文件的状态。
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 ServerOracle WebLogic Server。)如果生成第二个 LDAP 配置文件,那么该文件将被命名为 configureldap.2.xml。对于您生成的每个新文件,文件名都将递增。您无法更改文件名,但可以编辑此文件中的任务名称值。

如果概要文件包含多个 ConfigureLDAP 任务,那么必须指定 -taskfile task_file_name 参数以确定要检查的任务。

configureloginmodules configureloginmodules.xml (仅限于 WebSphere Application ServerJBoss Application Server。)检查有关为 Content Engine 应用程序创建登录模块的状态。
deployapplication deployapplication.xml 检查有关在应用程序服务器上部署 Content Engine 应用程序的状态。
-taskfile task_file_name
-taskfile task_file_name 参数指定要使用的配置 XML 文件。

对于指定的 task_type,如果只存在一个任务文件,那么 -taskfile task_file_name 参数是可选的。

对于指定的 task_type,如果存在多个任务文件,那么必须指定 -taskfile task_file_name 参数。如果指定了 -taskfile task_file_name 参数,那么可以省略 -task task_type 参数。

-profile 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"
-help
-help 参数是可选的,它显示有关命令语法的简要消息,而不是运行该命令。

checkstatus 命令示例

为了便于您阅读,下列示例分行显示。您在输入命令和选项时,请勿换行。

检查只包含一个 configurejdbcos 任务文件的概要文件的状态。
以下命令检查 ce_install_path/tools/configure/profiles/wstdb2jdbc 目录中 configurejdbcos 任务的状态:
 configmgr_cl checkstatus -task configurejbcos -profile wstdb2jdbc
检查包含多个 configurejdbcos 任务文件的概要文件的状态。
以下命令检查 ce_install_path/tools/configure/profiles/wstdb2jdbc 目录中的 configurejdbcos.2.xml 任务文件的状态:
 configmgr_cl checkstatus -taskfile configurejdbcos.2.xml
 -profile wstdb2jdbc
检查有关创建登录模块的状态。
以下命令检查 ce_install_path/tools/configure/profiles/wstdb2jdbc 目录中 configureloginmodules 任务的状态:
 configmgr_cl checkstatus -task configureloginmodules
 -profile wstdb2jdbc
显示 checkstatus 命令的帮助。
以下命令显示 checkstatus 命令的帮助:
configmgr_cl checkstatus -help


反馈

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


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