Real-time file replication and application failover example with Microsoft Paint

How Evidian SafeKit implements simply real-time file replication and application failover?

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.

Installation instructions

Prerequisite: we suppose a laptop with the following minimum hardware and the installation with VMware Player of 2 Windows 2012 R2 VMs  as explained here.

The names of the 2 Windows 2012 R2 VMs are SERVER1 and SERVER2.

Download and install SafeKit (at least in SERVER1 and SERVER2:

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.

Other examples of Windows and Linux high availability modules

Mirror modules



Microsoft SQL ServerWindows module-
OracleWindows moduleLinux module
MySQLWindows moduleLinux module
PostgreSQLWindows moduleLinux module
FirebirdWindows moduleLinux module
Hyper-VWindows module-
Milestone XProtect (based on Microsoft SQL Server)Windows module-
Hanwha SSM (based on PostgreSQL)Windows module-
Generic moduleWindows moduleLinux module

Farm modules



IIS moduleWindows module-
Apache moduleWindows moduleLinux module
Generic moduleWindows moduleLinux module

All tutorials on the SafeKit high availability and load balancing software are available here.


Evidian SafeKit Pricing

White Papers


To receive Evidian news, please fill the following form.