In this article, we will proceed with configuring a SQL Server Always On Availability Groups and perform failover validations.
You should go through the following articles and build the infrastructure before proceeding with this article.
SQL Server 2019 is the latest version available for SQL Server. It has several new features along with the enhancements to existing ones.
You can check out SQL Server 2019 articles on SQL Shack to learn more about SQL Server 2019 features.
SQL Server 2019 provides developer edition to use for development and test purpose without any license cost.
Open the Microsoft URL and click on download now for developer edition.
It downloads a setup file. Launch it, and you get the below options.
It is a better idea to download the media first and then perform the installation. You can share the media across different servers as well as it avoids issues due to network fluctuations.
Next, specify the file type, directory and language of the setup.
Click on Downloads, and it gives you ISO file, but it might take time depending upon your network bandwidth.
It downloads the SQL Server 2019, as shown below.
Click on setup.exe, and it opens the SQL Server Installation Center.
Navigate to** Installation -> New SQL Server standalone installation.**
In a SQL Server Always On, we install the SQL as a standalone component on all the nodes. It does not require a SQL Server in a failover cluster mode.
Select the edition of SQL Server 2019. We choose the Developer edition in this demo.
Accept the Microsoft software license terms and privacy agreement.
The nextstep of Microsoft update is optional. We can ask Microsoft update to check updates for Windows, Microsoft software along with SQL Server 2019. It requires an active internet connection on the server.
It installs the required setup files.
In the next screen, we configure the following options.
Specify a SQL instance name as a named instance. You can give the SQL instance name to reflect your environment and application.
It creates the instance-specific directory in the specified instance root path.
On the next page, we configure the service account for running the SQL Services. Ideally, you should run the SQL Services with a separate service account in the active directory.
Let’s hold SQL Server installation at this moment (do not cancel) and connect to the active directory server.
Type dsa.msc in the Windows start -> run and launch the active directory users and computers.
Right-click on Users folder and create a new user with a unique service account information.
As per best practice, you should use the following things in the SQL Server service account.
Once the user is created, add the user to the administrator group on the respective node.
#alwayson availability groups #installation #setup and configuration #sql server 2019 #sql