Cluster Mechanism
Cluster Types
HyWorks can be deployed in the following cluster configurations:
-
Standalone: A single HyWorks node can host the management role, access role and database role for the smallest deployment.
-
Active-Passive Cluster with 2 Nodes: A two-node cluster with all the roles - management role, session role & database in active-passive mode. Database synchronization response mechanism between the active node and the passive node is handled by Accops HyWorks and no database clustering is needed.
-
Active-Active Cluster with self-managed database: A two or more node cluster with management & database roles in Active-Passive. The Session node role works in the Active-Active mode. Database synchronization between the active and passive nodes are handled by Accops HyWorks and no database clustering is needed.
-
Active-Active Cluster with database clustering: A two or more node cluster with management & database roles in Active-Passive. The Session node role works in Active-Active mode. A clustered database is to be setup externally and used with the HyWorks cluster.
HyWorks Cluster Active-Passive 2 Node Cluster
Active-Passive 2 Nodes HyWorks Controller cluster has the following mechanism:
-
Secondary HyWorks nodes will start syncing their databases with the Primary HyWorks Controller. Synchronization happens every 60 seconds so that the Secondary HyWorks Controller is always having latest details from the primary server.
-
The Secondary HyWorks Controller will stop it's active services i.e. broadcasting, communication with the Session Providers and accepting user logon requests
-
The Secondary HyWorks Controller will not accept the HyWorks Client's heartbeats and registration requests
-
When the HyWorks client connects to the Primary Controller server, the Controller server shares the host address of both controllers in a cluster
The HyWorks client will keep the details of the HyWorks Controller cluster and use in the following order:
-
Connect to the Primary HyWorks Controller -- All devices will eventually connect to the primary HyWorks Controller
-
Connect to the Secondary HyWorks Controller, if the primary HyWorks Controller is unavailable
HyWorks Controller Active-Active Cluster
Active-Active HyWorks Controller cluster has the following mechanism:
-
A minimum of 2 nodes are set up with the "Management Role". These two nodes will work like the Active-Passive cluster function.
-
If using a non-clustered Microsoft SQL server setup, then the HyWorks primary and secondary will start synchronizing the database on their own. The secondary initiates synchronization from the primary.
-
If using an external clustered database, then both the HyWorks nodes will start working with an external database without a synchronization function.
-
A "Session Role" needs to be configured on at least 1 node. Please note, with one session node, it may become the single point of failure and hence, for production deployment minimum two session nodes should be deployed.
-
If more than 1 Session Role nodes are configured, then an external load balancer is required to do load balancing for these nodes.
-
It is possible to use both Layer 3 and Layer 4 load balancing.
-
Load balancing functionality available in the Accops HySecure product can be used to load balance the HyWorks Session Nodes.
-
If neither (external load balancer or HySecure) is available, use the Microsoft NLB (Network Load Balancing) feature.
-
-
The Session Nodes are working on port 38866 and the same port needs to be load balanced at the load balancer level.
-
Endpoint devices running HyWorks client connect to the virtual IP address assigned at the load balancer level to talk to the Session Nodes. Endpoint devices do not communicate with the management nodes.
-
The SHD and DVM agents running on Shared Hosted Desktop VM and dedicated virtual desktops VM also communicate with the Session nodes via the virtual IP address provided by the load balancer.
-
The load balancer must provide a high availability of the virtual IP address set for the Session nodes.
Diagram: Active-Active cluster with multiple nodes & HyWorks managed database
Diagram: Active-Active cluster with multiple nodes & external clustered database
Advance Configurations
Advance configurations are available on the HyWorks Controller Management Console and can be accessed from Settings > General > Advance Settings.
- Clustering: All High Availability related configurations are available in the Clustering Group section.