Xperido Load balancing

XperiDo on-premises doesn’t offer a true load balanced environment (at the time of writing this article). The load balancing has to be configured in a different way due to the use of the H2 file based database or the Postgres database which need to be co-installed with the XperiDo Server in the more recent versions.

This can be easily fixed by introducing a 2nd or even a 3rd XperiDo server into the environment, but they don’t work together like a cluster, and the documents are generated and stored within the individual servers.

The easiest way around this is to have a load balancing solution on top of the XperiDo server farm and have it configured to point at each of the individual XperiDo nodes. Once the load balancing solution is configured (this could be either software based like Windows Load Balancer or hardware based like NetScaler or F5) you can then modify the XperiDo Connection settings within Dynamics CRM to point at the load balanced URL rather than an individual node.

After this is all configured, you can make calls to XperiDo using the load balanced URL. Once the processing is done, the relevant node will make a call back to CRM. (If you want to know more about synchronous versus asynchronous processing, read my previous blog).

2 important settings that require configuring is the “httpBaseDir” setting within XperiDo Administrator Console and the CRM to XperiDo Connection String (found under XperiDo Connection section of CRM).

You can follow the below steps to configure XperiDo setting.

Step 1: Open XBi Integrator Administrator Console.

Step 2: Expand “XperiDo” and the navigate to “httpBaseDir” variable.

Step 3: Expand “httpBaseDir” and modify its value.

This setting needs to be set with the individual node’s URL and should be configured within each node itself. This is the base URL that’s used to generate the document’s URL which is then passed back to CRM (if you are invoking the document generation process using the synchronous method or the interactive document generation wizard within CRM).

Step 4: Save the settings and reload the project settings from the root.

Step 5: Restart XperiDo server

Hope you found this article useful specially if you are using XperiDo On Premise version for Dynamics CRM. Stay tuned for more tips and tricks with XperiDo.