Sunday, February 14, 2016

Replacing a disk in 2 Node Windows 2008 R2 SP1 Cluster

Good day All,

Welcome back!!!

We had a requirement to replace a GPT formatted disk which had Oracle Database file to a new disk MBR formatted and files needed to be copied over, so this is what the steps we followed

1. All Application was shutdown
2.All the resources in the cluster was brought down in Failover Cluster Manager
3.Right click the GPT disk online ex drive letter is S
4.Requested same size new LUN to be presented by SAN team
5.Formatted the disk with MBR and assigned a drive letter ex Z
Note: the new LUN Z shouldn't be added to Cluster yet.
6.Used xcopy to copy over the Database file from S to Z
xcopy s: z: /e/v/c/h/k/o/y
7.Now take the old LUN S offline
8.Got to cluster group where the S drive is present, right click , click more action and click Repair
9.You will see a pop up window showing the new LUN Z
10 select it and click ok, Cluster will do the magic of disk signature updating etc and it will say updated .click ok and that's it.
11. Right click the disk and bring it online, you will see that old drive letter Z is still present.So click change drive letter and update to S and take the disk offline
12. Now go to Storage group, Click Add disk and you will see the old GPT formatted disk in there, select it and add to Cluster.When you refresh you will see that drive letter is still showing as S, so rename that to Z.
13. Now go to the cluster group , bring the S drive online and then bring all the resources online and test the failover.
14. If you need  Z drive to be reclaimed by storage team then delete the disk from Cluster, go to disk management right click bring the disk online, remove the drive letter and take it offline and ask the Storage team to reclaim it.

Hope this helps someone and until next one you all have good day!!!!

No comments:

Post a Comment