cancel
Showing results for 
Search instead for 
Did you mean: 

Updating Activiti in clustered environment

tygerc
Champ in-the-making
Champ in-the-making
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?
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
I assume those Activiti servers will go to the same database? If so, the new one will execute upgrades to the schema. That doesn't sound safe to me to do that against a live system. I'd take the 'safe' route.