TechNet has an article on moving the database and log file paths for a Storage Group in an Exchange cluster running in a Cluster Continuous Replication environment, however it’s missing a couple of steps which are fairly important to the process.
If you attempt to move the database or log file locations on a clustered Exchange Server 2007 server you will receive the following error:
Error:
This operation cannot be performed on a remote server or a clustered mailbox server in a cluster continuous replication enviornment. Please use the -ConfigurationOnly option and then manually move the files.
Parameter name: ConfigurationOnlyExchange Management Shell command attempted:
move-StorageGroupPath -Identity ‘exchsrvr\Second Storage Group’ -LogFolderPath ‘G:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group’
To move the file locations then you will have to change the configuration and move the files manually on both nodes, even though the page on TechNet indicates the command will move the files automattically. Here’s how I went through this process on a live system to move the log files.
In this example the server name is exchsrvr and the storage group name is First Storage Group. I’m moving the log files from F:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group to G:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group. All of these commands are run in the Exchange Management Shell.
On the Active node or the Passive node, suspend the copy of the storage group:
[PS] C:\Suspend-StorageGroupCopy -Identity:'exchsrvr\First Storage Group'On the Active node, dismount the database (or databases) in the storage group:
[PS] C:\Dismount-Database –Identity:'exchsrvr\First Storage Group\Mailbox Database'On the Active node modify the configuration of the storage group to use the new path for the log files:
[PS] C:\Move-StorageGroupPath –Identity:'exchsrvr\First Storage Group' -LogFolderPath:'G:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group' -ConfigurationOnlyOn the Active and Passive nodes, create the new folders to store the log files:
[PS] C:\MD "G:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group"On the Active and Passive nodes, move the log files to the new location. (The prefix for the log files for this storage group is E0):
[PS] C:\Move "F:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E0*.*" "G:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group"On the Active node, mount the database:
[PS] C:\Mount-database –identity:'exchsrvr\First Storage Group\Mailbox Database'On the Active or Passive nodes, resume the storage group copy process:
[PS] C:\Resume-StorageGroupCopy -Identity:'exchsrvr\First Storage Group'The process was surprisingly simple in the end, but it’s easy to say that now that I’ve done it at least once.








One Trackback/Pingback
Windows Tech Information
Active Directory Servers, Sites & Functions Active Directory Servers, Sites and Functions Restricted Group Policies Security Permission Policies DHCP DNS DNSStuff.com