In this article, I will show you how to create DAG with Two Node Members using File Share Witness.

Both Servers are configured with same hardware configurations and Windows Server 2012 R2 Server Editions.

Before we begin with DAG Installation, We need to add the Exchange Trusted System in the Witness Server’s Local Administrators Group and create Witness Directory Share.

26
3
4
5

Now, Login in to Exchange Admin Center, Under Server–> Database availability groups–>Click on Add

1

Now Provide the Name for the DAG,Provide the Witness Server and Directory

6

Now you can see the DAG is created successfully

7

If you run Get-DatabaseAvailabilityGroup in Powershell, you  can see the DAG without any DAG Members.

8
9

Adding Member Servers in the Database Availability Group:

Let’s see how to add the Servers in the DAG. Click on Manager DAG Membership

10

Click on + to add the Servers,

11

Select the Servers which you want to add in this DAG

12
13
14
15

Now you can see the Member Servers associated with this Database Availability Group.

16
17

Adding the Database Copies in Second Server:

So Far so good.. Isn’t it?? Now, Let’s see how to add the passive copies of the Database in the Second Server.

Here i have Database called  DB1 which is only one copy and mounted on EX-2016-MBX1.

18

Run the command in Powershell and you can see that DB1 is getting created in Second Server EX-2016-MBX2.

Add-MailboxDatabaseCopy -db Db1 -MailboxServer EX-2016-MBX2

19

Now you can see that Mailbox Database copy has been added and healthy in second Server.

move the database to second server and check whether it is getting mounted without any issues by running below command which will move the DB1 to Second Server.

Move-MailboxDatabaseCopyStatus DB1

23
24

You can check it in the Exchange admin center.

25

#DAG #Database #DatabaseAvailabilityGroup

Leave a comment

Your email address will not be published. Required fields are marked *