Change Transaction Log Location on CCR Cluster (Full Version)

All Forums >> [Microsoft Exchange 2007] >> High Availability



Message


aldo456321 -> Change Transaction Log Location on CCR Cluster (7.Sep.2007 9:28:58 AM)

I have just implemented a CCR mailbox role cluster, by default the logs and the database are stored on the same disk. I want to move my transaction logs onto different disks. How do I go about doing with a CCR cluster?
Everytime I try I get the following error:

Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:00


First Storage Group
Failed

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: ConfigurationOnly

Exchange Management Shell command attempted:
move-StorageGroupPath -Identity 'Email\First Storage Group' -LogFolderPath 'T:\Logs'

Elapsed Time: 00:00:00




John Weber -> RE: Change Transaction Log Location on CCR Cluster (7.Sep.2007 12:36:52 PM)

CCR expects that both nodes will have an identical file structure.
So, when you are on the active node, and your action is to move the log files, it tries to match that action on the passive node.
It cannot because you are not on the passive node, you are on the active node.
Remember that physical actions require being logged onto the physical server.
Logical actions can be done to the remote node, but not physical ones.

The message you are getting is correct, CCR cannot move the remote node log files because that is a physical action.

Depending on how mature your implementation is, take a look at:
suspend-storagegroupcopy
update-storagegroupcopy
resume-storagegroupcopy
restore-storagegroupcopy

Your specific task listing to accomplish what you want will be worked out by: stopping the replication
unmounting the database
shuffling the active node files to where you want them
matching that shuffle on the passive node
restarting the seed/replication

I have done this many times by treating the passive node as a failed replication and simply rebuilding the passive node replication.
I hope you don't have too much mail in the database, as this operation could take some considerable downtime.
HTH.
-jmw

quote:

ORIGINAL: aldo456321

I have just implemented a CCR mailbox role cluster, by default the logs and the database are stored on the same disk. I want to move my transaction logs onto different disks. How do I go about doing with a CCR cluster?
Everytime I try I get the following error:

Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:00


First Storage Group
Failed

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: ConfigurationOnly

Exchange Management Shell command attempted:
move-StorageGroupPath -Identity 'Email\First Storage Group' -LogFolderPath 'T:\Logs'

Elapsed Time: 00:00:00




Henrik Walther -> RE: Change Transaction Log Location on CCR Cluster (10.Sep.2007 2:43:59 AM)

You should move the Storage Group (which includes the log files) using the steps in the following section in the E2K7 documentation:

http://technet.microsoft.com/en-us/library/aa996391.aspx

There is a bug doc though...

Instead of using:
Move-StorageGroupPath -Identity:<Server\StorageGroupName> -LogFolderPath:<NewPath> -SystemFolderPath:<NewPath>

You should use:
Move-StorageGroupPath -Identity:<Server\StorageGroupName> -LogFolderPath:<NewPath> -SystemFolderPath:<NewPath> -ConfigurationOnly 

Those are the steps I use in CCR production environments.




leeburley -> RE: Change Transaction Log Location on CCR Cluster (7.Nov.2007 3:34:13 PM)

Hi

new to powershell , would i be correct in the following.
to move transaction logs only
suspend copy ,dismount etc, physically move logs then run
Move-LogFolderPath:<NewPath> -SystemFolderPath:<NewPath> -ConfigurationOnly 




Page: [1]