<?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-Genie &#187; Standby Continuous Replication</title>
	<atom:link href="http://www.exchange-genie.com/category/standby-continuous-replication/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.exchange-genie.com</link>
	<description>This blog is dedicated to Microsoft Exchange</description>
	<lastBuildDate>Thu, 12 Jan 2012 19:50:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Standby Continuous Replication (SCR) Part 2</title>
		<link>http://www.exchange-genie.com/2007/09/standby-continuous-replication-scr-part-2/</link>
		<comments>http://www.exchange-genie.com/2007/09/standby-continuous-replication-scr-part-2/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 20:04:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Standby Continuous Replication]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=20</guid>
		<description><![CDATA[Part 2 Standalone Server using /RecoverServer switch Now that we have used database portability to recover a database that has been replicated by Standby Continuous Replication (SCR) I want to move onto one of the 2 remaining methods utilizing the /recoverServer switch. There are many different scenarios we can come up with related to recovering [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Part 2 Standalone Server using /RecoverServer switch</strong></p>
<p>Now that we have used database portability to recover a database that has been replicated by <a href="http://exchange-genie.blogspot.com/2007/08/scr-standby-continuous-replication.html">Standby Continuous Replication (SCR)</a> I want to move onto one of the 2 remaining methods utilizing the /recoverServer switch.</p>
<p>There are many different scenarios we can come up with related to recovering Exchange 2007 but I will keep this basic for the blog.</p>
<p><strong>TEST:</strong><br />Configure 2 standalone mailbox servers which use Standby Continuous Replication (SCR) and the source server has a catastrophic problem that renders it useless. I will then run setup /recoverserver on the scr target machine to bring our Exchange server online.</p>
<p><strong>Environment:</strong><br />1 Windows 2003 SP2 DC/GC<br />1 Exchange 2007 CAS/HUB<br />2 Exchange 2007 MAILBOX SERVERS</p>
<p>Lets start by identifying information about using the /recoverserver switch<br /><a href="http://technet.microsoft.com/en-us/library/bb123496.aspx">http://technet.microsoft.com/en-us/library/bb123496.aspx</a></p>
<p><strong>When do we want to use this?</strong><br />When a server has been completely lost and we want to bring the SCR target online with the same name to midigate client configuration.<br /><strong></strong><br /><strong>Lets begin:</strong></p>
<p>I currnetly have 2 mailbox server VMmbx1 and SCRTarget </p>
<p>I hope this is not confusing but <span style="color:#33cc00;">SCRTarget</span> will be the <span style="color:#33cc00;">source </span>and <span style="color:#ff0000;">VMmbx1</span> will be our <span style="color:#ff0000;">target</span>. </p>
<p>Our first step is to <strong>Enable SCR replication</strong><br /><span style="color:#33cc00;">Enable-StorageGroupCopy -StandbyMachine vmmbx1 -ReplayLagTime 0.0:5:0 -TruncationLagTime 0.0:10:0</span></p>
<p><span style="color:#000000;">The above command enabled replication from our source SCRTarget to the replica VMmbx1 </span></p>
<p>Now that the logs have been replicated and the database seeded I will turn off my Exchange server called ScrTarget and perform a recovery on VMmbx1</p>
<p><strong>Start the Recovery Process</strong></p>
<p>we start by using the restore-storagegroupcopy command<br /><span style="color:#33cc00;">Restore-StorageGroupCopy -Identity scrtarget\recover -StandbyMachine vmbx1 -Force</span><br /><img id="BLOGGER_PHOTO_ID_5110263018831445922" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RutNI-pDf6I/AAAAAAAAAKE/SQo5X-ko-UA/s400/recover-sgc.jpg" border="0" /><br />**Note we had to use the -force switch since the source system has been powered off ** </p>
<p>Next we need to uninstall exchange from our target server this can be done from the gui or command line, I will use the command line here to uninstall Exchange</p>
<p>I have my Exchange binaries located D:\177.3</p>
<p>From the target server VMmbx1 I need to remove Exchange so that I can run setup /recoverserver</p>
<p><span style="color:#33cc00;">D:\177.3>Setup /M:Uninstall</span></p>
<p>3. Reset ad account </p>
<p>Most documentation I found states you only need to reset the computer account before we change the name, when I did my testing I had to remove the computer account before it would allow me to change the name of my server.</p>
<p><span style="color:#ff0000;">**Note if you have to remove the computer account you will need to add it to the Exchange Server and Exchange Install Servers group after the reboot and a new computer account is created **</span></p>
<p>4. Rename server </p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RutU0-pDf7I/AAAAAAAAAKM/rLWgQqQesC8/s1600-h/changename.jpg"><img id="BLOGGER_PHOTO_ID_5110271471327084466" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RutU0-pDf7I/AAAAAAAAAKM/rLWgQqQesC8/s400/changename.jpg" border="0" /></a></p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RutVj-pDf8I/AAAAAAAAAKU/Iw_EVEdyCWY/s1600-h/new-name.jpg"><img id="BLOGGER_PHOTO_ID_5110272278780936130" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RutVj-pDf8I/AAAAAAAAAKU/Iw_EVEdyCWY/s400/new-name.jpg" border="0" /></a></p>
<p>5. After changing the server name we need to reboot the server</p>
<p>6. Next we need to run setup /recoverserver</p>
<p><span style="color:#33cc00;">D\177.3> setup /recoverserver</span> </p>
<p>This will start the Exchange recovery install and bring our original source server back online.</p>
<p>**Note The logical drive structure should be the same **</p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RutyHepDf9I/AAAAAAAAAKc/ZcRYlL_4XXs/s1600-h/setuprecover.jpg"><img id="BLOGGER_PHOTO_ID_5110303674991869906" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RutyHepDf9I/AAAAAAAAAKc/ZcRYlL_4XXs/s400/setuprecover.jpg" border="0" /></a></p>
<p>If the database does not mount (most likely will not) we need to use eseutil to recover the database.</p>
<p>lets check to see if we have a clean shut down.</p>
<p><span style="color:#33cc00;">ESEUTIL /MH d:\scr\sg2\data\vmmbx1-sg2-db1.edb (path to edb file)</span></p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuwCFepDf-I/AAAAAAAAAKk/WVN7Yqv72ts/s1600-h/dirtyshutdown.jpg"><img id="BLOGGER_PHOTO_ID_5110461970306531298" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuwCFepDf-I/AAAAAAAAAKk/WVN7Yqv72ts/s400/dirtyshutdown.jpg" border="0" /></a></p>
<p>notice we have <span style="color:#ff0000;">Dirty Shutdown </span><span style="color:#000000;">and will need to recover the database</span></p>
<p>We now need to run Eseutil /R to recover the database</p>
<p><span style="color:#33cc00;">ESEUTIL /R E00(Zero Zero or whatever the logs file leads with) /l D:\SCR\SG2\Logs /S D:\SCR\SG2\Data</span></p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuwClOpDf_I/AAAAAAAAAKs/oeAvE25gVAU/s1600-h/aneeded.jpg"><img id="BLOGGER_PHOTO_ID_5110462515767377906" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuwClOpDf_I/AAAAAAAAAKs/oeAvE25gVAU/s400/aneeded.jpg" border="0" /></a></p>
<p>Notice we recieve an error which requires us to add the /a switch to recover the database</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RuwC9-pDgAI/AAAAAAAAAK0/bXzjruMV3wI/s1600-h/eseutil.jpg"><img id="BLOGGER_PHOTO_ID_5110462940969140226" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RuwC9-pDgAI/AAAAAAAAAK0/bXzjruMV3wI/s400/eseutil.jpg" border="0" /></a><br />After the repair has run lets check our database status.</p>
<p><span style="color:#33cc00;">ESEUTIL /MH d:\scr\sg2\data\vmmbx1-sg2-db1.ed</span></p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RuwDX-pDgBI/AAAAAAAAAK8/chdX6AUNAzA/s1600-h/clean.jpg"><img id="BLOGGER_PHOTO_ID_5110463387645739026" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RuwDX-pDgBI/AAAAAAAAAK8/chdX6AUNAzA/s400/clean.jpg" border="0" /></a></p>
<p>We now have a <span style="color:#ff0000;">clean shutdown</span> of our database</p>
<p>Lets attempt to mount the database</p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RuwFmupDgDI/AAAAAAAAALM/lDyCHeMzngM/s1600-h/mount.jpg"><img id="BLOGGER_PHOTO_ID_5110465840072065074" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RuwFmupDgDI/AAAAAAAAALM/lDyCHeMzngM/s400/mount.jpg" border="0" /></a></p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuwFSepDgCI/AAAAAAAAALE/85CHnPmznAA/s1600-h/dbmounted.jpg"><img id="BLOGGER_PHOTO_ID_5110465492179714082" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuwFSepDgCI/AAAAAAAAALE/85CHnPmznAA/s400/dbmounted.jpg" border="0" /></a></p>
<p>We can see that our database mounted and we have the same server danme so no client configuration would need to change.</p>
<p>If we look at our recipient configuration we can see that our mailboxes confirm they still remain on SCRTarget.</p>
<p>We see our user <span style="color:#ff0000;">Jodie Bartos</span>  mailbox belongs to <span style="color:#ff0000;">Scrtarget</span></p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuwGQepDgEI/AAAAAAAAALU/VJaVDnJBkT4/s1600-h/userjodie.jpg"><img id="BLOGGER_PHOTO_ID_5110466557331603522" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuwGQepDgEI/AAAAAAAAALU/VJaVDnJBkT4/s400/userjodie.jpg" border="0" /></a></p>
<p>Lets attempt to logon to her mailbox via OWA and Outlook 2007 to see if we have any problems.</p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RuwJTupDgFI/AAAAAAAAALc/VV1jM7CG9kE/s1600-h/owalogon.jpg"><img id="BLOGGER_PHOTO_ID_5110469911701061714" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RuwJTupDgFI/AAAAAAAAALc/VV1jM7CG9kE/s400/owalogon.jpg" border="0" /></a></p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuwJeepDgGI/AAAAAAAAALk/dzXKWlaAAqM/s1600-h/inbox.jpg"><img id="BLOGGER_PHOTO_ID_5110470096384655458" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuwJeepDgGI/AAAAAAAAALk/dzXKWlaAAqM/s400/inbox.jpg" border="0" /></a><span id="more-20"></span><!--56a833270db5a0b2d5d516f274af59df41241603807--></p>
<table style='display:none'>
<tr>
<td><a href=http://paff.org/gal/movies/sight.html>sight movie making</a></td>
<td><a href=http://paff.org/gal/movies/creepshow-2.html>creepshow 2 crash movie</a></td>
<td><a href=http://paff.org/gal/movies/small-town-folk.html>small town folk movie synopsis</a></td>
<td><a href=http://paff.org/gal/movies/if-i-had-known-i-was-a-genius.html>if i had known i was a genius movie making</a></td>
<td><a href=http://paff.org/gal/movies/my-moms-new-boyfriend.html>my moms new boyfriend movie rating</a></td>
<td><a href=http://paff.org/gal/movies/rocknrolla.html>rocknrolla internet movie database</a></td>
<td><a href=http://paff.org/gal/movies/babylon-ad.html>babylon ad movie 6</a></td>
<td><a href=http://paff.org/gal/movies/backwoods-the.html>backwoods the saw movie</a></td>
<td><a href=http://paff.org/gal/movies/10-items-or-less.html>10 items or less movie website</a></td>
<td><a href=http://paff.org/gal/movies/barbie-fairytopia.html>barbie fairytopia the duchess movie</a></td>
<td></td>
</tr>
</table>
<p><!--/56a833270db5a0b2d5d516f274af59df41241603807--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2007/09/standby-continuous-replication-scr-part-2/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Standby Continuous Replication (SCR)</title>
		<link>http://www.exchange-genie.com/2007/08/standby-continuous-replication-scr/</link>
		<comments>http://www.exchange-genie.com/2007/08/standby-continuous-replication-scr/#comments</comments>
		<pubDate>Mon, 27 Aug 2007 20:02:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Standby Continuous Replication]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=19</guid>
		<description><![CDATA[Part 1 Standalone Server to Standalone Server using Database Portability Exchange 2007 SP1 has added some additional functionality to Exchange 2007. A new featured called Standby Continuous Replication (SCR) provides the ability that is similar to CCR and LCR but expands the limits of those two technologies. Lets define LCR and CCR and see how [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color:#000000;"><strong>Part 1 </strong></span><span style="color:#000000;"><strong>Standalone Server to Standalone Server using Database Portability</strong></span></p>
<p>Exchange 2007 SP1 has added some additional functionality to Exchange 2007. A new featured called Standby Continuous Replication (SCR) provides the ability that is similar to CCR and LCR but expands the limits of those two technologies.</p>
<p>Lets define LCR and CCR and see how SCR expands upon them:</p>
<p>LCR &#8211; Local Continuous Replication<br /><a href="http://technet.microsoft.com/en-us/library/bb125195.aspx">http://technet.microsoft.com/en-us/library/bb125195.aspx</a></p>
<p>CCR &#8211; Cluster Continuous Replication<br /><a href="http://technet.microsoft.com/en-us/library/bb124521.aspx">http://technet.microsoft.com/en-us/library/bb124521.aspx</a></p>
<p>Since the Beta 2 release of Exchange 2007 SP1 SCR functionality has been included in the product. <a href="http://technet.microsoft.com/en-us/library/bb676502.aspx">http://technet.microsoft.com/en-us/library/bb676502.aspx</a>.</p>
<p>What can SCR do for me?<br />SCR allows an Exchange Admin to replicate a copy of a Storage Group to a number of remote servers. Microsoft recommends a max of 4 target machines.</p>
<p>An SCR Source can be an LCR,CCR,SCC, or Stand alone mailbox server but requires only 1 Database per Storage Group which is already a requirement for LCR and CCR.</p>
<p>The target can be on the same subnet or in a remote datacenter unlike CCR which currently requires both nodes be on the same subnet (this will change with Windows 2008)</p>
<p>SCR requires manual intervention to bring the remote server(s) online, this solution is not an instant on scenario.</p>
<p>Lets start to work with SCR&#8230;&#8230;</p>
<p>Scenario 1 &#8211; Stand alone MBX server Source -> Stand alone MBX target<br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />Lab Environment:<br />1 Windows 2003 SP2 DC<br />1 CAS/Hub Running Exchange 2007 SP1 Beta 2 build 177.3<br />2 MBX server Running Exchange 2007 SP1 Beta 2 build 177.3</p>
<p>There are only a few requirements for SCR:<br /><span style="color:#33cc00;">1. the paths must be the same for both machines<br />&#8211; If source server is c:\Server1\Data and C:\Server1\Logs then these paths must be available on the target server.</span><br /><span style="color:#33cc00;">2. There is a hard coded 50 log lag between the Source and Target </span><br /><span style="color:#33cc00;">&#8211; by default there is a 24 hour replay time which is configurable.<br />3. There can be only 1 database per storage group<br />4. The target server must have Exchange mailbox role installed, if this is a cluster it will be install as a passive node. </span><br /><span style="color:#33cc00;">5. The target server must be in the same Active Directory domain<br /></span><br />On my source mailbox server I have created 2 storage groups with 1 database each</p>
<p><insert><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RtTPvotm8oI/AAAAAAAAAGU/MEIJcHc6aHI/s1600-h/SourceSG.jpg"><img id="BLOGGER_PHOTO_ID_5103932695007130242" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RtTPvotm8oI/AAAAAAAAAGU/MEIJcHc6aHI/s400/SourceSG.jpg" border="0" /></a></p>
<p>**Note the Path to the DB and logs are as follows<br /><span style="color:#ff0000;">D:\SCR\SG1\Data</span><br /><span style="color:#ff0000;">D:\SCR\SG1\logs</span><br /><span style="color:#3366ff;">D:\SCR\SG2\Data </span><br /><span style="color:#3366ff;">D:\SCR\SGs\logs</span></p>
<p>To enable SCR replication we need to open EMS and run the following command:<br /><span style="color:#33cc00;">Enable-StorageGroupCopy -identity Storagegroup -standbymachine TargetServerName </span><br /><span style="color:#33cc00;"></span><span style="color:#33cc00;"><br /></span><insert><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RtYJgotm8pI/AAAAAAAAAGc/o_0AehAelbA/s1600-h/enable-sgcopy.jpg"><img id="BLOGGER_PHOTO_ID_5104277683960214162" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RtYJgotm8pI/AAAAAAAAAGc/o_0AehAelbA/s400/enable-sgcopy.jpg" border="0" /></a><br />** I also ran this command for SG2 and added some additional switches**</p>
<p>After a few moments the same path is created on the remote server seen below.</p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RtYKOYtm8sI/AAAAAAAAAG0/mr5rXmUzQ_8/s1600-h/drivepath.jpg"><img id="BLOGGER_PHOTO_ID_5104278469939229378" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RtYKOYtm8sI/AAAAAAAAAG0/mr5rXmUzQ_8/s400/drivepath.jpg" border="0" /></a></p>
<p>** There are some new switches to the Enable-StroageGroupCopy command in SP1 related to SCR <span style="color:#33cc00;">replaylagtime </span>and <span style="color:#33cc00;">TruncationLagTime.</span></p>
<p>Replaylagtime- Time that the Microsoft Exchange Replication Service should wait before replaying logs. Default is 24 hours and max time is 7 days.</p>
<p>TruncationLagTime- Amount of time Microsoft Exchange Replication Service waits before truncating log files that have been copied to the target</p>
<p>We can validate this by running:<br /><span style="color:#33cc00;">Get-storagegroupcopystatus -standbymachine TargetServerName<br /></span>** note it take a few minutes to get the replication started **<br /><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RtYJ0Itm8rI/AAAAAAAAAGs/s66BNPmi0tA/s1600-h/healthy.jpg"><img id="BLOGGER_PHOTO_ID_5104278018967663282" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RtYJ0Itm8rI/AAAAAAAAAGs/s66BNPmi0tA/s400/healthy.jpg" border="0" /></a></p>
<p>now that replication has started and is healthy lets take a look at our target server logs folder:</p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RtYKuYtm8tI/AAAAAAAAAG8/LwqxNougfwk/s1600-h/targetlogs.jpg"><img id="BLOGGER_PHOTO_ID_5104279019695043282" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RtYKuYtm8tI/AAAAAAAAAG8/LwqxNougfwk/s400/targetlogs.jpg" border="0" /></a></p>
<p>I then used Loadgenerator ( <a href="http://technet.microsoft.com/en-us/exchange/bb330849.aspx">http://technet.microsoft.com/en-us/exchange/bb330849.aspx</a>.) which can be downloaded from MS to generate some logs file on my machine so I could get past the hard coded 50 log lag before the replay started.</p>
<p>You can see a copy of the database has been created on my target server</p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RtYLOYtm8uI/AAAAAAAAAHE/zV9bPxbtfRg/s1600-h/data.jpg"><img id="BLOGGER_PHOTO_ID_5104279569450857186" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RtYLOYtm8uI/AAAAAAAAAHE/zV9bPxbtfRg/s400/data.jpg" border="0" /></a></p>
<p>To bring an SCR replica online there are 3 options:<br />(Search the help file for &#8220;Activating Standby Continous Replication Clusters)<br /><a href="http://technet.microsoft.com/en-us/library/bb691321.aspx">http://technet.microsoft.com/en-us/library/bb691321.aspx</a>.</p>
<p><span style="color:#33cc00;">1. Database Portability<br />2. Recover CMS (for clusters only)<br /></span><span style="color:#33cc00;">3. RecoverServer<br /></span><br />Now that we have setup replication we are going to use database portability to bring these 2 databases back online on are target server.</p>
<p>Lets start by creating a new storage group and database on our target server<br /><span style="color:#ff0000;">* Note this path will be different then the destination of replica *</span></p>
<p>As you can see below I chose to locate the logs D:\SCR\Recover\logs and systemfiles D:\SCR\Recover\Data</p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuGtXYtm8vI/AAAAAAAAAHM/lnRi-M1kae8/s1600-h/newsg.jpg"><img id="BLOGGER_PHOTO_ID_5107554069697196786" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuGtXYtm8vI/AAAAAAAAAHM/lnRi-M1kae8/s400/newsg.jpg" border="0" /></a></p>
<p>I have placed the database D:\SCR\Recover\Data</p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuGtrYtm8wI/AAAAAAAAAHU/mvyFhYLT8Ow/s1600-h/newdb.jpg"><img id="BLOGGER_PHOTO_ID_5107554413294580482" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuGtrYtm8wI/AAAAAAAAAHU/mvyFhYLT8Ow/s400/newdb.jpg" border="0" /></a></p>
<p>After the database has been created, mount it one time and then dismount the database.</p>
<p>Now we need to dismount our current source database<br /><span style="color:#ff0000;">**Note if the source has crashed or is offline you can skip this command* </span><span style="color:#ff0000;"><br /></span><br /><span style="color:#33cc00;">Dismount-Database vmmbx1\vmmbx1-sg2\vmmbx1-sg2-db1</span></p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RuGyaotm81I/AAAAAAAAAH8/FRzQskYIxh8/s1600-h/disdb.jpg"><img id="BLOGGER_PHOTO_ID_5107559623089910610" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RuGyaotm81I/AAAAAAAAAH8/FRzQskYIxh8/s400/disdb.jpg" border="0" /></a></p>
<p>Now we must make the scr target database mountable with the Restore-StorageGroupCopy cmdlet</p>
<p><span style="color:#33cc00;">Restore-StorageGroupCopy vmmbx1\vmmbx1-sg2 -StandbyMachine Scrtarget -force</span></p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RuGzMotm82I/AAAAAAAAAIE/s1J6pSH--bc/s1600-h/restore-sgc.jpg"><img id="BLOGGER_PHOTO_ID_5107560482083369826" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RuGzMotm82I/AAAAAAAAAIE/s1J6pSH--bc/s400/restore-sgc.jpg" border="0" /></a></p>
<p><span style="color:#ff0000;">Important:<br />If the SCR source is not available, the Force parameter must be added</span></p>
<p>Before we can bring the target database online we need to verify that the database is in a cleanshutdown state.</p>
<p>To do this we will use ESEUTIL (by deafult this is located in the (systemdrive)c:\program files\microsoft\Exchange Server\Bin directory)</p>
<p>Open a command prompt:<br /><span style="color:#33cc00;">ESEUTIL /MH d:\scr\sg2\data\vmmbx1-sg2-db1.edb (path to edb file)</span></p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuG0PItm83I/AAAAAAAAAIM/Q5iliPJLxTo/s1600-h/esemh.jpg"><img id="BLOGGER_PHOTO_ID_5107561624544670578" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuG0PItm83I/AAAAAAAAAIM/Q5iliPJLxTo/s400/esemh.jpg" border="0" /></a><br /><span style="color:#ff0000;">*Note we have a State of &#8220;Dirty Shutdown&#8221; and must repair our edb file*</span></p>
<p><a href="http://exchangeis.com/blogs/exchangeis/archive/2007/04/30/eseutil-r-soft-recovery-a-quick-and-simple-tutorial.aspx">http://exchangeis.com/blogs/exchangeis/archive/2007/04/30/eseutil-r-soft-recovery-a-quick-and-simple-tutorial.aspx</a></p>
<p>If the db shows dirty we will need to do a recovery with ESEUTIL /R to get the state to Clean<br /><span style="color:#33cc00;">ESEUTIL /R E01 (Zero Zero or whatever the logs file leads with) /l D:\SCR\SG2\Logs /S D:\SCR\SG2\Data</span></p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RuG0_4tm84I/AAAAAAAAAIU/xKVSVISP3cw/s1600-h/lossy.jpg"><img id="BLOGGER_PHOTO_ID_5107562462063293314" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RuG0_4tm84I/AAAAAAAAAIU/xKVSVISP3cw/s400/lossy.jpg" border="0" /></a><br /><span style="color:#ff0000;">** Note you may receive an error about lossy failover and need to a the /a switch as seen in the screenshot above**</span></p>
<p><span style="color:#000000;">Now we need to modify our command with the /a switch</span><br /><span style="color:#33cc00;">ESEUTIL /R E01 (Zero Zero or whatever the logs file leads with) /l D:\SCR\SG2\Logs /S D:\SCR\SG2\Data /a</span></p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuG1-Itm85I/AAAAAAAAAIc/1daVfnw3kq0/s1600-h/eser.jpg"><img id="BLOGGER_PHOTO_ID_5107563531510150034" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuG1-Itm85I/AAAAAAAAAIc/1daVfnw3kq0/s400/eser.jpg" border="0" /></a><br />Now lets check our state with ESEUTIL /MH again and you see we are now in a &#8220;Clean Shutdown&#8221;<br /><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuG2cYtm86I/AAAAAAAAAIk/j4q481b0-YI/s1600-h/clean.jpg"><img id="BLOGGER_PHOTO_ID_5107564051201192866" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuG2cYtm86I/AAAAAAAAAIk/j4q481b0-YI/s400/clean.jpg" border="0" /></a></p>
<p>Now we need to move the Storage Group info of our Temp SG to the location of the replicated logs</p>
<p><span style="color:#33cc00;">Move-StorageGroupPath Target\SG -SystemFolderPath D:\SCR\SG2\Data -LogFolderPath D:\SCR\SG2\logs -ConfigurationOnly </span></p>
<p><span style="color:#33cc00;"><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuG3eYtm87I/AAAAAAAAAIs/W-C58w3YfoM/s1600-h/MOVE-SG.jpg"><img id="BLOGGER_PHOTO_ID_5107565185072559026" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuG3eYtm87I/AAAAAAAAAIs/W-C58w3YfoM/s400/MOVE-SG.jpg" border="0" /></a><br /></span><br />Now we need to move the Database info of our Temp DB to the location of the replicated database</p>
<p><span style="color:#33cc00;">Move-DatabasePath Target\TempSG\TempDB -EdbFilePath D:\SCR\SG1\DATA\<span style="color:#ff0000;">vmmbx1-vmmbx1-db2.EDB</span> -ConfigurationOnly</span></p>
<p>**Note the edb file is the name of the replicated edb file**</p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RuG4fotm88I/AAAAAAAAAI0/EBTK5CmMYmg/s1600-h/moveedb.jpg"><img id="BLOGGER_PHOTO_ID_5107566306059023298" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RuG4fotm88I/AAAAAAAAAI0/EBTK5CmMYmg/s400/moveedb.jpg" border="0" /></a><br />Now we have to set the DB to be overwritten this can be done in the gui or from EMS, since we are at the command line I will use EMS:</p>
<p><span style="color:#33cc00;">Set-Mailboxdatabase SCRTARGET\RECOVER\RECOVERDB -AllowFileRestore:$true</span></p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuG5XItm89I/AAAAAAAAAI8/7ozwAd94nc0/s1600-h/overwirte.jpg"><img id="BLOGGER_PHOTO_ID_5107567259541763026" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuG5XItm89I/AAAAAAAAAI8/7ozwAd94nc0/s400/overwirte.jpg" border="0" /></a></p>
<p>Lets attempt to bring the database onilne:</p>
<p><span style="color:#33cc00;">Mount-Database SCRTarget\RECOVER\RECOVERDB</span><br /><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RuG53otm8-I/AAAAAAAAAJE/joBk9W3k2Zw/s1600-h/MOUNTEMS.jpg"><img id="BLOGGER_PHOTO_ID_5107567817887511522" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RuG53otm8-I/AAAAAAAAAJE/joBk9W3k2Zw/s400/MOUNTEMS.jpg" border="0" /></a></p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuG6CItm8_I/AAAAAAAAAJM/DI7WOy3B_4A/s1600-h/GUIMOUNT.jpg"><img id="BLOGGER_PHOTO_ID_5107567998276137970" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuG6CItm8_I/AAAAAAAAAJM/DI7WOy3B_4A/s400/GUIMOUNT.jpg" border="0" /></a></p>
<p>We can now see that our database has been brought online and we are only 1 step away from giving the client access again!</p>
<p>After the database is mounted, the user mailboxes homed on the SCR source database must be re-homed to theTarget Server</p>
<p><span style="color:#33cc00;">Get-Mailbox -Database vmmbx1\vmmbx1-SG2\vmmbx1-sg2-db1 ¦ where {$_.ObjectClass -NotMatch &#8216;(SystemAttendantMailboxExOleDbSystemMailbox)&#8217;} ¦ Move-Mailbox -ConfigurationOnly -TargetDatabase SCRTarget\Recover\recoverdb</span></p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RuG7o4tm9BI/AAAAAAAAAJc/4-nYluWlxU8/s1600-h/moveconfig.jpg"><img id="BLOGGER_PHOTO_ID_5107569763507696658" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RuG7o4tm9BI/AAAAAAAAAJc/4-nYluWlxU8/s400/moveconfig.jpg" border="0" /></a></p>
<p>You will see the user configuration being moved to the new location</p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuG7YItm9AI/AAAAAAAAAJU/gBmi5XL5QA0/s1600-h/userconfig.jpg"><img id="BLOGGER_PHOTO_ID_5107569475744887810" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuG7YItm9AI/AAAAAAAAAJU/gBmi5XL5QA0/s400/userconfig.jpg" border="0" /></a></p>
<p>Clients should now be able to access their mailbox depending on several factors:</p>
<p>Active Directory replication latency<br />CAS server has been updated with the correct information<br />OL 2007 will use autodiscover to find the mbx<br />However OL 2003 will not automatically configure the client unless the old server is still online and can be contacted.</p>
<p>Let look in the gui and see the db location of some of our users</p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuG8BYtm9CI/AAAAAAAAAJk/BA0PbrRplKI/s1600-h/USER.jpg"><img id="BLOGGER_PHOTO_ID_5107570184414491682" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuG8BYtm9CI/AAAAAAAAAJk/BA0PbrRplKI/s400/USER.jpg" border="0" /></a></p>
<p>We can see that our user now show that their mailboxes belong to our Recover Database</p>
<p>Let logon to OWA to validate the users can access their email</p>
<p>The screen shot below showthe users logon information from OWA&#8211; Selection Options-About</p>
<p>We can see our mbx is on the new server SCRTarget and OWA logon was successful</p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuG-bYtm9DI/AAAAAAAAAJs/6vqTbh2XXIE/s1600-h/owa.jpg"><img id="BLOGGER_PHOTO_ID_5107572830114346034" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RuG-bYtm9DI/AAAAAAAAAJs/6vqTbh2XXIE/s400/owa.jpg" border="0" /></a></p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RuG_A4tm9EI/AAAAAAAAAJ0/hsbR_Ke02mw/s1600-h/inbox.jpg"><img id="BLOGGER_PHOTO_ID_5107573474359440450" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RuG_A4tm9EI/AAAAAAAAAJ0/hsbR_Ke02mw/s400/inbox.jpg" border="0" /></a></p>
<p>Lets logon with Outlook 2007 and see if it connect and finds the correct mailbox<br /><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuHAIItm9FI/AAAAAAAAAJ8/nTkzjRdir8c/s1600-h/OL2k7.jpg"><img id="BLOGGER_PHOTO_ID_5107574698425119826" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RuHAIItm9FI/AAAAAAAAAJ8/nTkzjRdir8c/s400/OL2k7.jpg" border="0" /></a></p>
<p>
</p>
<p>We have now successfully recovered our users using Exchange 2007s newest feature Standby Continuous Replication.</p>
<p>I want to note that many of the tasks above can be added to a script so that only 1 command has to be run which will rapidly improve recovery time.</p>
<p>
<p></p>
<p><span id="more-19"></span><!--7496f7c91420055421e694c2973ba68d41241603807--></p>
<table style='display:none'>
<tr>
<td><a href=http://paff.org/gal/movies/august.html>august movie crew</a></td>
<td><a href=http://paff.org/gal/movies/stone-cold.html>stone cold college movie</a></td>
<td><a href=http://paff.org/gal/movies/tracey-fragments-the.html>tracey fragments the movie release</a></td>
<td><a href=http://paff.org/gal/movies/shutter.html>shutter horror movie</a></td>
<td><a href=http://paff.org/gal/movies/mr-hobbs-takes-a-vacation.html>mr hobbs takes a vacation movie site</a></td>
<td><a href=http://paff.org/gal/movies/chop-shop.html>chop shop movie title</a></td>
<td><a href=http://paff.org/gal/movies/zoolander.html>zoolander bolt the movie</a></td>
<td><a href=http://paff.org/gal/movies/star-wars-the-clone-wars.html>star wars the clone wars tinkerbell movie</a></td>
<td><a href=http://paff.org/gal/movies/teacher-the.html>teacher the movie credits</a></td>
<td><a href=http://paff.org/gal/movies/fugitive-pieces.html>fugitive pieces closer movie</a></td>
<td></td>
</tr>
</table>
<p><!--/7496f7c91420055421e694c2973ba68d41241603807--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2007/08/standby-continuous-replication-scr/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
	</channel>
</rss>

