IBM Enterprise Records, 版本 5.1.+              

generateConfig 命令

generateConfig 命令为指定的配置概要文件生成配置 XML 文件。 该命令名不区分大小写。

generateConfig 命令语法

以下语法包括换行符,用于将命令设置为方便阅读的格式。 请将命令和选项输入在一行上,不要使用任何换行符。

configmgr_cl generateconfig -appserver app_server_type
-profiletype profile_type
-profile path_myprofile_directory [-deploymenttype 
ier_websphere_deployment] [-aextdeploymenttype 
-aext_websphere-deployment] [-silent] [-help] [-debug]

generateConfig 命令参数

-appserver app_server_type
-appserver app_server_type 参数指定应用程序服务器的类型,并且该参数必须是 websphereweblogicjboss。此参数仅适用于 webapplication_deployment 概要文件类型。在其他概要文件类型中,将忽略此参数。
-profiletype profile_type_profile
-profiletype profile_type_profile 参数指定要使用的概要文件。profile_type_profile 值必须是下列其中一项:
  • webapplication_deployment - Web 应用程序概要文件。
  • objectstore_configuration - 对象库配置概要文件。
  • objectstore_upgrade - 升级配置概要文件。
-profile path_myprofile_directory
-profile path_myprofile_directory 参数指定要创建的概要文件的目录路径。您可以指定完整路径,例如 C:\Program Files\IBM\EnterpriseRecords\configure\profiles\WASWebApplicationDeploymentFile,也可以指定以 ier_install_path/configure/profiles 开始的相对路径,例如 WASWebApplicationDeploymentFile。如果路径包括空格,请使用双引号将该路径引起来。
-deploymenttype ier_websphere_deployment
-deploymenttype ier_websphere_deployment 参数指定 IBM® Enterprise RecordsWebSphere® 上的部署类型。有效值必须为 standardclusternetwork。此参数仅适用于 webapplication_deployment 概要文件类型,在此情况下,–appserver 设置为 websphere。在其他情况下,将忽略此参数。如果未指定此参数,那么它将缺省为 standard。
-aextdeploymenttype aext_websphere_deployment
-aextdeploymenttype aext_websphere_deployment 参数指定 Application EngineWorkplace XTWebSphere 上的部署类型。有效值必须为 standardclusternetwork。此参数仅适用于 webapplication_deployment 概要文件类型,在此情况下,–appserver 设置为 websphere。在其他情况下,将忽略此参数。如果未指定此参数,它将缺省为 standard。
-debug
-debug 参数启用针对命令的日志记录。
限制: 安装 HP-UX 时不支持此参数。
-silent
-silent 参数意味着在该命令运行期间没有任何输出。
-help
-help 显示命令帮助。

generateconfig 命令示例

以下示例包括换行符,用于将命令设置为方便阅读的格式。 请将命令和选项输入在一行上,不要使用任何换行符。

显示 generateconfig 命令的帮助。
以下命令显示 generateconfig 命令的帮助:
configmgr_cl.exe generateconfig -help
WebSphere 上生成 Web 应用程序部署。
以下命令将在 C:\Program Files\IBM\EnterpriseRecords\configure\profiles\ 目录中生成 WSWebApplicationDeploymentFile 文件,作为用于在 WebSphere 上进行部署的新 Web 应用程序概要文件:
configmgr_cl.exe generateConfig -appserver websphere 
-profiletype webapplication_deployment -profile 
"C:\Program Files\IBM\EnterpriseRecords\configure
\profiles\WSWebApplicationDeploymentFile"
WebSphere 集群环境中生成 Web 应用程序部署。
以下命令将在 C:\Program Files\IBM\EnterpriseRecords\configure\profiles\ 目录中生成 WSWebApplicationDeploymentFile 文件,作为用于在 WebSphere 集群环境上进行部署的新 Web 应用程序概要文件:
configmgr_cl.exe generateConfig -appserver websphere 
-profiletype webapplication_deployment -deploymenttype cluster 
-aextdeploymenttype cluster -profile "C:\Program Files\
IBM\EnterpriseRecords\configure\profiles
\WSWebApplicationDeploymentFile"
生成对象库配置概要文件。
以下命令将在 C:\Program Files\IBM\EnterpriseRecords\configure\profiles\ 目录中生成 ObjectStoreConfigurationProfile 文件,作为新的对象库概要文件:
configmgr_cl.exe generateConfig -profiletype 
objectstore_configuration -profile 
"C:\Program Files\IBM\EnterpriseRecords\configure\
profiles\ObjectStoreConfigurationProfile"


反馈

最近一次更新时间: 2011 年 8 月


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