The goal of this article is to explain how to implement a Microsoft Paint cluster in two VMs. After the implementation, you will be able to run the following video with real-time file replication and automatic application failover on the example of Microsoft Paint.
For more information on the architecture, see File replication at byte level with failover: the mirror cluster.
The names of the 2 Windows 2012 R2 VMs are SERVER1 and SERVER2.
Download and install SafeKit (at least 188.8.131.52) in SERVER1 and SERVER2: www.evidian.com/products/high-availability-software-for-application-clustering/cluster-test-free-download/
Add firewall rules in the Microsoft firewall ruleset to allow the SafeKit processes to communicate with their peers in the cluster. Start a command line as Administrator :
If you followed the Windows 2012 installation procedure, Sysinternals Suite is installed at this step.
This package is required to start automatically Microsoft Paint from a script in a display (psexec command).
The display is defined by a session id that you can find in Task Manager.
For that, in Task Manager / Details / Right Click on columns / Select columns / check Session ID.
Then you will see for each process its session id.
In the demonstration, the session id is 1 and corresponds to the Administrator session.
At this step, you are ready to run the previous video with real-time file replication of a Microsoft Paint file. And with automatic application failover of Microsoft Paint.