Reference Guide

Achieve high availability for Teradici devices
Wyse Management Suite uses the HAProxy hosted on the Ubuntu server 16.04.1 LTS to perform load balancing between the
EMSDK servers. HAProxy is a load balancer proxy that can also provide high availability based on how it is configured. It is a
popular open source software for TCP/HTTP Load Balancer, and proxy solution which runs on Linux operating system. The most
common use is to improve the performance and reliability of a server environment by distributing the workload across multiple
servers.
About this task
The following points explains how to achieve high availability for Teradici devices using HAProxy on Linux operating system:
There will be only one instance of Teradici server as part of high availability with Wyse Management Suite.
Teradici device support requires installation of EMSDK. EMSDK is a software component provided by Teradici that is
integrated into Wyse Management Suite. Wyse Management Suite Installer installs EMSDK can be installed on Wyse
Management Suite server or on a separate server. You need minimum of two instances of EMSDK to support more than
5000 devices, and all EMSDK servers should be on remote servers.
Only one instance of EMSDK can be installer per server.
Teradici Device support requires a PRO license.
High availability of Teradici will be provided through HAProxy.
If Teradici server goes down, device will reconnect automatically to the next available EMSDK server.
Install and configure HAProxy
About this task
HAProxy which is the load balancer for ThreadX 5x devices is configured on Ubuntu Linux version 16.04.1 with HAproxy version
1.6.
Do the following to install and configure HAProxy on Ubuntu Linux system:
1. Log in to Ubuntu system using the user credentials used during the installation of Ubuntu operating system.
2. Run the following commands to install HAProxy
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:vbernat/haproxy-1.6
sudo apt-get update
sudo apt-get install haproxy
3. Run the following command to take backup of the original configuration:
sudo cp /etc/haproxy/haproxy.cfg /etc/haproxy/ haproxy.cfg.original
4. Edit the HAProxy configuration file in a suitable text editor by running the following commands:
sudo nano /etc/haproxy/haproxy.cfg
Add the following entries in the configuration file:
Global section: Maxconn <maximum number of connections>
Frontend tcp-in: bind :5172
Back end servers: server :5172
maxconn <maximum number of connections per Teradici device proxy server>
7
66 Achieve high availability for Teradici devices