Warning: Undefined array key "titleWrapper" in /home3/jamil642r/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/blocks/toc/class-block-toc.php on line 103
HomeMicrosoftHow to Create Database Availability Group in Exchange Server 2019

How to Create Database Availability Group in Exchange Server 2019

This article explains how to create database availability group (DAG) in Exchange Server 2019. We will go through the installation of Exchange 2019 DAG (database availability group) with two node members. The database availability group will have a primary network as well as one DAG (replication network). The file share witness is an additional member server in our domain that has no Exchange Server 2019 roles installed. In this scenario, I am using my domain controller (DC2022) as a file share witness server. Read this article to learn more about creating a database availability group.

Create Database Availability Group

In my environment

Server NameRoleOperating SystemIP Address
SRV2019-DCDomain Controller
File Witness Server
Server 2022192.168.121.200
Exch2K19-01Node 1Exchange 2019192.168.121.201
192.168.52.1
Exch2K19-02Node 2Exchange 2019192.168.121.202
192.168.52.2

I have two networks, one primary and one DAG, for my DAG replication for all the nodes that I am planning to add to the database availability group.

Network connections

Please ensure these networks are in a different class of IP addresses.
Primary Network

Internet protocol version v4 properties

DAG Network

Internet protocol version v4 properties

In the DAG network, go to the advanced option.
Click on the DNS tab and then untick “register the connection address in DNS.”

Advanced TCP/TP settings DNS

Configure File Share Witness (FSW)

First, we need to configure a file-sharing witness server. We recommend you use any server instead of the domain controller.
The DAG network IP address must ping other DAG IP addresses.
So that DAG replication will happen via these networks.
First, we need to create a computer account in the Active Directory.
Open active directory users and computers
Expand your local domain (jamiltech.local).
Right-click on computers, select New, and then Computer Account.

Active directory users and computers

Type a DAG name (computer name) and then click OK.

New objects computer

Right-click on the computer name and then select Disable the account.

Disable computer AD computers

Click Yes.

Do you want to disable this computer account

Select ok.

Object has been disabled AD

Allow Full Control for Exchange Trusted Subsystems

In Active Directory Users and Computers, click on the view tab and then select advanced features.

View tab advanced features AD

Right-click on the DAG-2019 computer name and then select properties.

Active directory users and computers

Select the security tab.
Click on Exchange Trusted Subsystem, select the full control checkbox, and then click Apply.

Computer account properties security

Now, under security, click on Add.

Computer account properties security tab

Click on Object Types.

Enter the object names or select

Select the Computers checkbox, and then click OK.

Select the types of objects

Type your node name, and then click on check names.

Select the type of objects types

Select both nodes (EX2019-01 and EX2019-02), and then click OK.

Multiple names found

Select ok

Enter the type of objects types

Give both the Node Computer accounts full control, and then click Apply.

Computer account properties security full

Creating Database Availability Group DAG

The Exchange Trusted Subsystem security group must be a member of the local administrator group on a specified witness server.
I am using an Active Directory server (DC2022) as a witness server.
In the active directory of users and computers, select Microsoft Exchange Security Group. Right-click on Exchange Trusted Subsystem and then choose Properties.

Microsoft exchange security groups

Select the Member of tab, and then click on the Add button.

Exchange trusted subsystem properties

Enter administrator, click check names, and then click OK.

Enter the object names or select

Click OK

Exchange trusted subsystem properties member of

Configure Database Availability Group DAG

Log in to your Exchange Admin Center
Click on Servers and select the Database Availability Groups tab.
Select + Add button.

Create Database Availability Group DAG

A new database availability group wizard
Type a DAG name.
Witness Server Name
Witness directory
Add Two DAG IP addresses (Static IP for the DAG), one for the Primary Site, and one for the DR site)
If you have a different subnet or a different class of IP addresses on either site,.
Have two IP addresses for the DAG so that DAG resources can be online while failover is on either site.
If you have only one subnet, then you can enter only one IP address for the DAG.
Click save.

New Database Availability Group

The database availability group has been successfully created. Now you can see the DAG in the list view.
Double-click on the DAG-2019.

Create Database Availability Group

Click on the IP address and verify that you see the IP address: 255.255.255.255.

Database Availability Group IP addresses

Add Member Servers to DAG

Now my database availability group configuration is ready.
Add a member status to it.
Select the Manage DAG Membership icon.

Configure Database Availability Group

Click on Add +.

Manage database availability group membership

You can add both servers at once, but I am adding them one by one.
Select the first node, click on the add button, and then click OK.

Add member server DAG

Select Save.

Manage database availability group membership

The first node member server completed successfully; choose Close.

Saving completed successfully member server

Add Second Member Servers to DAG

Now we need to add the second DAG member server.
Again, select the Manage DAG Membership icon.

Create database availability groups

Select + Add.

Manage database availability group membership

Click on the second node, click on add, and then choose OK.

Add member server DAG

Click Save.

Manage database availability group membership

The second node server is completed successfully; click close.

Saving completed successfully member server

Now both nodes (EX2019-01 and EX2019-02) have been successfully added.

Database availability groups DAG

Add a Database to the Availability Group

Now, you need to add the mailbox database copies to the member mailbox servers (EX2019-02) to enable continuous replication. Please make sure the database remains active even if a member server fails. Follow the steps,
On the database tab, select EXDB01.
Then click on… and select Add a database copy.

Add database copy exchange 2019

Click on the Browse button to select the server.

Add mailbox database copy

Click on the server, and then click OK.

Add member server DAG

Select Save.

Add mailbox database copy

When completed, click close.

Saving completed successfully database copy

You can see that the database is copied between the two servers.

Database availability group database copies

Related: How to Backup and Restore Database in Exchange Server 2019

Conclusion:
In this article, we learned simple steps to set up and configure Exchange Server 2019 DAG database availability groups from scratch. Although Exchange 2019 DAG supplies site resilience and protection against database and server failure,.

Jamil
Jamilhttp://jamiltech.com
A Professional Technology Blog Writer | An energetic professional with more than 20+ years of rich experience in Technology, Planning, Designing, Installation, and Networking.
RELATED ARTICLES

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments

fitspresso analysis on How to Reset Microsoft 365 Password
historical landmarks tours for history buffs on How to Add Hyper-V Server Altaro VM Backup
9780443186882 PDF download on How to Migrate Active Directory 2012 to 2022
Shaik Mohammad Jaheer on How to Enable Night Light on Windows 11