interview question and answer

July 6, 2014

Automatic Reseed in Exchange Server 2013

In this blog we will be exploring some new feature introduced in Exchange Server 2013. Microsoft has introduced a new High Availability Feature “Automatic Reseed”. To simulate the scenario we have already created two member DAG.
Lets Explore
image
Figure 1 : Two Node Dag
To understand the concept lets first explore the new DAG properties.
image
Figure 2 : Data properties
In figure 2 we can see some attributes as “AutoDag” with various options. The option available is the default option and there are some customization required to ensure that Automatic reseed works the way you expect.
Old Story – In Exchange Server 2010 if a disk fails then the entire database fails over from active node to passive node. And if the same happens in passive node then you might end up replacing the disk and start with either full reseed or manual reseed based on the database size.
New Story -  In Exchange Server 2013 we have Automatic Reseed. So lets have a look at it how to configure the Automatic Reseed feature.
DAG Settings
In figure 2 we have to set below properties as per our requirement.
  1. AutoDagDatabasesRootFolderPath : Default mount point for database.
  2. AutoDagDatabaseCopiesPerVolume : Allows us to set number of database copies per volume.
  3. AutoDagVolumesRootFolderPath : Default mount point for all volumes (Best practices is to have it in the root).
For more information on Best Practices on volume mount points please refer 280297.
image
Figure 3 : Folder Names Created in the root of C Drive.
In figure 3 Two folders are created for Volumes and Database.
Now first we have to create mount volume folders as shown below.
image
Figure 4 : Two directories for volumes
Now open disk management and we will create mount points using these two folders.
image
Figure 5 : Change Drive Letter and Paths
image
Figure 6 : Select Add
image
Figure 7 : Path
image
Figure 8 : Volume Mount Points Created
image
Figure 9 : Database Directory
Repeat steps 5,6 and 7 for database directory.
image
Figure 10 : Mount Volume for MDB1
image
Figure 11 : Comparing and Confirming Mount Volume.
Now lets create Data folder and Log File folder.
image
Figure 12 : Data folder and Log folder
In figure 12 when we create data folder and log folder. It must create the exact folders in E drive.
image
Figure 13 : Folders listed in E Drive.
Now Lets create database with the help of EMS.
image
Figure 14 : Create Database
image
Figure 15 : Created Successfully
After Creating the database mount the database. Post which add the database copy.
image
Figure 16 : Database Status
Lets test auto reseed.
image
Figure 17 : E Drive is offline.
In figure 17 E drive was taken offline forcefully to simulate the auto reseed functionality. In practical scenario it may be different.
image
Figure 18 : Status
image
Figure 19 : Auto reseed completed.
Note : To track the behavior in the background. You can refer the crimson log. Check “Seeding” on the source server where the drive has crashed. If the database is large it will take considerable amount of time to reseed.
===================================================
Happy Learning

No comments: