<?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>Tue, 22 May 2012 11:37:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>You Can&#8217;t Add the First Passive Copy of a Mailbox Database While Circular Logging is Enabled</title>
		<link>http://exchangeserverpro.com/add-passive-copy-mailbox-database-circular-logging-enabled</link>
		<comments>http://exchangeserverpro.com/add-passive-copy-mailbox-database-circular-logging-enabled#comments</comments>
		<pubDate>Sat, 10 Mar 2012 11:51:29 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[Circular Logging]]></category>
		<category><![CDATA[DAGs]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Mailbox Database]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=4590</guid>
		<description><![CDATA[On an Exchange Server 2010 server you may encounter an error when you try to add a database copy to a mailbox database that is enabled for circular logging.]]></description>
			<content:encoded><![CDATA[<p>On an <a href="http://exchangeserverpro.com">Exchange 2010</a> server when you attempt to add a mailbox database copy you may receive an error:</p>
<p>Database &#8220;MB-BR-01&#8243; has circular logging enabled. You can&#8217;t add the first passive copy of a mailbox database while circular logging is enabled. Please disable circular logging before adding the first passive copy of this mailbox database.</p>
<div id="attachment_4591" class="wp-caption aligncenter" style="width: 600px"><img class="size-full wp-image-4591" title="exchange-2010-cant-add-first-passive-copy-01" src="http://exchangeserverpro.com/wp-content/uploads/2012/03/exchange-2010-cant-add-first-passive-copy-01.jpg" alt="Error adding first database copy" width="590" height="327" /><p class="wp-caption-text">Error adding first database copy</p></div>
<p>This error will occur if you&#8217;re trying to add the first database copy for a mailbox database that already has circular logging enabled.</p>
<div id="attachment_4592" class="wp-caption aligncenter" style="width: 454px"><img class="size-full wp-image-4592" title="exchange-2010-cant-add-first-passive-copy-02" src="http://exchangeserverpro.com/wp-content/uploads/2012/03/exchange-2010-cant-add-first-passive-copy-02.jpg" alt="Circular logging enabled for a mailbox database" width="444" height="253" /><p class="wp-caption-text">Circular logging enabled for a mailbox database</p></div>
<p>The reason this occurs is that <a href="http://technet.microsoft.com/en-us/library/dd298080.aspx">circular logging operates in two different modes</a> depending on whether the mailbox database has copies or not.</p>
<p>Circular logging for non-replicated databases (just referred to as &#8220;circular logging&#8221;) operates in a constant state of log files being written, closed, and overwritten.</p>
<p>Circular logging for replicated databases (known as Continuous Replication Circular Logging, or CRCL) operates differently. With CRCL a log file is written, closed, and then needs to be shipped to the other DAG members that hold a replica of that database and replayed into their copy of the database as well. It is only when the reply has occurred on all other replicas that a log file is removed.</p>
<p>So, in order to add the first database copy for a mailbox database that has circular logging enabled, you must first disable circular logging by unticking the box or running the following <a href="http://technet.microsoft.com/en-us/library/bb123971.aspx">Set-MailboxDatabase</a> cmdlet the Exchange Management Shell.</p>
<pre>Set-MailboxDatabase mb-br-01 -CircularLoggingEnabled $false</pre>
<p>The database must then be dismounted and remounted for the change to take effect. After this you can add the database copy as originally intended.</p>
<p>After the first database copy has been added you can re-enable circular logging if you wish.</p>
<pre>Set-MailboxDatabase mb-br-01 -CircularLoggingEnabled $true</pre>
<p>Unlike a mailbox database with no additional copies, you can enable circular logging for a mailbox database that has copies in a DAG without dismounting and remounting the database.</p>
<p>As a final word, note that a similar issue will occur if you have CRCL enabled for a mailbox database and try to remove the last database copy. In that situation you will need to disable circular logging, remove the last copy so that only the standalone database exists, and then re-enable circular logging again if you wish.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-2010-database-portability-disaster-recovery" title="Exchange Server 2010: Using Database Portability for Disaster Recovery">Exchange Server 2010: Using Database Portability for Disaster Recovery</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-mailbox-database-backup-restore-windows-server-backup" title="Exchange 2010 Mailbox Database Backup and Restore with Windows Server Backup">Exchange 2010 Mailbox Database Backup and Restore with Windows Server Backup</a></li><li><a href="http://exchangeserverpro.com/how-to-reseed-a-failed-mailbox-database-copy-in-exchange-server-2010" title="How to Reseed a Failed Mailbox Database Copy in Exchange Server 2010">How to Reseed a Failed Mailbox Database Copy in Exchange Server 2010</a></li><li><a href="http://exchangeserverpro.com/how-to-find-exchange-server-2010-databases-with-circular-logging-enabled" title="How to Find Exchange Server 2010 Databases with Circular Logging Enabled">How to Find Exchange Server 2010 Databases with Circular Logging Enabled</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></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/add-passive-copy-mailbox-database-circular-logging-enabled">You Can&#8217;t Add the First Passive Copy of a Mailbox Database While Circular Logging is Enabled</a> is © 2012 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/add-passive-copy-mailbox-database-circular-logging-enabled/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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/managing-the-replication-source-for-exchange-server-2010-mailbox-database-reseed" title="Managing the Replication Source for Exchange Server 2010 Mailbox Database Reseed">Managing the Replication Source for Exchange Server 2010 Mailbox Database Reseed</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/add-passive-copy-mailbox-database-circular-logging-enabled" title="You Can&#8217;t Add the First Passive Copy of a Mailbox Database While Circular Logging is Enabled">You Can&#8217;t Add the First Passive Copy of a Mailbox Database While Circular Logging is Enabled</a></li><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></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>3</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/add-passive-copy-mailbox-database-circular-logging-enabled" title="You Can&#8217;t Add the First Passive Copy of a Mailbox Database While Circular Logging is Enabled">You Can&#8217;t Add the First Passive Copy of a Mailbox Database While Circular Logging is Enabled</a></li><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/announcing-exchange-2010-boot-camp-plus" title="Announcing Exchange 2010 Boot Camp PLUS">Announcing Exchange 2010 Boot Camp PLUS</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/add-passive-copy-mailbox-database-circular-logging-enabled" title="You Can&#8217;t Add the First Passive Copy of a Mailbox Database While Circular Logging is Enabled">You Can&#8217;t Add the First Passive Copy of a Mailbox Database While Circular Logging is Enabled</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-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/announcing-exchange-2010-boot-camp-plus" title="Announcing Exchange 2010 Boot Camp PLUS">Announcing Exchange 2010 Boot Camp PLUS</a></li><li><a href="http://exchangeserverpro.com/how-to-prevent-meeting-requests-appearing-in-delegates-outlook-calendars" title="How to Prevent Meeting Requests Appearing in Delegate&#8217;s Outlook Calendars">How to Prevent Meeting Requests Appearing in Delegate&#8217;s Outlook Calendars</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>

