Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This guide describes the steps required to setup Joget Workflow LEE clustering. The exact steps will depend on the actual products used in each layer.

 


Warning
IMPORTANT: Please note that there is minimal configuration required in Joget Workflow LEE itself, and almost all the work is done on the separate layers so it is vital to ensure that you have sufficient expertise in your chosen products.

...

Load balancer (hardware or software) to be installed and configured to direct traffic for requests beginning with /jw to the application servers. Verify that the load balancer has been installed and configured correctly so that web traffic is directed to the individual application servers. 


Joget Workflow Clustering Configuration

...

Code Block
workflowDriver=com.mysql.jdbc.DriverworkflowUrlDriver
workflowUrl=jdbc\:mysql\://host\:port/database_name?characterEncoding\=UTF-8
workflowUser=username
profileName=
workflowPassword=password

...

  1. Deploy the WAR files jw.war and jwdesigner.war from the LEE bundle to each of the application servers, e.g. for Apache Tomcat, copy the files into the tomcat webapps directory
  2. Add a Java -wflow.home=shared_directory_path option in the application server startup e.g. for Apache Tomcat, modify the JAVA_OPTS line

...

Once the pre-deployment and clustering configuration has been done, the testing is a matter of using a web browser to access the load balancer. 


Sample Installation and Configuration

 


This sample describes an installation using the following products:

Joget Workflow

Joget Workflow v5 LEE

Load Balancer

Apache HTTP Web Server 2.4 with mod_proxy and mod_balancer (proxy and load balancing modules) running on Ubuntu 14.04

Application Servers

Apache Tomcat 8.0 running on Ubuntu 14.04

Shared File Directory

NFS on Ubuntu 14.04

Shared Database

MySQL 5.5 on Ubuntu 14.04

Warning
IMPORTANT: Please note that this is not a comprehensive guide and does not cover production-level requirements e.g. user permissions, network and database security, etc. Please ensure that these are covered by your system, network and database administrators.

...

Code Block
sudo exportfs -ra
sudo service nfs-kernel-server restart 

...


Mount the Shared Directory in the Application Servers

...

Open a web browser and access each server to confirm that http://server:8080/jw 

 



Configure Application Server Session Replication

...

More information on Tomcat clustering is at http://tomcat.apache.org/tomcat-8.0-doc/cluster-howto.html

 


Configure Load Balancer

In the load balancer server, install Apache HTTP Server 

...

Deploy and configure Joget Workflow LEE as described earlier in 2.2 Joget Clustering Configuration