AnsweredAssumed Answered

Updating Activiti in clustered environment

Question asked by tygerc on Oct 27, 2015
Latest reply on Oct 28, 2015 by jbarrez
Hi,

We have a cluster of two servers, both running Servimix with Activiti and using the same database. Both Activitis are running job executors and everything works nicely.

We also have another app that interacts with the Servicemix, also one on both servers (users use it with a browser). Then there is a loadbalancer and some other stuff that routes the traffic to one or the other server.

We are currently using Servicemix 5.2.0 with Activiti 5.16.4 and in the process of updating to Servicemix 6.0.0 with Activiti 5.17.0.

Now, when we update this in production, it would be really nice to be able to route all traffic to the server 2 and update server 1 (no downtime of the service to users). But the problem is that the Activitis both execute tasks and for awhile we'll have different versions of components (and possibly the process definion) running on those different servers.

So the question is: is it possible to isolate the execution to be inside one server only? Or do we have to stop serving requests for the duration of the update?

Outcomes