Always On Availability Groups

An Always On Availability Group is set of separate SQL Server instances residing on different nodes in a cluster, which host replicas of the same databases. They ensure that the replicated databases are available at all times, even if the primary SQL Server instance fails.

One instance is designated as the primary, and all others are secondary instances. Read requests can be fulfilled by any of the instances, but all Update requests are fulfilled by the primary instance on its database only. Changes made to the primary instance are then propagated to all the secondary instances.

If the primary instance fails, a secondary instance assumes the primary role, taking over all Update requests on its database, and propagating new updates to the other secondary instances. When the failed instance has recovered it assumes the secondary role and synchronizes its databases with the others.

This takeover of responsibilities can be done automatically or manually, depending on the setup of the SQL Server instances in the Availability Group.

Uniface can work with an Availability Group just as it can with a regular MS SQL database, but you need to keep the following information in mind.