...
Configure the datasource properties files in the shared directory
- 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.
- 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.
- 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
- 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.
- 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+
- 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
...