Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The short version of this blog post is that I have published a new SQL Server Always On Template. Check it out.
Microsoft SQL Server has an important high availability/disaster recovery feature called Always On. It allows you to deploy a database with multiple replicas that are kept synchronized and should the primary replica fail, one of the secondary replicas will take over. There are a few different Azure Resource Manager templates out there for deploying this in the Azure cloud. Here are just a few of them:
Additionally, there is also a template available through the Azure Commercial cloud portal.
The components involved in those deployments are continuously updated. Specifically, SQL Server 2017 has been released and PowerShell DSC modules such as xSqlServerDsc have been updated many times, e.g. xSqlServerDsc has recently been renamed to SqlServerDsc. There are also some features in SQL Always On, that could potentially help simplify the deployments. One such feature is the Cloud Witness, which uses Azure Blob storage instead of a file share on a VM for cluster quorum.
I have put together a SQL Server 2017 Always On template that includes the following features:
The template deploys into an existing subnet and joins an existing domain. You can use my core-network template to set up the basic networking and domain controllers. The deployment with Domain Controllers would look something like:
After deployment, you will have a SQL Server cluster endpoint (default name: SQLClusterAG) you can connect to from the virtual network on port 1433. There are no databases in the initial deployment. To add a database to the availability group you should follow the "usual" workflow:
This is a works-in-progress and I will make and effort to update it to include more features and configuration options, but it is a starting point. Let me know if you have questions/comments.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in