3422 Old Capitol Trail – Suite 1125, Wilmington – DE 19808, United States

How to configure load balancing in Thinfinity Remote Desktop Server

In this article, we will briefly describe how to configure Thinfinity Remote Desktop’s components to work in a Load Balancing environment.

To guarantee that the load balancing configuration will perform properly, the main configuration items we have to look at are:

  • The Network ID.
  • IP Bindings (in the Gateway Manager).
  • The Gateway URL (in the Broker Server).

 

The Network ID

The ‘Network ID’ must be the same across all gateway(s) and broker(s) components.

You can modify the Network ID to any value, it doesn’t follow a specific format.

In the Gateway Manager we will find two different tabs: General and Internal Broker Server.

In the General tab, we will configure the port and bindings for the user’s (browser client) to reach Thinfinity Remote Desktop Server. For instance ‘https://Server_IP:8443’ based on the settings below:

Thinfinity Remote Desktop Gateway Manager

 

IP Bindings

The Gateway and Broker components communicate over a different port. This is configured in the Internal Broker Server tab:

By default, the IP Binding will be ‘127.0.0.1’. When working with load balancing you should set the IP Binding to ‘All unassigned’ or select the internal IP of the server. Otherwise, the Broker Server won’t be able to reach the Gateway Server.

We strongly recommend adding all the Broker Servers IP addresses in the ‘Authorized IP Addresses’ box.

 

The Gateway URL (in the Broker Server)

Now that the Gateway is configured all we need to do is add the Gateway URLs in the Broker Server Manager:

Thinfinity Remote Desktop Manager

As explained before, you will have to add the URL referencing the port in the Internal Broker Server tab. Keep in mind the communication between the Gateway Server and Broker Server is not encrypted, so you have to use ‘HTTP’ in the URL (e.g. http://192.168.0.1:26880).

It is important to mention that when you have one server acting as gateway and broker, Thinfinity Remote Desktop Server will automatically set the right localhost address. Do not modify this setting and do not add a second URL referencing this server.

To verify if the Broker Servers are connected to the Gateway Servers you can check the log file ‘Thinfinity.RemoteDesktop.Server.log’ located in:

‘C:\ProgramData\Cybele Software\Thinfinity\Remote Desktop Server’

It should say something like:

2017-11-14 17:22:56 Connecting to http://192.168.0.1:26880/
2017-11-14 17:22:56 Registered on http://192.168.0.1:26880/

There are a few things to take into account when using load balancing:
All the Broker Servers have to share the same profiles. To do so, you can copy the database file ‘rdp_profiles.bin’ and distribute it in all the servers, you will find this in:

C:\ProgramData\Cybele Software\Thinfinity\Remote Desktop Server\DB

You can also share the database path so all the Broker Servers read the same database:

Thinfinity Remote Desktop Manager Access Profiles

If you are using One Time URL, you must share the ‘Root Path’ for Temporary Folders. This will also ensure the users have consistency with their intermediate disk (ThinDisk) when they access to files from the file manager or upload/download files:

Thinfinity Remote Desktop Server Manager Folders

Finally, you must share the license between the Broker Servers. In order to do so, register one of the Broker Servers using the License Manager. This will generate a file called ‘Thinfinity.RemoteDesktop.License.key’ in ‘C:\ProgramData\Cybele Software\Thinfinity\Remote Desktop Server’ and copy it to all other Broker Servers in the same folder.

If you have any question regarding this blog entry, you can leave a comment below or sends us an email to support@cybelesoft.com

Cheers!

Related Posts

Leave a comment