Versions Compared

Key

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

...

Configure the datasource properties files in the shared directory

  1. Copy all the files app_datasource.properties and app_datasource-default.properties and directories from the wflow directory of a standard Joget installation LEE bundle into the shared file directory.
  2. Edit app_datasource-default.properties and set the database connection settings for the shared database, e.g. for MySQL, change the bold values below:

...

Deploy Joget WAR files to the application servers and configure the startup properties to point to the shared directory.

  1. Deploy the WAR files file 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 the following Java options in the application server startup e.g. for Apache Tomcat, modify the JAVA_OPTS line

Code Block
export JAVA_OPTS="-XX:MaxPermSize=128m -Xmx1024M -Dwflow.home=/shared_directory_path -javaagent:/shared_directory_path/wflow-cluster.jar -javaagent:/path_to/lib/aspectjweaver-1.8.5.jar -javaagent:/shared_directory_path/wflow/glowroot/glowroot.jar"

License Activation

Activate license for each server. Each server has a unique system key and requires a separate license activation.

  1. For each of the application servers, use the browser to directly access the Joget web console bypassing the load balancer e.g. {+}http://server1:8080/jw/web/console/home+
  2. Request for license and activate it using the link in the web console footer.

...

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


Configure Load Balancer

In the load balancer server, install Apache HTTP Server 

...