Web Farm Architecture
Overview
To allow higher availability and scalability, you can install WorkflowGen in a Web Farm architecture. The application is therefore installed on several servers, but the database and file storage directory are centralized on one dedicated server.
User requests are automatically routed to different servers depending on their load and availability. You can choose between different methods of load balancing such as DNS Round Robin or set up a hardware load balancer.
Configuration
Prerequisites
WorkflowGen on all web servers
File storage centralized in one location
Common
WebForms
folder for all web serversIdentical configuration on all WorkflowGen servers
File storage location
Apply the basic configuration explained in the Basic configuration section before modifying the WorkflowGen configuration.
Setting up a common WebForms folder
If you've configured multiple instances of WorkflowGen on different web servers in a Web Farm setup, you must share the same WebForms
folder for all servers. To do this:
Share your
WebForms
folder. This can be either your primary WorkflowGen site’s localWebForms
folder, or aWebForms
folder on a network file server.If you're using a network file server and you have content in your primary WorkflowGen site’s local
WebForms
folder, we suggest copying the content of this folder to the sharedWebForms
folder.Once you've shared the folder, copy the UNC path.
Do the following for each instance of WorkflowGen:
In IIS, navigate to the
WebForms
application folder.Right-click on the folder, then choose Manage Application / Advanced Settings.
Replace the physical path with the UNC path you copied in step 3.
Add the
<add key="ApplicationWebFormsPath" value="" />
parameter with the UNC path as the value to theweb.config
file.✏️ Note: This parameter is currently only used by the SOAP Web Service API to manage processes and requests with the built-in form designer enabled.
Ensure that the required permissions (modify, read and execute, list folder contents, read, write) are correctly applied to the shared
WebForms
folder for the IIS application pool used by theWebForms
application.
WorkflowGen configuration
Verify that all web servers have the same configuration for the WorkflowGen application and for all workflow applications. The \wfgen\web.config
files must be identical.
The WorkflowGen engine service is a Windows Service that is installed with WorkflowGen and should only be run from one web server. The other servers should only run this service as a backup if the main service fails to run.
Data and application backup is done in the same way except that it only affects the file server (for file type data) and one web server since they have identical configurations (with regards to the applications).
Last updated