locked
Move database path in SCR RRS feed

Answers

  • So... Here are the steps... The doc was correct except with out a mount database step.

    I did.

    1. Suspend replication.

    2. Run the move-databasepath -configurationonly

    (This step did automatically dismounted the database)

    3. Moved the database files to new location manually.

    4. Mount database.

    5. Resume replication.

    Thanks all...

     

    • Marked as answer by rsblind Monday, November 7, 2011 2:30 AM
    Monday, November 7, 2011 2:30 AM

All replies

  • Hi,

    To perform the move operation, the database must be temporarily dismounted, making it inaccessible to all users. If the database is currently dismounted, it is not remounted upon completion.

    See here: http://technet.microsoft.com/en-us/library/bb124742(EXCHG.80).aspx


    Regards from www.windowsadmin.info | www.blog.windowsadmin.info
    Saturday, November 5, 2011 5:16 PM
  • I know that but since this is an SCR database and I need to use the -configurationonly switch I'm not sure the dismount happens via the command or if I need to do this manually like I'll have to for the database move itself...
    Saturday, November 5, 2011 5:57 PM
  • I'm thinking I need to

    1. Suspend replication.

    2. Dismount the database.

    3. Run the move-databasepath -configurationonly command.

    4. Move the databases on both the SCR source and target manually.

    5. Mount the database.

    6. Resume replication.

    The document I linked states all that except the Dismount and Mount commands... But If I have to move the databases manually then I don't see howelse I can do this.

    Thanks

    R

    Saturday, November 5, 2011 6:01 PM
  • Hi rsblind,

    Whenever I move a DB path, I always dismount the database manually.

    The link Manu gave says: "If the specified database is mounted when this cmdlet is run, the database will be automatically dismounted and then remounted, and will be unavailable to users while it is dismounted."

    However, because you are using the -ConfigurationOnly parameter I am not sure if this applies, but I think so as you shouldn't be able to change the path in AD while it is mounted!

     

    Butwhy don't you just follow the steps you mentioned?! That's exactly what I always do except I run step 4 before 3.


    http://LetsExchange.blogspot.com
    • Proposed as answer by Terence Yu Monday, November 7, 2011 1:48 AM
    Sunday, November 6, 2011 1:58 AM
  • So... Here are the steps... The doc was correct except with out a mount database step.

    I did.

    1. Suspend replication.

    2. Run the move-databasepath -configurationonly

    (This step did automatically dismounted the database)

    3. Moved the database files to new location manually.

    4. Mount database.

    5. Resume replication.

    Thanks all...

     

    • Marked as answer by rsblind Monday, November 7, 2011 2:30 AM
    Monday, November 7, 2011 2:30 AM