Shiva's Blog

High Availability (HA) Clusters

High Availability (HA) Clusters

What is a High Availability cluster?

A cluster is simply a group of servers providing some kind of services. When these servers are grouped in a single group to then these group as a single is known as a cluster. These clusters share the same database, or storage network address. Depending upon the application or the service provided all the computers in the cluster can function same or the same task is assigned to all of the nodes with in the function.

High Availability clusters are the clusters with the function of high availability or less down time. These clusters are designed to share work load between the nodes with in the cluster, when a single node fails or is unable to process the request, the task is automatically assigned to another node with in the cluster, hence the service is always available.

The High availability clusters also uses the load balancers to ensure the availability of the services and distribute the load to the cluster nodes. In a real environment a virtual IP is used facing external where all the request lands, where the virtual server with the public IP or the virtual IP performs the load balancing, deciding where the traffic should go.

There can be multiple types and multiple layers of load balancers used in an organization depending upon the application uses, and requirements. These load balancers use Redundancy protocol, such as Common Address Redundancy protocol (CARP), that enables the active node to respond to the requests. These protocol also uses heartbeat mechanism to allow failover to the passive node if the active one should fail.

Types of High Availability Clusters:

The nodes in active passive clustering remains in active towards the external request or providing service but that doesn’t mean they remain completely passive as powered off nodes. Nodes in the passive cluster are as a backup resource or a backup cluster hence they will be actively participating internally to backup the resources and should have the data that the active nodes have, and if requires they can provide full functionality as active cluster if the active cluster failed. The backup of the resource depends upon the requirement of the application and the organization. The passive clusters are mostly used as Disaster recover cluster and reside in different geographical regions.