Exchange 2010 SP2 RU3 move mailbox speed up

If you are using RU3 for Microsoft Exchange 2010 SP2 you can have issue with mailbox move.
When you move mailboxes between databases you will have an issue with long time to finish move mailbox. It’s caused by some sort of cleanup tasks which have to be finish before move mailbox is marked as completed.

When you have RU3 this “cleanup task” is repeated for 5 times every 30 seconds for each mailbox. This is caused by RU3 which change parameter maxCleanupRetries and set it for 5.

To resolve this issue you have to uninstall RU3 or change parameter maxCleanupRetries.

So on every CAS Exchange Server you need to open folder:

C:\Program Files\Microsoft\Exchange Server\V14\Bin\

find file MSExchangeMailboxReplication.exe.config

edit and find parameter maxCleanupRetries

Next you need to change value from 5 to 1.

When you save this file after modification you need to restart  MSExchangeMailboxReplication Service

 

Exchange 2010 mailbox move history

 

Before we explain how to get mailbox move history, first we will explain how to move mailbox between mailbox databases in Microsoft Exchange 2010.

 

Exchange 2010 move mailbox:

To move mailbox between two mailbox databases in Exchange 2010 we can use:

  • EMC – Exchange Management Console
  • EMS – Exchange Management Shell

EMC Exchange Management Console

To move mailbox from one database to another one, we need to open EMC, find mailbox which we want to move and then right click on it and select New Local Move Request

Next we have to select target mailbox database and choose how many bad items can be skipped during this move.

I think this move is quite simple in EMC.

EMS Exchange Management Shell

We prefer to use EMS to move any mailbox, a specially when you need to move few mailboxes. CMDlets which can be used to move mailbox you can easly use in Powershell script.

You need to have RBAC permission to move mailboxes.

Below you can find CMDlets which you can use to move mailbox, monitor mailbox move, suspend, resume, and also needed RBAC permissions:

 
CMDlet Required RBAC permission
  Management role Role group membership
New-MoveRequest Move Mailboxes Recipient Management
Get-MoveRequest Move Mailboxes, View-Only Recipients  
Get-MoveRequestStatistics Move Mailboxes, View-Only Recipients Recipient Mangement
Set-MoveRequest Move Mailboxes Recipient Management
Suspend-MoveRequest Move Mailboxes Recipient Management
Resume-MoveRequest Move Mailboxes Recipient Management
Remove-MoveRequest Move Mailboxes Recipient Management
Get-MailboxStatistics Mail Recipients, Users Options, View-Only Recipients Recipient Management

To move mailbox you need to create move request like below:

New-MoveRequest -identity "John Smith" -TargetDatabase "MXDB03"

Above command will create move request to move John Smith to mailbox database MXDB03

Continue reading

Microsoft Exchange 2010 how to reduce the size of the database

As is known in the Microsoft Exchange database size after removal of the mailboxes is not decreasing but remains the same.
Created the database “gap” so called White Space which tells us about the amount of available space, which can be used without the need to increase the size of the database file .edb.
Only after completing the White Space, a further increase in the size of mailboxes in the database, it will increase the file size .edb file.

In the case of Microsoft Exchange databases such solution is problematic, because in order to reduce file size .edb after removing mailboxes from the database we use the most with ESEUTIL, which have performed defrag the database.

Continue reading