none
Moving the Database Path on DAG Servers (Two Node DAG – Exchange Server 2010)

    问题

  • Hi All,

    I need help in moving mailbox Database and Log files to new drive.

    I read few helpful documents, but somewhat I am not clear,

    I have two node DAG, so I'll be doing below;

    1. Log on to EMC
    2. Dismount the Database both Healthy and Mounted copies
    3. Provide new path for Database and log files.
    4. Once copying is done, mount both the copies
    5. And Test - replication status.

    In most of the technical articles they have mentioned that - first we need to remove database copy from DAG? I am not sure why this is needed.

    please guide

    -Atul

    TheAtulA

    2018年6月28日 7:41

全部回复

  • Hi,

    if your license allows for one more DB, I would create one in the DAG then move all mailboxes and finaly decommission the old DB. This process will incur no downtime or availability Degradation and only has three disadvantages I can think of: 

    1. you need a new name and cannot reuse the previous Name, at least not until you have deleted the old DB
    2. you lose any soft-deleted mailboxes
    3. depending on how you back up, you may lose the recoverability of Content from the DB in question

    If you insist on moving the existing DB, you will indeed have to remove the passive copy first, because https://docs.microsoft.com/en-us/powershell/module/exchange/mailbox-databases-and-servers/move-databasepath?view=exchange-ps clearly states:

    This cmdlet can't be run against replicated mailbox databases. To move the path of a replicated database, you must first remove all replicated copies, and then you can perform the move operation. After the move operation is complete, you can add copies of the mailbox database.


    Evgenij Smirnov

    I work @ msg services ag, Berlin -> http://www.msg-services.de
    I blog (in German) @ http://it-pro-berlin.de
    my stuff in PSGallery --> https://www.powershellgallery.com/profiles/it-pro-berlin.de/
    Exchange User Group, Berlin -> https://exusg.de
    Windows Server User Group, Berlin -> http://www.winsvr-berlin.de
    Mark Minasi Technical Forum, reloaded -> http://newforum.minasi.com


    In theory, there is no difference between theory and practice. In practice, there is.

    2018年6月28日 10:02
  • Hi Thanks for your inputs,

    As I said - I'll be taking downtime for this activity.

    I thought it is simple one - go to the EMC and just the path that's it.

    But the more and more I looking for information - I am getting confused.


    TheAtulA

    2018年6月28日 12:08
  • You can't change the path of a database that has replicas with the Move-DatabasePath cmdlet by itself.

    The easiest way to do this is to create a new database and replicas in the new location and then move the mailboxes from the old database.  This requires zero downtime and less risk.


    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!


    2018年6月28日 16:21

  • In most of the technical articles they have mentioned that - first we need to remove database copy from DAG? I am not sure why this is needed.


    Hi Atul,

    That's because all copies of a mailbox database must be located in the same path on each server that hosts a copy. So, when you want to change the active database path on DAG servers, you must remove or suspend the database copies first.

    Details see: 

    Move the mailbox database path for a mailbox database copy

    Moving Database And Log File Path In Exchange 2010 DAG


    Best Regards,
    Niko Cheng


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.


    2018年6月29日 7:49
    版主
  • Hi,

    Do you mean to say REMOVE and Suspend or Dismount Data base is one and the same thing.

    Then is it ok if I just Dismount the database from EMC ? nothing else is required here ?


    TheAtulA

    2018年7月2日 7:41
  • Hi Atul,

    No, they are difference. Dismounting the database is a prerequisite condition, it's just for active database, however, just dismounting the database is not enough when we want to change database file&log path in a DAG, we need to create the necessary folder structure for passive database copies also. Detailed steps please refer to the link I provided above.


    Best Regards,
    Niko Cheng


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    2018年7月2日 9:30
    版主
  • Follow my advice and move the mailboxes instead of the databases.  It's easier and much less risky.

    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    2018年7月3日 0:25
  • Hi Atul,

    I'm just writing to check how's everything going? If you have any questions or needed further help on this issue, please feel free to post back. If the issue has been resolved, please mark the helpful replies as answers, this will make answer searching in the forum easier and be beneficial to other community members as well. Thanks for your understanding.


    Best Regards,
    Niko Cheng


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    2018年7月11日 10:01
    版主