TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Microsoft Edge
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Skype for Business
See all products »
Resources
Channel 9 Video
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Windows Update
Trials
Windows Server 2016
System Center 2016
Windows 10 Enterprise
SQL Server 2016
See all trials »
Related Sites
Microsoft Download Center
Microsoft Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Expert-led, virtual classes
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
Microsoft Official Courses On-Demand
Certifications
Certification overview
Special offers
MCSE Cloud Platform and Infrastructure
MCSE: Mobility
MCSE: Data Management and Analytics
MCSE Productivity
Other resources
Microsoft Events
Exam Replay
Born To Learn blog
Find technical communities in your area
Azure training
Official Practice Tests
Support options
For business
For developers
For IT professionals
For technical support
Support offerings
More support
Microsoft Premier Online
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
Home
Library
Wiki
Learn
Gallery
Downloads
Support
Forums
Blogs
Resources For IT Professionals
United States (English)
Россия (Pусский)
中国(简体中文)
Brasil (Português)
Skip to locale bar
Post an article
Translate this page
Powered by
Microsoft® Translator
Wikis - Page Details
First published by
George Chrysovaladis Grammatikos
(MVP, Microsoft Community Contributor)
When:
10 Jan 2020 6:53 PM
Last revision by
George Chrysovaladis Grammatikos
(MVP, Microsoft Community Contributor)
When:
16 Jan 2020 8:05 AM
Revisions:
19
Comments:
17
Options
Subscribe to Article (RSS)
Share this
Engage!
Wiki Ninjas Blog
(
Announcements
)
Wiki Ninjas on Twitter
TechNet Wiki Discussion Forum
Can You Improve This Article?
Positively!
Click Sign In to add the tip, solution, correction or comment that will help other users.
Report inappropriate content using
these instructions
.
Wiki
>
TechNet Articles
>
Azure SQL - Failover Group Configuration
Azure SQL - Failover Group Configuration
Article
History
Azure SQL - Failover Group Configuration
Table of Contents
Introduction
Prerequisites
How To Configure Failover Group
Step 1. Create Failover group
Step 2. Configure Failover group
Failover group Geographic Locations
Listener Endpoints
See Also
Introduction
In this post, we will see how to set up Failover Group on Azure SQL Databases. What Failover Group does is to create a second database replica in the same or another region.
Prerequisites
Active Azure Subscription
Azure SQL Database Server(s) + database(s)
How To Configure Failover Group
By following the next steps, we able to configure a demo Failover Group on an Azure SQL Database service.
Step 1. Create Failover group
Considering that we have create and configure two Azure SQL Server + databases, the first step is to create a failover group. We can do this from the
Settings
-
Failover groups
.
Step 2. Configure Failover group
Failover group configuration is quite simple if we have completed the prerequisites.
Note
The failover group name MUST contain lowercase letters, numbers, and '-', can't start or end with '-' or have more than 63 chars.
We have to fill in the settings as the image below show and select
Create
.
Setting
Value
Failover group name
Type the failover group name
Secondary server
Select the secondary server for the failover group
Read/Write failover policy
Select a failover policy to use (manual or automatic)
Read/Write grace period
Select a grace period to us e (min 1 hour, max 24 hours)*
Database within the group
Select any database we want to be in the failover group
* The Read/Write grace period setting is when we use manual(asynchronous) failover policy. This is the period that the service wait before the failover procedure begins, that could be the reason for a possible data loss.
Failover group Geographic Locations
After the steps above we can see the Primary (West Europe) and Secondary (North Europe) endpoint for the failover group.
Listener Endpoints
At the image below shown the connections that we can use to our applications, the secondary(Read-only) endpoint is the best choise for reporting apps, for example Power BI.
See Also
Creating and using active geo-replication
Configure a failover group for Azure SQL Database
Use auto-failover groups to enable transparent and coordinated failover of multiple databases