How the pieces fit together
Clients and the Management Tool never connect to an individual node. They connect to the cluster role’s name or IP address, and the cluster decides which node is serving it at any moment. Getting that address into the right field is the thread running through steps 6 to 9 below.Before you start
The deployment, step by step
Deploy the failover cluster
Add shared storage, if you need it
Install the Application Server on every node
Configure each Application Server instance
Create the Application Server role in the cluster
Install the Management Tool
Activate serial keys
Install Clients
1. Deploy the failover cluster
Install the Failover Clustering feature
Repeat this on every server that will be a cluster node.Open Add Roles and Features
Work through the wizard
Select Failover Clustering
Install
Validate the configuration
Open the Failover Cluster Manager
Start the validation wizard
Add every node
Run the tests
Read the results
Create the cluster
Do this once, on any one of the nodes.Start the Create Cluster wizard
Add the nodes
Name the cluster and give it an address
Create it
2. Add shared storage
This step is optional. If binary data from Clients needs to live on a standalone storage server, for example because of its volume, add shared storage to the cluster. One way is iSCSI with Microsoft Failover Clustering, which runs to four stages: install the iSCSI Target Server role on the storage server, create an iSCSI virtual disk, connect the disk to every cluster node, then add the disk to the cluster. See Shared storage high availability for the full procedure.3. Install the Application Server on each node
Install in two stages: the first instance, then every subsequent one.-
Binary data path. To store binary data in a shared folder, give the path as
\\<computer IP>\<folder path>or\\<computer name>\<folder path>. If you added shared storage to the cluster in step 2, give the shared storage path instead, for exampleD:\. - Master certificate. Back up the master certificate from the first instance only. You import it onto the other nodes in step 4. See Master certificate.
- Firewall. The Application Server executable needs to accept TCP connections on the ports listed in Network ports. These rules are added automatically if Windows Firewall is enabled during installation.
4. Configure the Application Server instances
Once the Application Server is installed on every node, configure the instances. The first node and the rest are configured differently.On the first instance
Stop the service
EkranServer service.Check the registry value
HKEY_LOCAL_MACHINE\SOFTWARE\EkranSystem key.
If there is no key UseLegacyHwid with the value 0 then create a new one using Select Edit > New > DWORD Value and add a value named..Start the service
EkranServer service.On every other instance
Stop the service
EkranServer service.Replace the master certificate
EkranMasterCertificate from the Windows certificate store, then import the one you backed up from the first instance. See Master certificate.5. Create the Application Server role
A cluster watches nodes, not services. Creating a Generic Service role for the Application Server means the cluster also watches the service itself, and fails over when the service stops even though its node is still up.Open Configure Role
Select Generic Service
Select the service
EkranServer.Define the client access point
Replicate the registry settings
SOFTWARE\EkranSystem.Finish
Set the failover thresholds
Open the role's properties
Set the thresholds
6. Verify failover
Test this before you put the deployment into service, not after.Move the role
Pick a destination node
Confirm the handover
7. Install the Management Tool
Install the Management Tool on a separate computer, following Install the Management Tool. On the Connection Settings page, in the Server address box, enter the name or IP address defined for the Application Server role in step 5, not the address of any individual node.8. Activate serial keys
Activate serial keys the usual way, as described in Activate a serial key. Two cluster-specific points:- Online activation needs an active internet connection from the cluster.
- Offline activation needs the unique identifier generated on the node that currently owns the Application Server role and is running the service. Generating it on a different node produces an identifier the license site will not match.
9. Install Clients
Install Clients following the procedure for each platform: Windows, macOS, or Linux. Wherever the procedure asks for the Server address, give the name or IP address defined for the Application Server role in step 5.What happens when a node fails
If the Application Server service on the owner node fails, or the node itself fails, the Failover Cluster Manager moves the role to the next available node and starts the service there. Data recorded through the failed node remains available, because every node works against the same database and the same binary storage. No manual recovery is required to restore service. Investigate the failed node afterwards and repair it so it can serve as a backup again.Update the Application Server in a cluster
An Application Server spread across cluster nodes is updated with the Windows Cluster-Aware Updating (CAU) feature, which updates clustered servers in turn while keeping the role available.Prerequisites
Failover Clustering Tools must be installed: on every node for self-updating mode, or on the Update Coordinator computer for remote-updating mode. Install them with Add Roles and Features, selecting Failover Clustering on the Select features page and clicking Add Features when prompted for the management tools. A Server Message Block (SMB) file share holds the new Application Server versions, and must be reachable from every node and from the Update Coordinator.Configure the SMB file share
Create the shared folder
Copy the CAU configuration file
DefaultHotfixConfig.xml into the shared folder. It is found at %systemroot%\System32\WindowsPowerShell\v1.0\Modules\ClusterAwareUpdating\ on the computer where the CAU tools are installed.Create the folder structure
CAUHotfix_All. Inside it, create a subfolder to hold the Application Server files:Edit the configuration file
DefaultHotfixConfig.xml, add a FolderRules section after DefaultRules. The Folder name parameter must match the subfolder you created inside CAUHotfix_All:Optionally enable SMB encryption
CAUHotfix_All and the Folder name value in DefaultHotfixConfig.xml are yours to choose, but they must be identical. The example above uses SytecaServer for both.Self-updating mode
Open Cluster-Aware Updating
Start the configuration wizard
Add the CAU clustered role
Set the schedule
Set the plug-in
Microsoft.HotfixPlugin, then click Next.Point CAU at the share
Apply