Archive for May 6, 2010

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

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

First part of this series I showed you how to install the exchange server and what are the pre-requisites to install the exchange 2010

In this part I will show you how to create DAG, how to add the member servers to DAG and how to configure the DAG network.

Create the new DAG:-

Go to the exchange management console, in organization Configuration click the Mailbox sub menu

From the Database Availability Group tab right-click and create new Database Availability Group

1

Figure: 1

Type the DAG name and File share Witness server name and path of the Witness Directory.

Click New to create the new DAG

2

Figure: 2

Now we are successfully configured the new Database Availability Group named DAG01.

Click Finish to complete the configuration

3

Figure: 3

In the below screenshots we can see the newly created DAG name (DAG01), Witness server name and Witness Directory path

4

Figure: 4

Adding Member server to DAG:-

Now I am going to add the member servers to the newly created DAG, this process will also install and configure the failover clustering in the servers.

For that right-click the DAG01 and click the Manage Database Availability Group Membership

5

Figure: 5

Then click Add button to add the member servers to DAG01, this will give you the server selection window for adding the servers to DAG01

6

Figure: 6

Select the appropriate server from the selection window, in my example I have only 2 servers with mailbox role installed.

Click ok to complete the selection of Servers

7

Figure: 7

Now we can see both Mailbox server added to the Database Availability Group Membership window.

Click Manage to add both servers to DAG01

8

Figure: 8

Now we are successfully completed adding the server to DAG01

Click finish to exit the Database Availability Group Membership window.

9

Figure: 9

The below mentioned screenshot we can see the we can see the member server of the DAG01, network interfaces of the both servers and the status of the interfaces

10

Figure: 10

Assigning the Virtual IP address to DAG:-

In the below screenshot we can see that there is no IP assigned for the DAG01

We have to configure the Virtual IP address for the DAG01

11

Figure: 11

This is the PowerShell command for configuring the DAG IP address

Set-DatabaseAvailabilityGroup DAG01 –DatabaseAvailabilityGroupIpAddresses 192.168.1.165

12

Figure: 12

Now we can see that the IP address (192.168.1.165) is assigned to the DAG01, also a computer account is created in the active directory

13

Figure: 13

14

Figure: 14

This the file share witness folder which is created by the DAG

15

Figure: 15

The below mentioned screenshot we can see the status of the DAG01 nodes, IP address of the DAG01 and the Witness directory path in Failover Cluster Manager.

16

Figure: 16

17

Figure: 17

In the next parts i will show you how to create the database copy and how to test the DAG

VCP4 exam preparation guides and study materials

These are some of the best VCP4 Study Materials from VMware and other blogs; this can be useful for reference and study for the VCP4 certification.

VCP4 Exam Blue print

VMware Official Documentation for vSphere

VMware vSphere 4 Documentation

Consolidated Backup Documentation

vCenter Update Manager Documentation

vCenter Converter Documentation


Study materials

Learning guide by Matthijs van den Berg

VCP4 vSphere Study Notes from Simon long’s blog

VCP vSphere 4 Practice Exams from Simon long’s blog

vSphere 4 Mock Exam from VMware

Test the VMware General IT Knowledge


Related Blogs

http://www.yellow-bricks.com/2009/11/14/vcp-4-exam

http://www.simonlong.co.uk/blog/vcp-vsphere-4-practice-exam

http://www.simonlong.co.uk/blog/vcp-vsphere-upgrade-study-notes

http://professionalvmware.com/2009/07/vsphere-vcp4-beta-follow-up

http://vmwaretraining.blogspot.com/2009/09/studying-for-vcp-on-vsphere-4.html

http://www.b3rg.nl/vcp-4.0/introduction/vmware-certified-professional-on-vsphere-4-learning-guide.html