Configuring the DAG Replication and Failover in Exchange Server 2010 Part-3

This is the continuation from the Configuring the DAG Replication and Failover in Exchange Server 2010 Part-2. In this part I will show you how to create mailbox database copy, how to test the DAG failover availability.

Creating the Mailbox Database Copy:-

To create the Mailbox Database Copy open the exchange management console, then select the Mailbox under the organization configuration from the console tree, from the right panel select the Database Management tab then right-click the appropriate database and select the add Mailbox Database Copy

1

Figure: 1

For selecting the mailbox server who is going to host the database copy click the browse button

2

Figure: 2

In this example I have only one mailbox server so I am selecting mbx01 to host the copy or the mbx01 database. If you have multiple mailbox servers you can choose multiple mailbox servers. Click ok to add the mailbox server.

Note: maximum number of mailbox server which can host the single database copy is 16

Then click next button to create the Mailbox Database Copy

3

Figure: 3

Our Mailbox Database Copy has been successfully created, we can see the confirmation from the below screenshot. Click finish to exit the configuration task

5

Figure: 4

In the below screenshot we can see mailbox database DAG_DB has two copies of the database and it is hosted in MBX01 and MBX02. DB01 is located on MBX01 and it doesn’t have replication copy.

6

Figure: 5

We are created the Database copy for testing the DAG functionality. Now we need to create a mailbox in DAG_DB database.

For that right-click the Mailbox under the Recipient Configuration from the console tree then select the New Mailbox.

8

Figure: 6

Select the User Mailbox and click Next->>

9

Figure: 7

Select the New User and click Next->>

10

Figure: 8

Fill the user account information details and password, Click Next to continue

11

Figure: 9

Select the DAG_DB (Copy enabled mailbox) and click ok

12

Figure: 10

Click next continue, in the next the step it will prompt you for the creating the archive mailbox, if you want to creating the archive mailbox you can select the check box. In this scenario I am not using the archive feature.

After the archiving prompt click next then it will ask you for the confirmation for creating the mailbox, If all the information’s are correct click New to create the Mailbox

13

Figure: 11

Now we are created the Mailbox

16

Figure: 12

The below screenshot we can see the mailbox name shareef is created in DAG_DB (copy enabled database). You can see that the administrator Mailbox is located in DB01. We are not enabled the database copy on DB01.

17

Figure: 13

Now it’s the time for test the DAG failover functionality, so I am login to OWA with the username shareef

18

Figure: 14

This is the first time I am login with the username shareef, so need to choose the language and time zone. Right now I am in Qatar so I am choosing time zone as +3.00 Kuwait, Riyadh and I am comfortable with the English language.

Click OK to login to the OWA Mailbox

19

Figure: 15

Right now I don’t have any mail in my inbox so I am composing a mail and sending to user shareef and administrator subject as DAG Replication Test.

20

Figure: 16

21

Figure: 17

You can see from the below screenshot that the user shareef is received the mail subjected as DAG Replication Test

22

Figure: 18

Now I am shutting down the MBX01 mailbox server, MBX01 is holding the DB01 database.

The below mentioned screenshot you can see that the DAG database DAG_DB copy status on MBX01 is showing ServiceDown

23

Figure: 19

The DB01 database copy status is also showing ServiceDown

24

Figure: 20

This is the screenshot of the DAG network, in that the MBX01 server network interface IP address (192.168.1.161) is showing unavailable.

Also the status of the MBX01 node in Failover Cluster is showing Down

25

Figure: 21

26

Figure: 22

This is the status of the network adapter in Cluster network and it is showing Unavailable.

27

Figure: 23

Now we are confirmed that the Mailbox Server MBX01 is completely down, that means the database DB01 is also down. In this situation I can’t login to the administrator mailbox, it has to give an error when I try to login to the administrator mailbox.

I am going to login to OWA with the username administrator

28

Figure: 24

As I am login first time with the administrator user ID, I have to choose the Language and Time zone.

Click OK to login to the administrator mailbox

29

Figure: 25

This is the error we will get when the mailbox database is down or the server itself down. The error shows that the administrator mailbox is unavailable that means the database where the administrator mailbox is down.

We confirm that the administrator mailbox is not working we need to find out the whether the mailbox for user shareef is available or not.

30

Figure: 26

This is the mailboxes of both shareef and administrator. In this we can see the mailbox for shareef is available and accessible without any issue.

Through this we identified that DAG failover is working perfectly.

31

Figure: 27

Related posts:

  1. Configuring the DAG Replication and Failover in Exchange Server 2010 Part-2
  2. Configuring the DAG Replication and Failover in Exchange Server 2010 Part-1

2 comments

  1. Khyber says:

    hi shreef.

    i read and follow your steps in DAG it was really great and thank you very much for preparing such outstanding note.. my design was like i have

    1 DC
    1 CAS/HUB
    2 MB servers

    i applied those same things but i faced only one issues that i was not able to bring the DAG name online in cluster resources, while i was able to bring online the IP.

    pleaes help me on this and it is very important because i have plan to implment this as well.

    regards
    khyber

Leave a Reply

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

*


*