Monday, December 17, 2012

How to move MSDTC from one SAN storage to other


Note: Please take backup of MSDTC folder .

From the current host server(the node where quorum drive visible) ,open the Failover Cluster Management. In the left pane expand the Services and Application group and select the MS-DTC resource. From the summary window note down the Server network name and IP address to use in our later steps.

The next step is to get  the new SAN disk in the cluster. To add the disk to the cluster follow the steps given below:

Ø  Open the windows disk manager.
Ø  Right click the new disk  in Windows Disk Management and select online.
Ø  Right click again and select initialize.
Ø  Finally format it by right clicking the disk and selecting New Simple Volume.
Ø  This will open Simple Volume Wizard. Provide the new drive letter and label for the disk.
Ø  In the Cluster Manager ,select the storage in the  left pane.
Ø  Select the Add Disk in the Action pane and select the proposed new disk.

Now we can see this disk under the available storage group.
Everything is ready to make the move.
Unfortunately we can't move existing MSDTC to the new disk directly. The only option is delete the existing one and add new MSDTC.

Follow the below steps to delete and add new MSDTC resource:

Ø  In the cluster manager ,expand the services and applications
Ø  Right click  the MSDTC  group and select Delete.
Ø  Now the existing MSDTC  disk (call it  X drive) will be available under the available storage.
Ø  Select the old disk  under the storage and click on change drive letter option available in the activity pane
Ø  Select None as new drive letter and click Ok button
Ø  Select the new disk  under the storage  and click on change drive letter option available in the activity pane
Ø  Select X as new drive letter and click Ok button

The last four steps are done to keep the drive letter for new disk as same as the old one. These four steps are not mandatory to perform.

Ø  Right click on the Services and Application and select Configure Services or Application option
Ø  This will open the high availability wizard screen.
Ø  Select next which will list Services or application that can be configured for the high availability. Select the Distributed Transaction Coordinator(DTC)
Ø  Select Next which will open the client access point configuration screen as given below. Enter the network name and IP address which we have noted down in the first step.
Ø  Select Next, which will open the storage configuration screen. This will list all the disk available under the available storage group. Select the appropriate disk and click Next
On clicking Next, it will directed into the confirmation screen and click again on Next will complete configuration. Now the MSDTC is configured in the SAN disk and can be verified by opening the disk in the windows explorer. Now we should be able to see the MSDTC  folder inside the new drive which confirms the movement.

Bring this service online. Set the preferred owner through the properties window and test the failover.


No comments:

Post a Comment