利用 IBM Workload Deployer CLI 自动化 WebSphere 应用程序部署-2
 
- UID
- 1066743
|
利用 IBM Workload Deployer CLI 自动化 WebSphere 应用程序部署-2
集成 1:从 Deployit 到 WebSphere CloudBurst为了完成集成,我们将上面两段脚本绑定到一个 Depoyit 插件中。(关于该插件的细节不属于本文的介绍范围。)为了说明如何使用此集成,以下是在将脚本结合到 Deployit 中时插件的外观:
- 从 Deployit UI(图 1)可以看到,您选择希望部署的应用程序工件和资源。在本例中为 PetClinic-ear 应用程序的 1.0 版。
- 选择您希望部署到的 WebSphere CloudBurst Appliance。
- 输入要部署的 WebSphere CloudBurst 模式和将它部署到的云小组的名称。 图 1. 在 Deployit 中选择要部署的应用程序工件
 - 按下 Deployit 中的 Deploy 按钮开始部署。
- Deployit 通过调用 WebSphere CloudBurst CLI 脚本 create-virtual-system.py 开始在 WebSphere CloudBurst 中部署模式(图 2)。 图 2. 将模式部署到 WebSphere CloudBurst 中
 - 当模式部署完成后,Deployit 读取关于新创建的虚拟系统和位于其上的中间件的信息。为此,Deployit 首先调用 WebSphere CloudBurst CLI 脚本 read-virtual-system.py,然后开始它的标准 WebSphere Application Server 发现过程以读取刚创建的 WebSphere Application Server 配置文件的拓扑。
- 最后,Deployit 将应用程序安装到它之上(图 3),使用现有的 Deployit 逻辑部署到 WebSphere Application Server 环境。 图 3. 使用 Deployit 安装应用程序

|
|
|
|
|
|