High Availability Architectures and Best Practices

Evidian SafeKit

What are the high availability architectures and the best practices?

This article compares high availability architectures and gives best practices: software vs hardware clustering, shared nothing vs shared disk cluster, application vs virtual machine high availability, synchronous vs asynchronous replication, file vs disk replication, quorum, network load balancing.

Comparison tables on high availability architectures and best practices

Compare high availability architectures

Software clustering vs hardware clustering >

A software cluster with SafeKit installed on two servers

Like  A simple software cluster with the SafeKit package just installed on two servers

Hardware clustering with external shared storage

Dislike  Complex hardware clustering with external storage or network load balancers

Shared nothing vs a shared disk cluster >

SafeKit shared-nothing cluster: easy to deploy even in remote sites

Like  SafeKit is a shared-nothing cluster: easy to deploy even in remote sites

Shared disk cluster: complex to deploy

Dislike  A shared disk cluster is complex to deploy

Application High Availability vs Full Virtual Machine High Availability >

SafeKit application high availability supports hardware failure, software failure, human errors

Like  Application HA supports hardware failure and software failure with a quick recovery time (RTO around 1 mn or less).

Dislike  Application HA requires to define restart scripts per application and folders to replicate (SafeKit application modules).

Virtual machines high availability supports only hardware failure with an recovery time depending on the OS reboot

Dislike  Full virtual machines HA supports only hardware failure with a VM reboot and a recovery time depending on the OS reboot.

Like  No restart scripts to define with full virtual machines HA (SafeKit hyperv.safe or kvm.safe modules). Hypervisors are active/active with just multiple virtual machines.

High availability vs fault tolerance >

SafeKit high availability vs fault-tolerance

Like  No dedicated server with SafeKit. Each server can be the failover server of the other one.
Software failure with restart in another OS environment.
Smooth upgrade of application and OS possible server by server (version N and N+1 can coexist)

Fault tolerance system

Dislike  Secondary server dedicated to the execution of the same application synchronized at the instruction level.
Software exception on both servers at the same time.
Smooth upgrade not possible

Synchronous replication vs asynchronous replication >

SafeKit synchronous replication with no data in case of failure

Like  SafeKit implements real-time synchronous replication with no data loss in case of failure

Asynchronous replication with data loss on failure

Dislike  With asynchronous replication, there is data loss on failure

Byte-level file replication vs block-level disk replication >

SafeKit cluster with byte-level file replication: simply replicates directories even in the system disk

Like  SafeKit implements real-time byte-level file replication and is simply configured with application directories to replicate even in the system disk

Cluster with block-level disk replication: complex and require to put application data in a special disk

Dislike  Block-level disk replication is complex to configure and requires to put application data in a special disk

Heartbeat, failover and quorum to avoid 2 master nodes >

Simple quorum in a SafeKit cluster with a split brain checker configured on a router

Like  To avoid 2 masters, SafeKit proposes a simple split brain checker configured on a router

Complex quorum in other clusters: third machine, special quorum disk, remote hardware reset

Dislike  To avoid 2 masters, other clusters require a complex configuration with a third machine, a special quorum disk, a special interconnect

Virtual IP address
primary/secondary, network load balancing, failover >

No special network configuration in a SafeKit cluster

Like  No dedicated proxy servers and no special network configuration are required in a SafeKit cluster for virtual IP addresses

Special network configuration in other clusters

Dislike  Special network configuration is required in other clusters for virtual IP addresses. Note that SafeKit offers a health check adapted to load balancers

SafeKit Modules for Plug&Play High Availability Solutions

Demonstrations of SafeKit High Availability Software

SafeKit Webinar

This webinar presents in 10 minutes Evidian SafeKit.

In this webinar, you will understand:

  • mirror and farm clusters
  • cost savings against hardware clustering solutions
  • best use cases
  • the integration process for a new application

Microsoft SQL Server Cluster

This video shows a mirror module configuration with synchronous real-time replication and failover.

The file replication and the failover are configured for Microsoft SQL Server but it works in the same manner for other databases.

Free trial here

Apache Cluster

This video shows a farm module configuration with load balancing and failover.

The load balancing and the failover are configured for Apache but it works in the same manner for other web services.

Free trial here

Hyper-V Cluster

This video shows a Hyper-V cluster with full replications of virtual machines.

Virtual machines can run on both Hyper-V servers and they are restarted in case of failure.

Free trial here