Link to home
Start Free TrialLog in
Avatar of techdrive
techdriveFlag for United States of America

asked on

5 DAG member replace a bad hard drive Exchange 2010

I have a bad hard drive that I am replacing on a Windows 2008R2  service pack 2/ exchange 2010 sp2 machine. We have 5 DAG member and 5 DB on each server. The problem is I am somewhat confused as to how to do this and or what steps.
 

This server is now the passive node. I failed everything over to the other DB
If I replace a drive and format this to be the same drive letter and name.
Can I just run the following command
Update-MailboxDatabaseCopy -Identity "Mailbox DB name\server2" -DeleteExistingFILES

Will this just automatically look for a good copy and put the database and log files on this server.
Avatar of Adam Brown
Adam Brown
Flag of United States of America image

I would actually remove the server from the DAG entirely then re-add it. Running an update might fail entirely, but if you remove the server from the DAG and then add it back, it will make sure you have all the correct information to properly reseed the database. If you have valid log files on the server that you are using, delete those after removing the server from the DAG. Once the server is added back to the DAG it should pull a new copy of the database.
Avatar of techdrive

ASKER

Kind of scared to do that as I did not mention we do not have back ups. So one DB is not good but the entire server is better. I would have to think about this one.
If you have a five member DAG you have backups. You should have five copies of every database with that setup. If the server with the bad DB is currently all passive, there shouldn't be any issue removing the server and adding it back. This will just regenerate all the necessary information on the server so it properly recognizes the new storage location for the database.
Hello,

Does the failed disk only hold one of the databases? If so, I wouldn't remove the whole server from the DAG as that would require reseeding all 5 databases. That could take some time and consume network resources, depending on how large the databases are. If only one database is affected, I would remove the database copy from this server, replace the drive, then re-add the copy.

-JJ
I concur with jjmck as reseeding could turn out to be a very intensive process.  Just remove the DB or DBs copy from the affected server, replace the drive and then re-add the copy or copies.
jjmck your post was 100 percent correct...Thank you. I am following it now but was concerned about the log files. I had to go in and map the folder to the drive in server manager but was wondering if I had to do the same for the log files.
ASKER CERTIFIED SOLUTION
Avatar of Jamie McKillop
Jamie McKillop
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial