High Availability

This section explains how to achieve high availability (HA) in the License Manager. This post-installation task is optional but necessary if you want to avoid having a single point of failure in the production environment of Denodo.

When a Denodo component starts (e.g. a Virtual DataPort server, the Scheduler server…), it requests permission to the License Manager to run. To do this, the component sends an HTTP request to the License Manager with details about the host where the component is going to run (host name, IP address, number of cores, etc.). If approved, the component starts.

Periodically, each component sends a request to the License Manager to keep running. If for some reason, the License Manager does not respond (e.g. the host where the License Manager runs is down), there is a grace period of 5 days. During this period, the Denodo server still runs normally and it keeps trying to renew the license. After 5 days of the License Manager not responding, the component will shut down. Note that during the grace period, the component will still run. However, if you stop it, you will not be able to start it again because a Denodo component will only start if it reaches the License manager.

Diagram of high availability architecture with the License Manager

High availability architecture with the License Manager

In this architecture, the License Manager is the single point of failure so we recommend:

  1. Setting up a secondary License Manager in a different host.

  2. Making all the Denodo Platform servers to connect to the License Manager through a load balancer.

The License Manager supports the active-passive. This means that the load balancer has to be configured to redirect all the requests to the primary License Manager; and if the primary License Manager fails, to send the requests to the secondary License Manager.

To do this, follow these steps:


Your license must allow running two License Manager servers in active-passive HA configuration.

  1. Check that the clocks of the computers of the License Manager servers are in sync. On Windows, check that the option Synchronize your clock is enabled. On Linux, check that the Network Time Protocol (NTP) service is enabled.

    The clocks of these computers need to be in sync as much as possible. That is, both computers must be set to the same time and date. Otherwise, the Virtual DataPort servers may shutdown if the times are not aligned, or always be in “grace period”.

  2. Log in to the Solution Manager administration tool you just installed and configure it to use an external database. The section Setting-Up an External Database explains how to do this.

    This License Manager of this installation will be the primary License Manager.

  3. In another host, use the same installer to install the component Solution Manager. You do not need to install the Web Panel component, nor the Diagnostic and Monitoring Tool.

    This will be the secondary node for the License Manager.

    For this secondary installation, use the same license file you used for the primary Solution Manager.

  4. Log in to the Solution Manager administration tool of the secondary node and configure it to use the same external database as in step #1.

  5. In the secondary node, after configuring the external database, stop all the components, except the License Manager server. The Solution Manager is not meant to be used on a cluster, only the License Manager is.

  6. In the load balancer of your organization, configure the two License Managers on an active-passive configuration. By default, the License Manager runs on the port 10091.

    To detect if the primary License Manager server is up, send a GET request to https://<solution manager host>:10091/pingLicenseManager (see Ping to Solution Manager Server for more details). If the server is up and configured correctly, this endpoint returns the HTTP code 200. Otherwise, the request fails.

  7. Configure your existing Denodo Platform installations to point to the virtual host name defined for both License Managers, in the load balancer.


In the load balancer, only configure the License Manager server to work with high availability, not the Solution Manager server nor its administration tool. They are not designed to run on a cluster.

The section Updating Solution Manager with High Availability provides best practices regarding how to update a cluster of License Managers.

Add feedback