IBM Enterprise Records, 版本 5.1.+              

生成 Web 应用程序部署概要文件的配置 XML

通过命令行,您可使用单一命令生成 IBM® Enterprise Records Web 应用程序部署概要文件的所需配置 XML 文件。

当您运行 generateConfig 命令时,将创建用于单一应用程序服务器或高可用安装的 Web 应用程序部署概要文件的所需配置 XML 文件。

要生成 Web 应用程序部署概要文件的配置 XML 文件,请完成下列步骤:

  1. 以具有 Configuration Manager 运行许可权的用户身份登录 IBM Enterprise Records 服务器。打开命令窗口。
  2. 将当前目录切换到 ier_install_path/configure,其中 ier_install_pathIBM Enterprise Records 软件的安装位置。
  3. 根据您所在的环境的不同,运行下列其中一个命令。在输入命令时,请勿换行。有关 generateConfig 命令的更多信息,请参阅本主题末尾的链接。
    生成 Web 应用程序部署概要文件。
    对于 Windows,以下命令将在 ier_install_Path\configure\profiles\ 目录中生成 WSWebApplicationDeploymentFile 文件,作为用于进行部署的新 Web 应用程序概要文件:
    configmgr_cl.exe generateConfig -appserver appserver_name 
    -profiletype webapplication_deployment -profile 
    "C:\Program Files\IBM\EnterpriseRecords\configure
    \profiles\WSWebApplicationDeploymentProfile"
    对于 UNIX,以下命令将在 ier_install_Path/configure/profiles/ 目录中生成 WSWebApplicationDeploymentFile 文件,作为用于进行部署的新 Web 应用程序概要文件:
    ./configmgr_cl generateConfig -appserver appserver_name
    -profiletype webapplication_deployment -deploymenttype cluster 
    -aextdeploymenttype cluster -profile "/opt/IBM/EnterpriseRecords
    /configure/profiles/WSWebApplicationDeploymentProfile"
    要点: 对于本命令行部分中的剩余内容,您仅需查看 Windows 示例。
    在集群环境上生成 Web 应用程序部署。
    对于 Windows,以下命令将在 ier_install_Path\configure\profiles\ 目录中生成 WSWebApplicationDeploymentFile 文件,作为用于在集群环境上进行部署的新 Web 应用程序概要文件:
    configmgr_cl.exe generateConfig -appserver appserver_name 
    -profiletype webapplication_deployment -deploymenttype cluster 
    -aextdeploymenttype cluster -profile "C:\Program Files\
    IBM\EnterpriseRecords\configure\profiles
    \WSWebApplicationDeploymentProfile"
    示例
    -appserver appserver_name 参数指定了应用程序服务器的类型,且该参数必须为 websphereweblogicjboss。有关其他参数的信息,请参阅本主题末尾的链接。
    切记: 如果此路径包含带有空格的目录名,请将整个路径用引号引起来。


反馈

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


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