AnsweredAssumed Answered

Deploying Activiti on a cluster server with hot/hot set up

Question asked by dinesh.babu.p on Mar 16, 2016
Latest reply on Mar 29, 2016 by dinesh.babu.p
Hi,

We are using Activti (version: 5.17 ) for the workflow management in our application.
Our application uses DB2 database where Activiti tables are also created
We configured and deployed the BPMN files using Automatic Resource deplyment through ACTIVITI-SPRING configuration as shown below
bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"
      property name="dataSource" ref="dataSource" />
      property name="transactionManager" ref="transactionManager"
      property name="databaseSchemaUpdate" value="false"
      property name="asyncExecutorEnabled" value="true"
      property name="asyncExecutorActivate" value="true"
      property name="mailServerHost" value="${smtp.host}"
      property name="mailServerDefaultFrom" value="${Email.from}"
      property name="deploymentResources" value="classpath*:*.bpmn"
bean
Main components of our workflow involves the following Activiti components,
1. Service task
2. User task
3. Mail task
4. Exclusive gateway
5: Timer boundary event (2 timers attached on user task. one for triggering email and another for cancelling the task after certain time)

Please clarify our doubts listed below,

1. The server on which the application is deployed and running is a cluster with two server nodes, currently running hot/hot, is this type of setup going to cause issues with activiti?

2. How many Activiti Engines will be created during such deployments?

3. How to find the number of Activiti engine created (running active) after the deployment ?


Thanks & Regards
Dinesh

Outcomes