我如何在集群环境下进行零停机部署? [英] How can i do zero down time deployment on cluster environment?

查看:349
本文介绍了我如何在集群环境下进行零停机部署?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在我的系统上部署一个主要的部署(更多的是15个ear文件),我的系统是高可用系统,那么如何在零停机的时候做这个部署?
我的应用服务器是IBM-WAS

解决方案

更新应用程序后,您可以使用 展开更新 功能。您可以使用此功能,而不是在更新后保存和同步节点,而是自动执行以下任务,以使更改能够在维护高可用性的同时传播到所有部署目标(假设您有一个水平集群,使得集群成员存在于多个节点):


  1. 将会话更改保存到主配置

  2. 对于集群中的每个节点


    1. 停止节点上的集群成员

    2. 同步节点

    3. 启动应用程序服务器(自动启动应用程序)




I need to deploy a major deployment on my system (more that 15 ear file ) , my system is high available system , So how can I do this deployment with zero downtime ? my application server is IBM-WAS

解决方案

After updating the applications, you can utilize the "Rollout Update" feature. Rather than saving and synchronizing the nodes after updating, you can use this feature which automatically performs the following tasks to enable the changes to propagate to all deployment targets while maintaining high availability (assuming you have a horizontal cluster, such that cluster members exist on multiple nodes):

  1. Save session changes to the master configuration
  2. For each node in the cluster (one at a time, to enable continuous availability):

    1. Stop the cluster members on the node
    2. Synchronize the node
    3. Start the application servers (which automatically starts the application)

这篇关于我如何在集群环境下进行零停机部署?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆