John Yassa's Blog

Home » 2014 » January

Monthly Archives: January 2014

Exchange 2010 SP1: Error when adding or removing a mailbox database copy

I have faced the below Error While added a Mailbox Database copy to one of our servers

This database was already exist as copy on the same server but removed for maintenance operation

Add-mailbox1

Error:
Registry key has subkeys and recursive removes are not supported by this method.

Warning:
An unexpected error has occurred and a Watson dump is being generated: Registry key has subkeys and recursive removes are not supported by this method.

Exchange Management Shell command attempted:
Add-MailboxDatabaseCopy -Identity ‘db1’ -MailboxServer ‘ServerName’ -ActivationPreference ‘2’

Elapsed Time: 00:00:00

Workaround: Delete the DumpsterInfo key, as shown below.

  1. Identify the GUID of the database that is being added using this command:Get-MailboxDatabase DB1 | fl name,GUIDThe result:

    Name : DB1
    Guid : 8d3a9778-851c-40a4-91af-65a2c487b4cc

  2. On the server specified in the add command, using the database GUID identified, remove the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\Replay\State\<db-guid>\DumpsterInfoThe GUID identified in this case is 8d3a9778-851c-40a4-91af-65a2c487b4cc. With this information you can now export and delete theDumpsterInfo key on the server where you are attempting to add the mailbox database copy. This can be easily done using the registry editor, but if you have more than a handful of DAG members, this is best automated using the Shell.This example removes the DumpsterInfo key from the 8d3a9778-851c-40a4-91af-65a2c487b4cc key:

    Remove-Item HKLM:\Software\Microsoft\ExchangeServer\V14\Replay\State\8d3a9778-851c-40a4-91af-65a2c487b4cc\DumpsterInfo

    To automate this across all servers in your organization, use the DeleteDumpsterRegKey.ps1 script.

This is a know issue with SP1, check issue 8 on the below URL
http://blogs.technet.com/b/exchange/archive/2010/09/01/3410888.aspx

Increasing the amount of concurrent mailbox moves in Exchange 2010

Exchange 2010, by default, allows you to do 2 concurrent mailbox moves.  This is a rather conservative approach, in this age of 10 Gb Ethernet and super-fast SAN storage.  Fortunately Microsoft has provided a mechanism whereby we can increase the amount of concurrent moves allowed.

This can be re configured by editing the MSExchangeMailboReplication.exe.config file, which resides under the C:\Program Files\Microsoft\Exchange Server\V14\Bin\ folder.

Attribute values:

MaxActiveMovesPerSourceMDB: This property indicates the number of mailboxes that can be moved on the source mailbox database at one time. The default value is 5 concurrent moves.

MaxActiveMovesPerTargetMDB: This property indicates the number of mailbox moves that can be moved on the target mailbox database at one time. The default value is 5 concurrent moves.

MaxActiveMovesPerSourceServer : This property specifies the total number of tasks MRS can perform that include the server as a data source. You can specify a value from 0 through 1000. The default value is 50 concurrent moves.

MaxActiveMovesPerTargetServer: This property specifies the total number of tasks MRS can perform that involve the server as a data target. You can specify a value from 0 through 1000. The default value is 5 concurrent moves.

MaxTotalMovesPerMRS: This property specifies the total number of tasks that a single instance of MRS can perform at a time. You can specify a value from 0 through 1000. The default value is 100 concurrent moves.

Don’t forget to restart the Microsoft Exchange Mailbox Replication service and do this configuration change on all your CAS servers

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

Free Exchange Reporting Tool

Project Description
Exchange Reports with its built-in reports gives you overall information about your Exchange Environment.

Introducing Exchange Reports

It is mandatory on the part of an Exchange Administrator to be well-informed about every configuration on mailboxes, distribution groups in their Exchange Environment. Considering the huge volume of information to be tracked, this is easier said than done!

Exchange Reports with its built-in reports comes to your rescue!

This application requires .Net 4.0, Powershell 2.0 and Remote Powershell access to Exchange Server. It is tested on Windows 7, Windows 8 and Windows 2008 R2.

Download URL :  http://exchangereports.codeplex.com/

%d bloggers like this: