IBM Enterprise Records V5.1.2   

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(jboss 仅适用于 webapplication_deployment 概要文件)中的一个。此参数仅适用于 webapplication_deployment 概要文件类型。在其他概要文件类型中,将忽略此参数。
-profiletype profile_type_profile
-profiletype profile_type_profile 参数指定要使用的概要文件。profile_type_profile 值必须是下列其中一项:
  • webapplication_deploymentIBM® Enterprise Records 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\ 目录中为新 Web 应用程序概要文件生成 WSWebApplicationDeploymentFile 目录以在 WebSphere 上部署:
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\ 目录中为新 Web 应用程序概要文件生成 WSWebApplicationDeploymentFile 目录以在 WebSphere 集群环境上部署:
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"
生成“用于升级的对象库配置”概要文件。
以下命令将在 C:\Program Files\IBM\EnterpriseRecords\configure\profiles\ 目录中为升级对象库概要文件生成 ObjectStoreUpgradeProfile 目录:
configmgr_cl.exe generateConfig -profiletype 
objectstore_upgrade -profile 
"C:\Program Files\IBM\EnterpriseRecords\configure\
profiles\ObjectStoreUpgradeProfile"


反馈

最近一次更新时间: 2013 年 11 月
frmcl006.htm

© Copyright IBM Corporation 2013