<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Exchange Server Pro &#187; DAGs</title>
	<atom:link href="http://exchangeserverpro.com/tag/dags/feed" rel="self" type="application/rss+xml" />
	<link>http://exchangeserverpro.com</link>
	<description>Microsoft Exchange Server News - Tips - Tutorials</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:00:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Exchange 2010 Error: Registry key has subkeys and recursive removes are not supported by this method.</title>
		<link>http://exchangeserverpro.com/exchange-2010-error-registry-key-has-subkeys-and-recursive-removes-are-not-supported-by-this-method</link>
		<comments>http://exchangeserverpro.com/exchange-2010-error-registry-key-has-subkeys-and-recursive-removes-are-not-supported-by-this-method#comments</comments>
		<pubDate>Wed, 13 Oct 2010 13:16:13 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[DAGs]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Mailbox Server]]></category>
		<category><![CDATA[SP1]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=2177</guid>
		<description><![CDATA[When an Exchange Server 2010 Database Availability Group has been upgraded to Exchange 2010 SP1 you may encounter an error when adding or removing database copies on a DAG member.]]></description>
			<content:encoded><![CDATA[<p>When an Exchange Server 2010 Database Availability Group has been upgraded to Exchange 2010 SP1 you may encounter an error when adding or removing database copies on a DAG member.</p>
<p><img class="aligncenter size-full wp-image-2178" title="exchange-2010-registry-key-has-subkeys-error" src="../wp-content/uploads/2010/10/exchange-2010-registry-key-has-subkeys-error.png" alt="" width="599" height="366" /></p>
<blockquote><p>Summary: 1 item(s). 0 succeeded, 1 failed.<br />
Elapsed time: 00:00:00</p>
<p>Mailbox Database 02<br />
Failed</p>
<p>Error:<br />
Registry key has subkeys and recursive removes are not supported by this method.</p>
<p>Warning:<br />
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.</p>
<p>Exchange Management Shell command attempted:<br />
Add-MailboxDatabaseCopy -Identity &#8216;Mailbox Database 02&#8242; -MailboxServer &#8216;EX2&#8242; -ActivationPreference &#8217;2&#8242;</p>
<p>Elapsed Time: 00:00:00</p></blockquote>
<p>An event log entry is also logged on the Exchange server.</p>
<blockquote><p>Log Name:      Application<br />
Source:        MSExchange Common<br />
Date:          10/13/2010 10:47:19 PM<br />
Event ID:      4999<br />
Task Category: General<br />
Level:         Error<br />
Keywords:      Classic<br />
User:          N/A<br />
Computer:      EX2.exchangeserverpro.local<br />
Description:<br />
Watson report about to be sent for process id: 3372, with parameters: E12, c-RTL-AMD64, 14.01.0218.015, RemotePowershell, mscorlib, M.W.RegistryKey.DeleteSubKey, System.InvalidOperationException, 829, 02.00.50727.4952.<br />
ErrorReportingEnabled: False</p></blockquote>
<p>The error will occur for both adding and removing database copies.  When removing a database copy from a DAG member the action is still successful despite the error, however when adding a database copy to a DAG member the action is not successful.</p>
<p>This is a known issue with Exchange 2010 SP1 upgrades as reported by the <a href="http://msexchangeteam.com/archive/2010/09/01/456094.aspx">Microsoft Exchange Team</a>.  The error occurs because of a registry key on the server that you are trying to add or remove the database copy from.</p>
<p>To locate the registry key you first need to know the GUID of the mailbox database.  From the Exchange Management Shell run the Get-MailboxDatabase command to view the GUID.</p>
<pre>[PS] C:\&gt;Get-MailboxDatabase "Mailbox Database 02" | fl guid

Guid : ccfd3c4a-6187-4253-aa31-99a15c33546c</pre>
<p>Once the GUID is known you can remove the offending registry key.</p>
<pre>[PS] C:\&gt;Remove-Item HKLM:\Software\Microsoft\ExchangeServer\v14\Replay\State\ccfd3c4a-6187-4253-aa31-99a15c33546c\DumpsterInfo</pre>
<p><em>Note: substitute your own GUID in place of the one in the above command string.</em></p>
<p>Repeat the command on any additional Exchange 2010 DAG member servers that you also want to add the database copy to.</p>
<p>After you have removed the registry key you can retry adding the database copy to the Exchange server, and it should now be successful.</p>
<p><img class="aligncenter size-medium wp-image-2179" title="exchange-2010-add-database-copy" src="http://exchangeserverpro.com/wp-content/uploads/2010/10/exchange-2010-add-database-copy-450x197.png" alt="" width="450" height="197" /></p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/health-check-exchange-2010-mailbox-server" title="How to Health Check an Exchange 2010 Mailbox Server">How to Health Check an Exchange 2010 Mailbox Server</a></li><li><a href="http://exchangeserverpro.com/how-to-install-updates-on-exchange-server-2010-database-availability-groups" title="How to Install Updates on Exchange Server 2010 Database Availability Groups">How to Install Updates on Exchange Server 2010 Database Availability Groups</a></li><li><a href="http://exchangeserverpro.com/set-automated-exchange-2010-database-backup-alert-email" title="How to Set Up an Automated Exchange 2010 Database Backup Alert Email">How to Set Up an Automated Exchange 2010 Database Backup Alert Email</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-passive-database-copies-included-backups-dag-members" title="Exchange 2010: Are Passive Database Copies Included in Backups of DAG Members?">Exchange 2010: Are Passive Database Copies Included in Backups of DAG Members?</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-online-mailbox-moves" title="Exchange 2010 FAQ: How to Minimise Downtime During Mailbox Migration from Exchange 2007">Exchange 2010 FAQ: How to Minimise Downtime During Mailbox Migration from Exchange 2007</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-2010-error-registry-key-has-subkeys-and-recursive-removes-are-not-supported-by-this-method">Exchange 2010 Error: Registry key has subkeys and recursive removes are not supported by this method.</a> is © 2010 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-2010-error-registry-key-has-subkeys-and-recursive-removes-are-not-supported-by-this-method/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exchange Server 2010 DAGs and VMware High Availability</title>
		<link>http://exchangeserverpro.com/exchange-server-2010-dags-and-vmware-high-availability</link>
		<comments>http://exchangeserverpro.com/exchange-server-2010-dags-and-vmware-high-availability#comments</comments>
		<pubDate>Mon, 23 Aug 2010 09:00:13 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[DAGs]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=1987</guid>
		<description><![CDATA[If you are planning to deploy Exchange Server 2010 Database Availability Groups, and you virtualize your Exchange environment, then it is important to understand the supported scenarios.]]></description>
			<content:encoded><![CDATA[<p>If you are planning to deploy Exchange Server 2010 Database Availability Groups, and you virtualize your Exchange environment, then it is important to understand the supported scenarios.</p>
<p>Microsoft makes it very clear in their <a href="http://technet.microsoft.com/en-gb/library/aa996719.aspx">system requirements for Exchange Server 2010</a>:</p>
<blockquote><p>Microsoft doesn&#8217;t support combining Exchange high availability solutions (database availability groups (DAGs)) with hypervisor-based clustering, high availability, or migration solutions that will move or automatically failover mailbox servers that are members of a DAG between clustered root servers. DAGs are supported in hardware virtualization environments provided that the virtualization environment doesn&#8217;t employ clustered root servers, or the clustered root servers have been configured to never failover or automatically move mailbox servers that are members of a DAG to another root server.</p></blockquote>
<p>In short, DAG members should have any virtualization high availability options disabled.</p>
<p>This is in slight contrast to the <a href="http://communities.vmware.com/docs/DOC-13275">advice from VMware</a> themselves:</p>
<blockquote><p>While the use of database availability groups on top of hypervisor based clustering is not a formerly (sic) supported configuration, internal VMware tests have shown that the two technologies can co-exist and can be a viable solution to ensure maximum recoverability in the case of a host failure.</p></blockquote>
<p>To paraphrase, it isn&#8217;t supported but we think you&#8217;ll be fine.</p>
<p>You might get some push back from customers or managers who have been sold on the idea of VMware HA for everything, or who take the line from VMware as implied support for the configuration.  But in the real world I prefer to go with what is <em>supported</em> over what is <em>possible</em>.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/microsoft-vs-vmware-on-exchange-virtualization-and-ha-best-practices" title="Microsoft vs VMware on Exchange Virtualization and HA Best Practices">Microsoft vs VMware on Exchange Virtualization and HA Best Practices</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-error-registry-key-has-subkeys-and-recursive-removes-are-not-supported-by-this-method" title="Exchange 2010 Error: Registry key has subkeys and recursive removes are not supported by this method.">Exchange 2010 Error: Registry key has subkeys and recursive removes are not supported by this method.</a></li><li><a href="http://exchangeserverpro.com/exchange-server-2010-database-names" title="Exchange Server 2010 Database Names">Exchange Server 2010 Database Names</a></li><li><a href="http://exchangeserverpro.com/powershell-script-create-mailbox-size-report-exchange-server-2010" title="Get-MailboxReport.ps1 &#8211; PowerShell Script to Generate Mailbox Reports">Get-MailboxReport.ps1 &#8211; PowerShell Script to Generate Mailbox Reports</a></li><li><a href="http://exchangeserverpro.com/avoid-running-transaction-log-disk-space-exchange-servers" title="Avoid Running Out of Transaction Log Disk Space on Exchange Servers">Avoid Running Out of Transaction Log Disk Space on Exchange Servers</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-server-2010-dags-and-vmware-high-availability">Exchange Server 2010 DAGs and VMware High Availability</a> is © 2010 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-server-2010-dags-and-vmware-high-availability/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Exchange Server 2010 Database Names</title>
		<link>http://exchangeserverpro.com/exchange-server-2010-database-names</link>
		<comments>http://exchangeserverpro.com/exchange-server-2010-database-names#comments</comments>
		<pubDate>Wed, 06 May 2009 20:00:06 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[DAGs]]></category>
		<category><![CDATA[Exchange 2010]]></category>

		<guid isPermaLink="false">http://www.capslockassassin.com/?p=676</guid>
		<description><![CDATA[As with earlier versions of Exchange Server when you first install Exchange Server 2010 it configures the first mailbox database for you.  In Exchange Server 2007 this database was placed in a Storage Group called &#8220;First Storage Group&#8221; and was simply named &#8220;Mailbox Database&#8221;. This was not a problem in earlier versions of Exchange.  Databases [...]]]></description>
			<content:encoded><![CDATA[<p>As with earlier versions of Exchange Server when you first install Exchange Server 2010 it configures the first mailbox database for you.  In Exchange Server 2007 this database was placed in a Storage Group called &#8220;First Storage Group&#8221; and was simply named &#8220;Mailbox Database&#8221;.</p>
<p>This was not a problem in earlier versions of Exchange.  Databases were always named relative to the server they were hosted on and the storage group they were contained within, so a database named &#8220;Mailbox Database&#8221; on SERVER01 had a unique name such as &#8220;SERVER01\First Storage Group\Mailbox Database&#8221; which would not conflict with another database named &#8220;SERVER01\Second Storage Group\Mailbox Database&#8221;, even though they are both named &#8220;Mailbox Database&#8221;.</p>
<p>When you look at the first mailbox database on your Exchange Server 2010 server you&#8217;ll notice the naming is different.  Here is an example.</p>
<p><a href="http://www.exchangeserverpro.com/wp-content/uploads/2009/05/databasenaming.png"><img class="alignnone size-full wp-image-677" title="databasenaming" src="http://www.exchangeserverpro.com/wp-content/uploads/2009/05/databasenaming.png" alt="databasenaming" width="500" height="224" /></a></p>
<p>The first database name has a random number appended to it that is designed to be unique to that Exchange organisation.  That seems strange until you consider it in the context of the new Exchange Server 2010 database concepts.  Here it is explained by <a href="http://www.robichaux.net/blog/2009/04/exchange-2010-database-naming.php">Paul Robichaux</a>:</p>
<blockquote><p>Here&#8217;s the deal: in Exchange 2007 and earlier, mailbox and public folder databases are children of server objects. That means that you can uniquely identify a database by a combination of its name (which may not be unique throughout the forest) and its server name (which is guaranteed by AD to be unique). In Exchange 2010, the database is no longer &#8220;owned&#8221; by a particular server. Instead, it&#8217;s a member of a DAG, and it may actually become active on any server in the DAG at any time. That means that your database names shouldn&#8217;t include the name of the server. DAGs can span AD sites, too, so guess what: don&#8217;t use the AD site name (or the name of the physical datacenter) either. Otherwise the name of the database may not correspond in any way to where the database is actually active.</p></blockquote>
<p>To learn more about Database Availability Groups <a href="http://technet.microsoft.com/en-us/library/dd351223(EXCHG.140).aspx">check out this Technet article</a>.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-2010-error-registry-key-has-subkeys-and-recursive-removes-are-not-supported-by-this-method" title="Exchange 2010 Error: Registry key has subkeys and recursive removes are not supported by this method.">Exchange 2010 Error: Registry key has subkeys and recursive removes are not supported by this method.</a></li><li><a href="http://exchangeserverpro.com/exchange-server-2010-dags-and-vmware-high-availability" title="Exchange Server 2010 DAGs and VMware High Availability">Exchange Server 2010 DAGs and VMware High Availability</a></li><li><a href="http://exchangeserverpro.com/powershell-script-create-mailbox-size-report-exchange-server-2010" title="Get-MailboxReport.ps1 &#8211; PowerShell Script to Generate Mailbox Reports">Get-MailboxReport.ps1 &#8211; PowerShell Script to Generate Mailbox Reports</a></li><li><a href="http://exchangeserverpro.com/avoid-running-transaction-log-disk-space-exchange-servers" title="Avoid Running Out of Transaction Log Disk Space on Exchange Servers">Avoid Running Out of Transaction Log Disk Space on Exchange Servers</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-wildcard-ssl-certificates" title="Exchange 2010 FAQ: Are Wildcard SSL Certificates Supported?">Exchange 2010 FAQ: Are Wildcard SSL Certificates Supported?</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-server-2010-database-names">Exchange Server 2010 Database Names</a> is © 2009 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-server-2010-database-names/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

