deployapplication.xml
文件包含用于部署 Content Platform Engine 应用程序的设置。您必须使用
generateConfig 命令来创建这个 XML 文件。
关于此任务
deployapplication.xml
文件是在您同时生成所有文件或者生成 deployapplication
任务时创建的。如果您同时生成所有文件,那么您已有
deployapplication.xml 文件,因此可以跳过本过程。
要生成 deployapplication.xml 文件,请执行下列操作:
过程
- 以 config_mgr_user(即,将运行 Configuration Manager 的用户)身份登录到应用程序服务器。
- 将当前目录切换到 ce_install_path/tools/configure,其中
ce_install_path 是 Content Platform Engine 的安装位置。
- 输入以下命令(请不要换行)以生成 deployapplication.xml 文件:
configmgr_cl generateconfig -appserver app_server_type -deploy deploy_type
-task deployapplication -profile myprofile
其中:
- -appserver appserver_name
- -appserver appserver_type 指定应用程序服务器的类型,并且必须是
WebSphere、JBoss 或 WebLogic。
- -deploy deploy_type
- 只有在同时生成所有文件或者使用 deployapplication
选项来生成单一文件时,-deploy deploy_type 参数才是必需的。此参数指定 Content Platform Engine 部署类型。值必须是 standard、cluster
或 netdeploy(网络部署)。
如果您正在将 Content Platform Engine 部署到独立 WebSphere® Application Server、JBoss Application Server 或 Oracle WebLogic Server(即,不是受管服务器或者集群式服务器),请指定 standard。
如果您正在将 Content Platform Engine 部署到 WebSphere Application Server、JBoss Application Server 或 Oracle WebLogic Server 集群,请指定 cluster。
如果您正在将 Content Platform Engine 部署到受管 WebSphere Application Server
实例,请指定 netdeploy。即,您正在使用 Network Deployment 来管理各个未包含在集群中的服务器。
- -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"。