<?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>pvs sql mirroring &#8211; Carl Webster</title>
	<atom:link href="https://www.carlwebster.com/tag/pvs-sql-mirroring/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.carlwebster.com</link>
	<description>The Accidental Citrix Admin - The site for those who find themselves supporting Citrix involuntarily or accidentally</description>
	<lastBuildDate>Mon, 06 Sep 2021 19:32:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
<site xmlns="com-wordpress:feed-additions:1">42228915</site>	<item>
		<title>Changing a Production Provisioning Services SQL Database to Use Mirroring</title>
		<link>https://www.carlwebster.com/changing-a-production-provisioning-services-sql-database-to-use-mirroring/</link>
					<comments>https://www.carlwebster.com/changing-a-production-provisioning-services-sql-database-to-use-mirroring/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Sun, 09 Feb 2014 12:45:28 +0000</pubDate>
				<category><![CDATA[PVS]]></category>
		<category><![CDATA[pvs database mirroring]]></category>
		<category><![CDATA[pvs sql mirroring]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=6852</guid>

					<description><![CDATA[I received an email from a reader asking me if I had ever changed a production Provisioning Services (PVS) database from a single database to use mirroring. I had not,&#8230;]]></description>
										<content:encoded><![CDATA[<p>I received an email from a reader asking me if I had ever changed a production Provisioning Services (PVS) database from a single database to use mirroring. I had not, so I thought this was a good time to try it out and document the process.<br />
<span id="more-6852"></span><br />
My lab runs two PVS 7.1 servers on Microsoft Windows Server 2012 R2 and three Microsoft SQL Server 2012 SP1 servers also running on Server 2012 R2.</p>
<p><strong>Note:</strong> The Witness SQL server can run SQL Server Express, but I already had full SQL Server installed on three servers, so I decided to use full SQL Server and not SQL Server Express for the Witness server.</p>
<p>Because I am using SQL Server 2012 SP1, I had to download the <a title="Microsoft SQL Server 2012 SP1 Feature Pack" href="http://www.microsoft.com/en-us/download/details.aspx?id=35580" target="_blank" rel="noopener">Native Client for SQL Server 2012 SP1 </a>(ENU\x64\sqlncli.msi) and install it on all PVS servers.</p>
<p>I have a service account created in Active Directory for the PVS database.</p>
<figure id="attachment_49495" aria-describedby="caption-attachment-49495" style="width: 768px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure001-1.png"><img fetchpriority="high" decoding="async" class="size-full wp-image-49495" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure001-1.png" alt="Figure 1" width="768" height="537" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure001-1.png 768w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure001-1-429x300.png 429w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure001-1-600x420.png 600w" sizes="(max-width: 768px) 100vw, 768px" /></a><figcaption id="caption-attachment-49495" class="wp-caption-text">Figure 1</figcaption></figure>
<p>I also created a security group named <em>SQLServers</em> that has all three SQL Servers as members.  This security group will be used when mirroring is configured later using a wizard in SQL Server.</p>
<figure id="attachment_49498" aria-describedby="caption-attachment-49498" style="width: 414px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure002-2.png"><img decoding="async" class="size-full wp-image-49498" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure002-2.png" alt="Figure 2" width="414" height="480" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure002-2.png 414w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure002-2-259x300.png 259w" sizes="(max-width: 414px) 100vw, 414px" /></a><figcaption id="caption-attachment-49498" class="wp-caption-text">Figure 2</figcaption></figure>
<p>The members of the SQLServers security group.</p>
<figure id="attachment_49499" aria-describedby="caption-attachment-49499" style="width: 414px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure003.png"><img decoding="async" class="size-full wp-image-49499" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure003.png" alt="Figure 3" width="414" height="480" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure003.png 414w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure003-259x300.png 259w" sizes="(max-width: 414px) 100vw, 414px" /></a><figcaption id="caption-attachment-49499" class="wp-caption-text">Figure 3</figcaption></figure>
<p>The PVS Configuration Wizard configured the PVS database for the service account.</p>
<figure id="attachment_49500" aria-describedby="caption-attachment-49500" style="width: 704px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure004-1.png"><img loading="lazy" decoding="async" class="size-full wp-image-49500" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure004-1.png" alt="Figure 4" width="704" height="632" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure004-1.png 704w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure004-1-334x300.png 334w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure004-1-600x539.png 600w" sizes="auto, (max-width: 704px) 100vw, 704px" /></a><figcaption id="caption-attachment-49500" class="wp-caption-text">Figure 4</figcaption></figure>
<p>The Farm properties, as shown in the PVS console, show I am not configured for database failover.</p>
<figure id="attachment_49501" aria-describedby="caption-attachment-49501" style="width: 488px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure005.png"><img loading="lazy" decoding="async" class="size-full wp-image-49501" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure005.png" alt="Figure 5" width="488" height="326" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure005.png 488w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure005-449x300.png 449w" sizes="auto, (max-width: 488px) 100vw, 488px" /></a><figcaption id="caption-attachment-49501" class="wp-caption-text">Figure 5</figcaption></figure>
<p>The first thing that must be done is to change the <i>database&#8217;s Recovery model</i> that PVS created automatically.  PVS created the database using the Simple Recovery model, but mirroring requires the Full Recovery model.  Please see <a title="Prerequisites, Restrictions, and Recommendations for Database Mirroring" href="http://technet.microsoft.com/en-us/library/ms366349.aspx" target="_blank" rel="noopener">Prerequisites, Restrictions, and Recommendations for Database Mirroring</a>.</p>
<p>&#8220;The database must use the full recovery model. The simple and bulk-logged recovery models do not support database mirroring. Therefore, bulk operations are always fully logged for a mirrored database.&#8221;</p>
<p>On the SQL Server with the PVS database, open the SQL Server Management Studio, expand <em>Databases</em>, right-click the PVS database, click <em>Properties</em> and click <em>Options</em> in the left pane.</p>
<figure id="attachment_49502" aria-describedby="caption-attachment-49502" style="width: 704px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure006.png"><img loading="lazy" decoding="async" class="size-full wp-image-49502" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure006.png" alt="Figure 6" width="704" height="632" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure006.png 704w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure006-334x300.png 334w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure006-600x539.png 600w" sizes="auto, (max-width: 704px) 100vw, 704px" /></a><figcaption id="caption-attachment-49502" class="wp-caption-text">Figure 6</figcaption></figure>
<p>Change the <em>Recovery model</em> to <em>Full</em> and click <em>OK</em>.</p>
<figure id="attachment_49503" aria-describedby="caption-attachment-49503" style="width: 704px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure007.png"><img loading="lazy" decoding="async" class="size-full wp-image-49503" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure007.png" alt="Figure 7" width="704" height="632" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure007.png 704w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure007-334x300.png 334w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure007-600x539.png 600w" sizes="auto, (max-width: 704px) 100vw, 704px" /></a><figcaption id="caption-attachment-49503" class="wp-caption-text">Figure 7</figcaption></figure>
<p>The next step is to do two backups of the PVS database.  One for the database and one for the transaction logs.</p>
<p>Still in the Databases node of the SQL Server Management Studio, right-click the PVS database, click <em>Tasks</em> and click <em>Back Up</em>.</p>
<figure id="attachment_49504" aria-describedby="caption-attachment-49504" style="width: 634px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure008.png"><img loading="lazy" decoding="async" class="size-full wp-image-49504" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure008.png" alt="Figure 8" width="634" height="436" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure008.png 634w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure008-436x300.png 436w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure008-600x413.png 600w" sizes="auto, (max-width: 634px) 100vw, 634px" /></a><figcaption id="caption-attachment-49504" class="wp-caption-text">Figure 8</figcaption></figure>
<p>Leave the <em>Backup type</em> as <em>Full</em> and click <em>OK</em>.</p>
<figure id="attachment_49505" aria-describedby="caption-attachment-49505" style="width: 704px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure009.png"><img loading="lazy" decoding="async" class="size-full wp-image-49505" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure009.png" alt="Figure 9" width="704" height="632" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure009.png 704w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure009-334x300.png 334w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure009-600x539.png 600w" sizes="auto, (max-width: 704px) 100vw, 704px" /></a><figcaption id="caption-attachment-49505" class="wp-caption-text">Figure 9</figcaption></figure>
<p>Click <em>OK</em>.</p>
<figure id="attachment_49506" aria-describedby="caption-attachment-49506" style="width: 621px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure010.png"><img loading="lazy" decoding="async" class="size-full wp-image-49506" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure010.png" alt="Figure 10" width="621" height="138" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure010.png 621w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure010-530x118.png 530w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure010-600x133.png 600w" sizes="auto, (max-width: 621px) 100vw, 621px" /></a><figcaption id="caption-attachment-49506" class="wp-caption-text">Figure 10</figcaption></figure>
<p>Repeat the process for the second backup.  Right-click the PVS database, click <em>Tasks,</em> and click <em>Back Up</em>.</p>
<figure id="attachment_49507" aria-describedby="caption-attachment-49507" style="width: 704px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure011.png"><img loading="lazy" decoding="async" class="size-full wp-image-49507" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure011.png" alt="Figure 11" width="704" height="632" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure011.png 704w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure011-334x300.png 334w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure011-600x539.png 600w" sizes="auto, (max-width: 704px) 100vw, 704px" /></a><figcaption id="caption-attachment-49507" class="wp-caption-text">Figure 11</figcaption></figure>
<p>Click OK.</p>
<figure id="attachment_49508" aria-describedby="caption-attachment-49508" style="width: 621px" class="wp-caption alignnone"><a style="font-weight: bold; font-size: 0.8125rem; font-style: italic;" href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure012.png"><img loading="lazy" decoding="async" class="wp-image-49508 size-full" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure012.png" alt="Figure 12" width="621" height="138" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure012.png 621w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure012-530x118.png 530w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure012-600x133.png 600w" sizes="auto, (max-width: 621px) 100vw, 621px" /></a><figcaption id="caption-attachment-49508" class="wp-caption-text">Figure 12</figcaption></figure>
<p><span style="font-style: italic; font-size: 1rem;">Change the </span><em style="font-size: 1rem;">Backup type</em><span style="font-style: italic; font-size: 1rem;"> to </span><em style="font-size: 1rem;">Transaction Log</em><span style="font-style: italic; font-size: 1rem;"> and click </span><em style="font-size: 1rem;">OK</em><span style="font-style: italic; font-size: 1rem;">.</span></p>
<figure id="attachment_49509" aria-describedby="caption-attachment-49509" style="width: 563px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure013.png"><img loading="lazy" decoding="async" class="size-full wp-image-49509" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure013.png" alt="Figure 13" width="563" height="506" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure013.png 563w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure013-334x300.png 334w" sizes="auto, (max-width: 563px) 100vw, 563px" /></a><figcaption id="caption-attachment-49509" class="wp-caption-text">Figure 13</figcaption></figure>
<p>Click <em>OK</em>.</p>
<figure id="attachment_49510" aria-describedby="caption-attachment-49510" style="width: 497px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure014.png"><img loading="lazy" decoding="async" class="size-full wp-image-49510" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure014.png" alt="Figure 14" width="497" height="110" /></a><figcaption id="caption-attachment-49510" class="wp-caption-text">Figure 14</figcaption></figure>
<p>The backup on the primary SQL server needs to be copied to the same location on the mirror SQL server.  For my lab, XD71SQL1 is the primary, and XD71SQL2 is the mirror.</p>
<p>What I did is on SQL1 open up Windows Explorer to C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Backup and also open up an Explorer window to &#92;xd71sql2\c$\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Backup.  I then copied and pasted the backup file from SQL1 to SQL2.</p>
<figure id="attachment_49511" aria-describedby="caption-attachment-49511" style="width: 861px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure015.png"><img loading="lazy" decoding="async" class="size-full wp-image-49511" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure015.png" alt="Figure 15" width="861" height="486" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure015.png 861w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure015-530x300.png 530w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure015-768x434.png 768w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure015-600x339.png 600w" sizes="auto, (max-width: 861px) 100vw, 861px" /></a><figcaption id="caption-attachment-49511" class="wp-caption-text">Figure 15</figcaption></figure>
<p>Exit both explorer windows.</p>
<p>Either go to SQL2 or add SQL2 to the SQL Server Management Studio on SQL1 (which is what I did).</p>
<p><strong>Note:</strong> Please make sure your SQL Servers are running the same version, or you will run into issues.  Don&#8217;t ask me how I found that out. 🙂</p>
<figure id="attachment_49512" aria-describedby="caption-attachment-49512" style="width: 415px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure016.png"><img loading="lazy" decoding="async" class="size-full wp-image-49512" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure016.png" alt="Figure 16" width="415" height="349" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure016.png 415w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure016-357x300.png 357w" sizes="auto, (max-width: 415px) 100vw, 415px" /></a><figcaption id="caption-attachment-49512" class="wp-caption-text">Figure 16</figcaption></figure>
<p>For the mirror server connection (SQL2 for me), right-click <em>Databases</em> and click <em>Restore Database</em>.</p>
<figure id="attachment_49513" aria-describedby="caption-attachment-49513" style="width: 402px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure017.png"><img loading="lazy" decoding="async" class="size-full wp-image-49513" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure017.png" alt="Figure 17" width="402" height="259" /></a><figcaption id="caption-attachment-49513" class="wp-caption-text">Figure 17</figcaption></figure>
<p>Change <em>Source</em> to <em>Device</em> and click the browse button.</p>
<figure id="attachment_49514" aria-describedby="caption-attachment-49514" style="width: 878px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure018.png"><img loading="lazy" decoding="async" class="size-full wp-image-49514" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure018.png" alt="Figure 18" width="878" height="767" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure018.png 878w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure018-343x300.png 343w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure018-768x671.png 768w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure018-600x524.png 600w" sizes="auto, (max-width: 878px) 100vw, 878px" /></a><figcaption id="caption-attachment-49514" class="wp-caption-text">Figure 18</figcaption></figure>
<p>Browse to the backup file copied from the primary SQL server, click on the backup file and click <em>OK</em>.</p>
<figure id="attachment_49515" aria-describedby="caption-attachment-49515" style="width: 435px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure019.png"><img loading="lazy" decoding="async" class="size-full wp-image-49515" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure019.png" alt="Figure 19" width="435" height="616" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure019.png 435w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure019-212x300.png 212w" sizes="auto, (max-width: 435px) 100vw, 435px" /></a><figcaption id="caption-attachment-49515" class="wp-caption-text">Figure 19</figcaption></figure>
<p>Click <em>OK</em>.</p>
<figure id="attachment_49516" aria-describedby="caption-attachment-49516" style="width: 508px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure020.png"><img loading="lazy" decoding="async" class="size-full wp-image-49516" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure020.png" alt="Figure 20" width="508" height="374" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure020.png 508w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure020-407x300.png 407w" sizes="auto, (max-width: 508px) 100vw, 508px" /></a><figcaption id="caption-attachment-49516" class="wp-caption-text">Figure 20</figcaption></figure>
<p>Make sure the <em>Database</em> is your PVS database and both <em>Backup sets to restore</em> are selected.  <strong>DO NOT</strong> click <em>OK</em> at this time.</p>
<figure id="attachment_49517" aria-describedby="caption-attachment-49517" style="width: 508px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure021.png"><img loading="lazy" decoding="async" class="size-full wp-image-49517" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure021.png" alt="Figure 21" width="508" height="374" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure021.png 508w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure021-407x300.png 407w" sizes="auto, (max-width: 508px) 100vw, 508px" /></a><figcaption id="caption-attachment-49517" class="wp-caption-text">Figure 21</figcaption></figure>
<p>Click <em>Options</em> in the left pane, change the <em>Recovery state</em> to <em>RESTORE WITH NORECOVERY,</em> and click <em>OK.</em></p>
<figure id="attachment_49519" aria-describedby="caption-attachment-49519" style="width: 878px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure022-1.png"><img loading="lazy" decoding="async" class="size-full wp-image-49519" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure022-1.png" alt="Figure 22" width="878" height="767" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure022-1.png 878w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure022-1-343x300.png 343w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure022-1-768x671.png 768w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure022-1-600x524.png 600w" sizes="auto, (max-width: 878px) 100vw, 878px" /></a><figcaption id="caption-attachment-49519" class="wp-caption-text">Figure 22</figcaption></figure>
<p>Click <em>OK</em>.</p>
<figure id="attachment_49520" aria-describedby="caption-attachment-49520" style="width: 399px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure023.png"><img loading="lazy" decoding="async" class="size-full wp-image-49520" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure023.png" alt="Figure 23" width="399" height="172" /></a><figcaption id="caption-attachment-49520" class="wp-caption-text">Figure 23</figcaption></figure>
<p>Expand <em>Databases</em> on the mirror server.  The PVS database should say &#8220;<em>(Restoring&#8230;)</em>&#8220;.</p>
<figure id="attachment_49521" aria-describedby="caption-attachment-49521" style="width: 396px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure024.png"><img loading="lazy" decoding="async" class="size-full wp-image-49521" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure024.png" alt="Figure 24" width="396" height="235" /></a><figcaption id="caption-attachment-49521" class="wp-caption-text">Figure 24</figcaption></figure>
<p>On the principal server, expand <em>Databases</em>, right-click the PVS database, click <em>Tasks</em> and click <em>Mirror</em>.</p>
<figure id="attachment_49522" aria-describedby="caption-attachment-49522" style="width: 660px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure025.png"><img loading="lazy" decoding="async" class="size-full wp-image-49522" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure025.png" alt="Figure 25" width="660" height="384" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure025.png 660w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure025-516x300.png 516w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure025-600x349.png 600w" sizes="auto, (max-width: 660px) 100vw, 660px" /></a><figcaption id="caption-attachment-49522" class="wp-caption-text">Figure 25</figcaption></figure>
<p>Click <em>Configure Security</em>.</p>
<figure id="attachment_49524" aria-describedby="caption-attachment-49524" style="width: 704px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure026.png"><img loading="lazy" decoding="async" class="size-full wp-image-49524" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure026.png" alt="Figure 26" width="704" height="632" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure026.png 704w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure026-334x300.png 334w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure026-600x539.png 600w" sizes="auto, (max-width: 704px) 100vw, 704px" /></a><figcaption id="caption-attachment-49524" class="wp-caption-text">Figure 26</figcaption></figure>
<p>Click <em>Next</em>.</p>
<figure id="attachment_49525" aria-describedby="caption-attachment-49525" style="width: 501px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure027.png"><img loading="lazy" decoding="async" class="size-full wp-image-49525" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure027.png" alt="Figure 27" width="501" height="454" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure027.png 501w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure027-331x300.png 331w" sizes="auto, (max-width: 501px) 100vw, 501px" /></a><figcaption id="caption-attachment-49525" class="wp-caption-text">Figure 27</figcaption></figure>
<p>Verify <em>Yes</em> is selected and click <em>Next</em>.</p>
<figure id="attachment_49526" aria-describedby="caption-attachment-49526" style="width: 501px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure028.png"><img loading="lazy" decoding="async" class="size-full wp-image-49526" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure028.png" alt="Figure 28" width="501" height="454" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure028.png 501w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure028-331x300.png 331w" sizes="auto, (max-width: 501px) 100vw, 501px" /></a><figcaption id="caption-attachment-49526" class="wp-caption-text">Figure 28</figcaption></figure>
<p>Verify <em>Witness server instance</em> is selected and click <em>Next</em>.</p>
<figure id="attachment_49527" aria-describedby="caption-attachment-49527" style="width: 501px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure029.png"><img loading="lazy" decoding="async" class="size-full wp-image-49527" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure029.png" alt="Figure 29" width="501" height="454" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure029.png 501w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure029-331x300.png 331w" sizes="auto, (max-width: 501px) 100vw, 501px" /></a><figcaption id="caption-attachment-49527" class="wp-caption-text">Figure 29</figcaption></figure>
<p>Click <em>Next</em></p>
<figure id="attachment_49528" aria-describedby="caption-attachment-49528" style="width: 501px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure030.png"><img loading="lazy" decoding="async" class="size-full wp-image-49528" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure030.png" alt="Figure 30" width="501" height="454" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure030.png 501w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure030-331x300.png 331w" sizes="auto, (max-width: 501px) 100vw, 501px" /></a><figcaption id="caption-attachment-49528" class="wp-caption-text">Figure 30</figcaption></figure>
<p>Select the mirror server from the <em>Mirror server instance</em> dropdown and click <em>Connect</em>.</p>
<figure id="attachment_49529" aria-describedby="caption-attachment-49529" style="width: 500px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure031.png"><img loading="lazy" decoding="async" class="size-full wp-image-49529" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure031.png" alt="Figure 31" width="500" height="454" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure031.png 500w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure031-330x300.png 330w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><figcaption id="caption-attachment-49529" class="wp-caption-text">Figure 31</figcaption></figure>
<p>Click <em>Connect</em> to authenticate and connect to the mirror server.</p>
<figure id="attachment_49530" aria-describedby="caption-attachment-49530" style="width: 426px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure032.png"><img loading="lazy" decoding="async" class="size-full wp-image-49530" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure032.png" alt="Figure 32" width="426" height="322" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure032.png 426w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure032-397x300.png 397w" sizes="auto, (max-width: 426px) 100vw, 426px" /></a><figcaption id="caption-attachment-49530" class="wp-caption-text">Figure 32</figcaption></figure>
<p>Click <em>Next</em>.</p>
<figure id="attachment_49531" aria-describedby="caption-attachment-49531" style="width: 501px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure033.png"><img loading="lazy" decoding="async" class="size-full wp-image-49531" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure033.png" alt="Figure 33" width="501" height="454" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure033.png 501w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure033-331x300.png 331w" sizes="auto, (max-width: 501px) 100vw, 501px" /></a><figcaption id="caption-attachment-49531" class="wp-caption-text">Figure 33</figcaption></figure>
<p>Select the witness server from the <em>Witness server instance</em> dropdown and click <em>Connect</em>.</p>
<figure id="attachment_49532" aria-describedby="caption-attachment-49532" style="width: 500px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure034.png"><img loading="lazy" decoding="async" class="size-full wp-image-49532" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure034.png" alt="Figure 34" width="500" height="454" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure034.png 500w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure034-330x300.png 330w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><figcaption id="caption-attachment-49532" class="wp-caption-text">Figure 34</figcaption></figure>
<p>Click <em>Connect</em> to authenticate and connect to the witness server.</p>
<figure id="attachment_49533" aria-describedby="caption-attachment-49533" style="width: 426px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure035.png"><img loading="lazy" decoding="async" class="size-full wp-image-49533" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure035.png" alt="Figure 35" width="426" height="322" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure035.png 426w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure035-397x300.png 397w" sizes="auto, (max-width: 426px) 100vw, 426px" /></a><figcaption id="caption-attachment-49533" class="wp-caption-text">Figure 35</figcaption></figure>
<p>Click <em>Next</em>.</p>
<figure id="attachment_49534" aria-describedby="caption-attachment-49534" style="width: 501px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure036.png"><img loading="lazy" decoding="async" class="size-full wp-image-49534" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure036.png" alt="Figure 36" width="501" height="454" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure036.png 501w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure036-331x300.png 331w" sizes="auto, (max-width: 501px) 100vw, 501px" /></a><figcaption id="caption-attachment-49534" class="wp-caption-text">Figure 36</figcaption></figure>
<p>Enter the SQLServers security account for all three instances and click <em>Next</em>.</p>
<figure id="attachment_49535" aria-describedby="caption-attachment-49535" style="width: 501px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure037.png"><img loading="lazy" decoding="async" class="size-full wp-image-49535" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure037.png" alt="Figure 37" width="501" height="454" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure037.png 501w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure037-331x300.png 331w" sizes="auto, (max-width: 501px) 100vw, 501px" /></a><figcaption id="caption-attachment-49535" class="wp-caption-text">Figure 37</figcaption></figure>
<p>Click <em>Finish</em>.</p>
<figure id="attachment_49536" aria-describedby="caption-attachment-49536" style="width: 501px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure038.png"><img loading="lazy" decoding="async" class="size-full wp-image-49536" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure038.png" alt="Figure 38" width="501" height="454" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure038.png 501w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure038-331x300.png 331w" sizes="auto, (max-width: 501px) 100vw, 501px" /></a><figcaption id="caption-attachment-49536" class="wp-caption-text">Figure 38</figcaption></figure>
<p>If all <em>Action</em> columns have a status of success, click <em>Close</em>.  Otherwise, view the report generated, resolve the issues reported, and rerun the Configure Security wizard.</p>
<figure id="attachment_49537" aria-describedby="caption-attachment-49537" style="width: 501px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure039.png"><img loading="lazy" decoding="async" class="size-full wp-image-49537" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure039.png" alt="Figure 39" width="501" height="454" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure039.png 501w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure039-331x300.png 331w" sizes="auto, (max-width: 501px) 100vw, 501px" /></a><figcaption id="caption-attachment-49537" class="wp-caption-text">Figure 39</figcaption></figure>
<p>Click <em>Start Mirroring</em> (and pray that everything works).</p>
<figure id="attachment_49538" aria-describedby="caption-attachment-49538" style="width: 621px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure040.png"><img loading="lazy" decoding="async" class="size-full wp-image-49538" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure040.png" alt="Figure 40" width="621" height="268" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure040.png 621w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure040-530x229.png 530w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure040-600x259.png 600w" sizes="auto, (max-width: 621px) 100vw, 621px" /></a><figcaption id="caption-attachment-49538" class="wp-caption-text">Figure 40</figcaption></figure>
<p>WHEW, it worked.  Click <em>OK</em>.</p>
<figure id="attachment_49543" aria-describedby="caption-attachment-49543" style="width: 704px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure041.png"><img loading="lazy" decoding="async" class="size-full wp-image-49543" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure041.png" alt="Figure 41" width="704" height="632" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure041.png 704w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure041-334x300.png 334w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure041-600x539.png 600w" sizes="auto, (max-width: 704px) 100vw, 704px" /></a><figcaption id="caption-attachment-49543" class="wp-caption-text">Figure 41</figcaption></figure>
<p>In the SQL Server Management Studio, refresh the primary and mirror servers.  Expand <em>Databases</em> on both servers.  The principal server should show the PVS database as <em>(Principal, Synchronized),</em> and the mirror server should show the PVS database as <em>(Mirror, Synchronized / Restoring&#8230;)</em>.</p>
<figure id="attachment_49544" aria-describedby="caption-attachment-49544" style="width: 416px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure042.png"><img loading="lazy" decoding="async" class="size-full wp-image-49544" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure042.png" alt="Figure 42" width="416" height="451" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure042.png 416w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure042-277x300.png 277w" sizes="auto, (max-width: 416px) 100vw, 416px" /></a><figcaption id="caption-attachment-49544" class="wp-caption-text">Figure 42</figcaption></figure>
<p>Now the PVS servers need to be reconfigured.</p>
<p>On each PVS server, run the Provisioning Services Configuration Wizard.</p>
<p>Click <em>Next</em>.</p>
<figure id="attachment_49546" aria-describedby="caption-attachment-49546" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure043.png"><img loading="lazy" decoding="async" class="size-full wp-image-49546" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure043.png" alt="Figure 43" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure043.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure043-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49546" class="wp-caption-text">Figure 43</figcaption></figure>
<p>Select the option appropriate for your environment and click <em>Next</em>.</p>
<figure id="attachment_49547" aria-describedby="caption-attachment-49547" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure044.png"><img loading="lazy" decoding="async" class="size-full wp-image-49547" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure044.png" alt="Figure 44" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure044.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure044-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49547" class="wp-caption-text">Figure 44</figcaption></figure>
<p>Select the option appropriate for your environment and click <em>Next</em>.</p>
<figure id="attachment_49548" aria-describedby="caption-attachment-49548" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure045.png"><img loading="lazy" decoding="async" class="size-full wp-image-49548" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure045.png" alt="Figure 45" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure045.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure045-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49548" class="wp-caption-text">Figure 45</figcaption></figure>
<p>Select <em>Join existing farm</em> and click <em>Next</em>.</p>
<figure id="attachment_49549" aria-describedby="caption-attachment-49549" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure046.png"><img loading="lazy" decoding="async" class="size-full wp-image-49549" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure046.png" alt="Figure 46" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure046.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure046-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49549" class="wp-caption-text">Figure 46</figcaption></figure>
<p>Enter the principal and mirror SQL server names and click <em>Next.</em></p>
<figure id="attachment_49550" aria-describedby="caption-attachment-49550" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure047.png"><img loading="lazy" decoding="async" class="size-full wp-image-49550" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure047.png" alt="Figure 47" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure047.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure047-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49550" class="wp-caption-text">Figure 47</figcaption></figure>
<p>Select your PVS Farm and click <em>Next</em>.</p>
<figure id="attachment_49551" aria-describedby="caption-attachment-49551" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure048.png"><img loading="lazy" decoding="async" class="size-full wp-image-49551" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure048.png" alt="Figure 48" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure048.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure048-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49551" class="wp-caption-text">Figure 48</figcaption></figure>
<p>Select your Site option and click <em>Next.</em></p>
<figure id="attachment_49552" aria-describedby="caption-attachment-49552" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure049.png"><img loading="lazy" decoding="async" class="size-full wp-image-49552" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure049.png" alt="Figure 49" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure049.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure049-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49552" class="wp-caption-text">Figure 49</figcaption></figure>
<p>Select your Store option and click <em>Next</em>.</p>
<figure id="attachment_49553" aria-describedby="caption-attachment-49553" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure050.png"><img loading="lazy" decoding="async" class="size-full wp-image-49553" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure050.png" alt="Figure 50" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure050.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure050-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49553" class="wp-caption-text">Figure 50</figcaption></figure>
<p>Enter the credentials for your environment and click <em>Next</em>.</p>
<figure id="attachment_49554" aria-describedby="caption-attachment-49554" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure051.png"><img loading="lazy" decoding="async" class="size-full wp-image-49554" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure051.png" alt="Figure 51" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure051.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure051-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49554" class="wp-caption-text">Figure 51</figcaption></figure>
<p>Select the password option appropriate for your environment and click <em>Next</em>.</p>
<figure id="attachment_49555" aria-describedby="caption-attachment-49555" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure052.png"><img loading="lazy" decoding="async" class="size-full wp-image-49555" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure052.png" alt="Figure 52" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure052.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure052-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49555" class="wp-caption-text">Figure 52</figcaption></figure>
<p>Select the options and ports appropriate for your environment and click <em>Next</em>.</p>
<figure id="attachment_49556" aria-describedby="caption-attachment-49556" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure053.png"><img loading="lazy" decoding="async" class="size-full wp-image-49556" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure053.png" alt="Figure 53" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure053.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure053-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49556" class="wp-caption-text">Figure 53</figcaption></figure>
<p>Select the option appropriate for your environment and click <em>Next</em>.</p>
<figure id="attachment_49557" aria-describedby="caption-attachment-49557" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure054.png"><img loading="lazy" decoding="async" class="size-full wp-image-49557" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure054.png" alt="Figure 54" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure054.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure054-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49557" class="wp-caption-text">Figure 54</figcaption></figure>
<p>Select the settings appropriate for your environment and click <em>Next</em>.</p>
<figure id="attachment_49558" aria-describedby="caption-attachment-49558" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure055.png"><img loading="lazy" decoding="async" class="size-full wp-image-49558" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure055.png" alt="Figure 55" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure055.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure055-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49558" class="wp-caption-text">Figure 55</figcaption></figure>
<p>Click <em>Finish</em>.</p>
<figure id="attachment_49559" aria-describedby="caption-attachment-49559" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure056.png"><img loading="lazy" decoding="async" class="size-full wp-image-49559" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure056.png" alt="Figure 56" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure056.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure056-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49559" class="wp-caption-text">Figure 56</figcaption></figure>
<p>Click <em>Done</em>.  If there are errors, view the log file generated, resolve any errors and rerun the Configuration Wizard.</p>
<figure id="attachment_49560" aria-describedby="caption-attachment-49560" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure057-1.png"><img loading="lazy" decoding="async" class="size-full wp-image-49560" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure057-1.png" alt="Figure 57" width="513" height="399" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure057-1.png 513w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure057-1-386x300.png 386w" sizes="auto, (max-width: 513px) 100vw, 513px" /></a><figcaption id="caption-attachment-49560" class="wp-caption-text">Figure 57</figcaption></figure>
<p>Repeat this process for any other PVS servers.</p>
<p>Open the PVS Console, right-click the Farm, click <em>Properties</em> and click the <em>Status</em> tab.  The status should now show the failover partner configured.</p>
<figure id="attachment_49561" aria-describedby="caption-attachment-49561" style="width: 488px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure058.png"><img loading="lazy" decoding="async" class="size-full wp-image-49561" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure058.png" alt="Figure 58" width="488" height="326" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure058.png 488w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure058-449x300.png 449w" sizes="auto, (max-width: 488px) 100vw, 488px" /></a><figcaption id="caption-attachment-49561" class="wp-caption-text">Figure 58</figcaption></figure>
<p>Time to test mirror failover to ensure the PVS console still works and changes can be made to the PVS Farm.</p>
<p>Go back to the SQL Server Management Studio.  On the principal server, expand <em>Databases</em>, right-click the PVS database, click <em>Tasks</em> and click <em>Mirror</em>.</p>
<figure id="attachment_49562" aria-describedby="caption-attachment-49562" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure059.png"><img loading="lazy" decoding="async" class="size-full wp-image-49562" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure059.png" alt="Figure 59" width="806" height="337" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure059.png 806w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure059-530x222.png 530w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure059-768x321.png 768w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure059-600x251.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-49562" class="wp-caption-text">Figure 59</figcaption></figure>
<p>Click the <em>Failover</em> button.</p>
<figure id="attachment_49563" aria-describedby="caption-attachment-49563" style="width: 704px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure060.png"><img loading="lazy" decoding="async" class="size-full wp-image-49563" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure060.png" alt="Figure 60" width="704" height="632" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure060.png 704w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure060-334x300.png 334w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure060-600x539.png 600w" sizes="auto, (max-width: 704px) 100vw, 704px" /></a><figcaption id="caption-attachment-49563" class="wp-caption-text">Figure 60</figcaption></figure>
<p>Click <em>Yes</em>.</p>
<figure id="attachment_49564" aria-describedby="caption-attachment-49564" style="width: 621px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure061.png"><img loading="lazy" decoding="async" class="size-full wp-image-49564" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure061.png" alt="Figure 61" width="621" height="203" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure061.png 621w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure061-530x173.png 530w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure061-600x196.png 600w" sizes="auto, (max-width: 621px) 100vw, 621px" /></a><figcaption id="caption-attachment-49564" class="wp-caption-text">Figure 61</figcaption></figure>
<p>Refresh both the principal and mirror servers, expand <em>Databases</em> and look at the database status.</p>
<p>The principal server now shows <em>(Mirror, Synchronized / Restoring&#8230;)</em> and the mirror server shows <em>(Principal, Synchronized)</em>.</p>
<figure id="attachment_49565" aria-describedby="caption-attachment-49565" style="width: 415px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure062.png"><img loading="lazy" decoding="async" class="size-full wp-image-49565" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure062.png" alt="Figure 62" width="415" height="453" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure062.png 415w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure062-275x300.png 275w" sizes="auto, (max-width: 415px) 100vw, 415px" /></a><figcaption id="caption-attachment-49565" class="wp-caption-text">Figure 62</figcaption></figure>
<p>Now go to the PVS Console and test making a small change.  For me, I am going to change a target device to add a description.  This will test whether a change can be saved to the SQL database.</p>
<p>Target device before.</p>
<figure id="attachment_49566" aria-describedby="caption-attachment-49566" style="width: 493px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure063.png"><img loading="lazy" decoding="async" class="size-full wp-image-49566" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure063.png" alt="Figure 63" width="493" height="433" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure063.png 493w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure063-342x300.png 342w" sizes="auto, (max-width: 493px) 100vw, 493px" /></a><figcaption id="caption-attachment-49566" class="wp-caption-text">Figure 63</figcaption></figure>
<p>Target device after.</p>
<figure id="attachment_49567" aria-describedby="caption-attachment-49567" style="width: 492px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure064.png"><img loading="lazy" decoding="async" class="size-full wp-image-49567" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure064.png" alt="Figure 64" width="492" height="478" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure064.png 492w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure064-309x300.png 309w" sizes="auto, (max-width: 492px) 100vw, 492px" /></a><figcaption id="caption-attachment-49567" class="wp-caption-text">Figure 64</figcaption></figure>
<p>Now go to another PVS server, open the PVS console and see if the change made is seen on that server.</p>
<p>And the change is there.  We know the SQL Database mirroring and failover are working.</p>
<figure id="attachment_49568" aria-describedby="caption-attachment-49568" style="width: 497px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure065.png"><img loading="lazy" decoding="async" class="size-full wp-image-49568" src="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure065.png" alt="Figure 65" width="497" height="474" srcset="https://www.carlwebster.com/wp-content/uploads/2014/02/Figure065.png 497w, https://www.carlwebster.com/wp-content/uploads/2014/02/Figure065-315x300.png 315w" sizes="auto, (max-width: 497px) 100vw, 497px" /></a><figcaption id="caption-attachment-49568" class="wp-caption-text">Figure 65</figcaption></figure>
<p>Go back to the SQL Server Management Studio, click on the mirror server&#8217;s PVS database, and failover the database back to the principal server.</p>
<p>I hope this article helps you understand the mirror setup process necessary to implement SQL mirroring with failover for PVS.</p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.carlwebster.com/changing-a-production-provisioning-services-sql-database-to-use-mirroring/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6852</post-id>	</item>
	</channel>
</rss>
