Exchange 2007 CCR useful commands

Move Clustered mailbox server to another server
Move-ClusteredMailboxServer -Identity:<CMSName> -TargetMachine:<PassiveNodeName> -MoveComment:<Comment>
View Storage group configuration
Get-StorageGroup -Server mbx01 | fl
View the database configuration
Get-PublicFolderDatabase -Identity “mbx01SG2Public Folder Store” | Fl
View the status of all storage groups
Get-StorageGroupCopyStatus -Server:<Server>
Or to view the status of a particular storage group
Get-StorageGroupCopyStatus -Identity:<ServerStorageGroupName>
How to view the status of a clustered mailbox server
Get-ClusteredMailboxServerStatus -Identity:<Name>
How to verify the copy of the database
Suspend replication on your passive node
Suspend-StorageGroupCopy -Identity <ServerStorageGroup> -SuspendComment <Comment>
From you %windows%system32 directory create a shadow  copy
Vssadmin create shadow /for=<Volume>
Run this command wherever your ESEUTIL is located to verify the database(default location:%ProgramFiles%MicrosoftExchange Serverbin)
Eseutil /k /p20 <Path for VSS Shadow Copy of database>
If ESEUTIL reports non corrupt datbase delete the shadow
Vssadmin delete shadows /For=<Volume>
Moving database location in CCR environment
Suspend replication
Suspend-StorageGroupCopy -Identity <ServerStorageGroupName>
Dismount database
Dismount-Database -Identity <ServerStorageGroupNameDatabaseName>
Move the database in the configuration only
Move-DatabasePath -Identity <ServerStorageGroupNameDatabaseName> -EdbFilePath <NewPath> -ConfigurationOnly
Move the files to the new location on this disks
Mount-database
Resume replication
Resume-StorageGroupCopy -Identity <ServerStorageGroupName>

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply