• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Database move to new drive when in a DAG

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2010] >> General >> Database move to new drive when in a DAG Page: [1]
Login
Message << Older Topic   Newer Topic >>
Database move to new drive when in a DAG - 5.Jan.2012 1:16:14 PM   
Philippe_Jehl

 

Posts: 8
Joined: 7.Dec.2011
Status: offline
I know what si needed in order to move a database and a log file path to another drive but what I have not been able to find is how si this done when you have passive copy (DAG) for the database you want to move.
Will I need to remove the database copies then move the active database to where I need it ansd then recreate the database copy? I will also be moving the log files for the database to another drive.
Post #: 1
RE: Database move to new drive when in a DAG - 5.Jan.2012 1:53:04 PM   
John Weber

 

Posts: 1208
Joined: 20.Apr.2005
From: Portland, Oregon
Status: offline
Not knowing the official answer, I will give you the answer I use...

DAG requires that the members servers have identical pathing for DB/Log per database. Therefore, if you want to move the database path, the active database and all passives must have access to identical paths for the new location.

FWIW, I also remove all passive copies before moving the active, then recreate the passives.

YMMV.

_____________________________

John Weber [Lync MVP] http://tsoorad.blogspot.com

(in reply to Philippe_Jehl)
Post #: 2
RE: Database move to new drive when in a DAG - 5.Jan.2012 2:04:26 PM   
Philippe_Jehl

 

Posts: 8
Joined: 7.Dec.2011
Status: offline
I did finally find an official article that outlines what needs to be done but when I read this I do not see much difference in following their recommendation compared to removing the copies and then recreating them after the move. I was aware of idential structure needed to exit for the database copies but good info to know for those contemplating this as well.

Move the Mailbox Database Path for a Mailbox Database Copy

(in reply to John Weber)
Post #: 3
RE: Database move to new drive when in a DAG - 5.Jan.2012 3:56:25 PM   
mark@mvps.org

 

Posts: 6812
Joined: 9.Jun.2004
From: Philadelphia PA
Status: offline
Don't remove the copies. Just suspend the replication and copy the data from old place to new place. Then change the drive letter or mount point paths of the hardware. Then resume replication.

Done.

_____________________________

Mark Arnold (Exchange MVP)
List Moderator

(in reply to Philippe_Jehl)
Post #: 4
RE: Database move to new drive when in a DAG - 5.Jan.2012 6:29:15 PM   
lewi79

 

Posts: 1
Joined: 5.Jan.2012
Status: offline
try this

1. dismount and suspend replication for the db copies on the DAG nodes

2. copy the db files to the new location

3. use the move-databasepath cmdlet with the -configurationonly switch. this will just update AD. make sure your db paths are consistent across all nodes example - Move-DatabasePath –Identity 'my db' –EDBFilePath 'd:\DAG\Data\mydb.db -ConfigurationOnly

4. verify the locations have updated in AD

5. mount databases and resume replication

6. do all necessary checks

Hope this helps

(in reply to Philippe_Jehl)
Post #: 5
RE: Database move to new drive when in a DAG - 5.Jan.2012 6:55:33 PM   
mark@mvps.org

 

Posts: 6812
Joined: 9.Jun.2004
From: Philadelphia PA
Status: offline
No. Sorry. That's wrong.
If you dismount you're taking people offline. So, 1. is wrong.
Item 2 is ok.
Item 3 is wrong because that updates the path for all copies.

The OP wants to move the passive from one drive to another. The path in the active is not at issue.

Hope this helps.

_____________________________

Mark Arnold (Exchange MVP)
List Moderator

(in reply to lewi79)
Post #: 6
RE: Database move to new drive when in a DAG - 6.Jan.2012 10:12:30 AM   
Philippe_Jehl

 

Posts: 8
Joined: 7.Dec.2011
Status: offline
Thank you all for the response.

Mark so if I understand correctly I suspend the database copy, Move the data base copy's log and database files to the new location , then when done follow the procedure for moving the database to another drive, then once done unsuspend and resume replication. The path will be identical on both severs.
If I understand the process there is no way to do this without access being lost to users during this proces or is there a way to limit down time?

(in reply to mark@mvps.org)
Post #: 7

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2010] >> General >> Database move to new drive when in a DAG Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter