<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Justin Manning MSFT PFE</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/jusmanningpfe/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/jusmanningpfe/feed.xml</link>
    <description>The life of a SQL PFE</description>
    <lastBuildDate>Tue, 16 Apr 2019 06:11:43 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Upgrade a clustered Microsoft SQL Server 2014 to SQL Server 2017 (step by step)</title>
      <link>https://docs.microsoft.com/archive/blogs/jusmanningpfe/upgrade-a-clustered-microsoft-sql-server-2014-to-sql-server-2017-step-by-step</link>
      <pubDate>Wed, 08 Aug 2018 11:20:18 GMT</pubDate>
      <dc:creator><![CDATA[Justin Manning]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/jusmanningpfe/?p=4465</guid>
      <description><![CDATA[Technical Details
This document will contain step by step guides on to follow to achieve the...]]></description>
      <content:encoded><![CDATA[<h1>Technical Details
</h1><p>This document will contain step by step guides on to follow to achieve the objectives listed below. The objective of this guide is to minimize downtime during the upgrade procedure and ensure a successful upgrade of Microsoft SQL Server. 
</p><h2>Upgrade Microsoft SQL Server 2014 to SQL Server 2017
</h2><p>The objective of this step is to document the upgrade process of Microsoft SQL Server 2014 to SQL Server 2017, in a clustered environment. This will also include upgrading the server operating system from Windows Server 2012 R2 to Windows Server 2016. The existing SQL Configuration contains Transactional replication, which will remain unaffected during this upgrade process. 
</p><h3>Impact to environment
</h3><p>To achieve a full upgrade of the operating system and the Microsoft SQL engine, a failover will be initiated during operating system upgrades, and a further failover during SQL upgrades. The Passive node in the cluster will be upgraded, allowing business to continue during this upgrade procedure. 
</p><h2>Server Upgrade Procedure
</h2><p>The below steps will guide you through the process up upgrading Server OS in a clustered environment. <strong>Note: </strong>Failover times of cluster resources, will largely depend on the size of the database log files, and how the log is being maintained. A large amount of VLFs (Virtual log files) could impact database start up times. During a failover, any transactions that were not committed, would also need to rollback, impacting recovery objectives of a cluster failover. 
</p><h3>Evict Node
</h3><p>Take note of the active node where SQL Server is running, we are going to start by upgrading the passive node first. The passive node will be evicted from the cluster, and the Windows Server 2016 software will be executed to initiate the upgrade. Once the upgrade has completed, we will add the node back to the cluster, move the SQL Server role to the newly upgraded node, evict the passive node and following the same process to upgrade the second node. 
</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu1.jpg" alt="" /><span style="font-size:12pt">
		</span></p><p>
 </p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu2.jpg" alt="" /><span style="font-size:12pt">
		</span></p><p>
 </p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu3.jpg" alt="" />
	</p><p>
 </p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu4.jpg" alt="" />
	</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu5.jpg" alt="" /><span style="font-size:12pt">
		</span></p><p>
 </p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu6.jpg" alt="" /><span style="font-size:12pt">
		</span></p><p>
 </p><h3> Perform Operating System Upgrade
</h3><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu7.jpg" alt="" />
	</p><p>
 </p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu8.jpg" alt="" />
	</p><p> 
 </p><p>
 </p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu9.jpg" alt="" /><span style="font-size:12pt">
		</span></p><p> 
 </p><p>
 </p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu10.jpg" alt="" /><span style="font-size:12pt">
		</span></p><p> 
 </p><p>  
 </p><h3>Add Node
</h3><p>  Once the operating system upgrade has completed, you will need to add the node back to the cluster. 
</p><p>This is achieved by logging onto the active node and adding the previously evicted node back to the cluster. 
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu11.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu12.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu13.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu14.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu15.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu16.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu17.jpg" alt="" />
	</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu19.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu20.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu21.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu22.jpg" alt="" /><span style="color:#262626"><strong>
			</strong></span></p><p><span style="color:#262626"><strong>NOTE: </strong></span>Now that the upgraded node has been added to the cluster, we will need to fail the SQL resource over to the newly upgraded node, and begin upgrading the second, passive node. 
</p><h2>Microsoft SQL Server 2017 Upgrade
</h2><p>Once the operating system in the cluster environment has been upgraded successfully, we are ready to perform a SQL Upgrade in a clustered environment. The upgrade will be performed against the passive node first, and then the active node. The SQL Installation wizard will manage the movement of the SQL resource in the cluster. 
</p><h3>Upgrade Passive Node
</h3><p>Log onto the passive node and execute the Microsoft SQL Server 2017 setup file. 
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu23.jpg" alt="" />
	</p><p>Select the option to Upgrade from a previous version of SQL Server
</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu25.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu26.png" alt="" />
	</p><p>
 </p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu29.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu30.jpg" alt="" />
	</p><p>You will see this warning if your server is not connected to the windows update service. You may continue to the next step.
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu31.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu32.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu33.jpg" alt="" />
	</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu35.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu36.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu37.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu38.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu39.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu40.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu41.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu42.jpg" alt="" />
	</p><h3>Upgrade Active Node
</h3><p><span style="color:#575757;font-family:Segoe UI">Now that the passive node has been upgraded, log onto the active node and execute the Microsoft SQL Server 2017 setup executable. <img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu43.jpg" alt="" /></span>
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu44.jpg" alt="" />
	</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu46.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu49.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu48.png" alt="" />
	</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu50.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu51.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu52.jpg" alt="" />
	</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu54.jpg" alt="" />
	</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu56.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu57.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu58.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu59.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu60.jpg" alt="" />
	</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu62.jpg" alt="" />
	</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu64.jpg" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/08/080818_0916_Upgradeaclu65.jpg" alt="" />
	</p><p> 
 </p><p>
 </p>]]></content:encoded>
    </item>
    <item>
      <title>SQL Server Performance Testing with Database Experimentation Assistant</title>
      <link>https://docs.microsoft.com/archive/blogs/jusmanningpfe/sql-server-performance-testing-with-database-experimentation-assistant</link>
      <pubDate>Tue, 15 May 2018 18:26:03 GMT</pubDate>
      <dc:creator><![CDATA[Justin Manning]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/jusmanningpfe/?p=1805</guid>
      <description><![CDATA[Introduction
This quick post is to assist users in performing performance tests on various...]]></description>
      <content:encoded><![CDATA[<h1>Introduction</h1>
This quick post is to assist users in performing performance tests on various environments and generate analytics from the results.

The <strong>Database Experimentation Assistant</strong> makes use of SQL Server Distributed Replay Controller and Clients.
<h2>Tool:</h2>
<a href="https://www.microsoft.com/en-us/download/details.aspx?id=54090">Database Experimentation Assistant (DEA)</a>
<h2>Virtual Environment:</h2>
<ul>
 	<li>
<div>SQL Server 2017 CU6 (DEA has a known issue in replay if the SQL Instance target is below SQL Server 2017 CU 1)</div>
<ul>
 	<li><strong>Instance Name:</strong> SQLEXP</li>
</ul>
</li>
 	<li>Windows Server 2016</li>
 	<li>Distributed Replay Client (up to 8 clients in enterprise edition)</li>
 	<li>Distributed Replay Controller</li>
 	<li>
<div>Working Folder for trace files to be collected and replayed:</div>
<ul>
 	<li>
<div>C:\DEA</div>
<ul>
 	<li>Source</li>
 	<li>Target</li>
</ul>
</li>
</ul>
</li>
</ul>
<strong>Configuration of DEA
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe1.png" /><strong>
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe2.png" /><strong>
</strong>

<strong>Populate the required fields
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe3.png" /><strong>
</strong>

<strong>Click Start to begin collection
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe4.png" /><strong>
</strong>

<strong>Note Completion Status
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe5.png" /><strong>
</strong>

<strong>Replay the workload against your database
</strong>

<strong>Make sure your SQL Server Distributed Replay Controller and Client are in a running state
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe6.png" /><strong>
</strong>

<strong>Confirm the distributed replay Controller is communicating with the client
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe7.png" /><strong>
</strong>

<strong>Click on All Replay to run the collected workload
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe8.png" /><strong>
</strong>

<strong>Create a new Replay
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe9.png" /><strong>
</strong>

<strong>Perform a restore of the database you would like to test the workload against.
</strong>

<strong>This is to ensure the database is in the original state before a workload was performed against it.
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe10.png" /><strong>
</strong>

<strong>Note: Replay is busy running via distributed controller
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe11.png" /><strong>
</strong>

<strong>Notice distributed replay controller status, sending work to clients
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe12.png" /><strong>
</strong>

<strong>Completed Run
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe13.png" /><strong>
</strong>

<strong>Click on Analysis Report to analyse workload
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe14.png" /><strong>
</strong>

<strong>Connect to the instance of SQL where you would like to do analysis
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe15.png" /><strong>
</strong>

<strong>Create a new Analysis Report
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe16.png" /><strong>
</strong>

<strong>Populate required fields. Supply the original workload collected, as well as the target workload, which was generated by the replay
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe17.png" /><strong>
</strong>

<strong>Notice databases being created for the analysis to be performed
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe18.png" /><strong>
</strong>

<strong>Reports Presented once analysis is completed
</strong>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1631_SQLServerPe19.png" /><strong>
</strong>]]></content:encoded>
    </item>
    <item>
      <title>Azure Backups and Site Recovery – Encrypted SQL Backups</title>
      <link>https://docs.microsoft.com/archive/blogs/jusmanningpfe/azure-recovery-services-vault</link>
      <pubDate>Tue, 15 May 2018 18:03:55 GMT</pubDate>
      <dc:creator><![CDATA[Justin Manning]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/jusmanningpfe/?p=725</guid>
      <description><![CDATA[Introduction

 This document is intended to assist the user in configuring Azure Recovery...]]></description>
      <content:encoded><![CDATA[<p>
 </p><p>
 </p><h1>Introduction
</h1><p>
 </p><p>This document is intended to assist the user in configuring Azure Recovery Services for on premise backups of encrypted SQL Server Backups.
</p><p>The goal of this document is to demonstrate the capability of backing up encrypted Database backups, where the encryption key stays in possession with the customer (onsite) and is not managed by any external service.
</p><p>
 </p><p>
 </p><h2>Configure Azure Recovery Services
</h2><p>
 </p><p>Navigate to <a href="https://ms.portal.azure.com">https://ms.portal.azure.com</a>, sign in with your subscription details. This will be the account that will contain your Recovery Service.
</p><p>
 </p><h2>Create a Resource Groups to manage your Azure Recovery Services Vault
</h2><p>
 </p><p>This step will create a resource group, which we will contain the Azure Recovery Services vault at the end of this demo.
</p><p>
 </p><p>Click on Resource Groups
</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup1.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p>Add a resource group
</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup2.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p>Give your resource group a name and select the region you would like the resource group to belong 
</p><p>To, in this example, we called the resource group "azure-backup"
</p><p>
		<img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup3.png" alt="" />
	</p><p>
 </p><p>Click Create once configured
</p><p style="margin-left: 36pt"><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup4.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p>Once the resource group is created, select the resource group
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup5.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p>Select Add in your resource group, to begin adding the Azure Recovery Service
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup6.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">    
</span></p><p> 
 </p><p>Search for "Azure Recovery Service" and select the "Backup and Site Recovery (OMS)" option.
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup7.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p>Click Create to create the Vault
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup8.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>Give your recovery services vault a name and select the resource group previously created. Once filled in, click create.
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup9.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>Once your Vault has been created, you will be presented with the overview blade of the Recovery Services Vault.
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup10.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><h2>Configuring Azure Recovery Services Backups
</h2><p>
 </p><p>This step will allow you to configure what you want to backup to the vault.
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup11.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p>You will be presented with a blade to select the types of backups you want to do. For purposes of this documents, configure your backups as follows, and select "Prepare Infrastructure":
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup12.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>This will prompt you to download the recovery services agent, as well as the credentials to authenticate your on-premises infrastructure, with your vault
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup13.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p>Follow Steps 1, but installing the Recovery Services Agent, and configure the agent to suit your environment. i.e. proxy setting if applicable.
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup14.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup15.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup16.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup17.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup18.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p>Return to the azure portal, to download your credentials    
</p><p>
 </p><p>Once the agent is installed, proceed to step 2
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup19.png" alt="" />
	</p><p>
 </p><p>Save your credential file
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup20.png" alt="" />
	</p><p>Import this file via the Recovery Services Agent
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup21.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup22.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>Configure your Passphrase, this is your password to the vault, and needs to be kept safe and click Finish when done.
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup23.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p>Registration successful
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup24.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><h1>Configuring Backup Schedule
</h1><p>
 </p><p>Once the Azure Recovery Services Agent has been installed and configured, the next step would be to configure and schedule your backups.
</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup25.png" alt="" />
	</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup26.png" alt="" />
	</p><p>
 </p><p>Add items you wish to backup.
</p><p>In this example, we are going to add a folder location for the Encrypted SQL Server Backups we wish to back up.
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup27.png" alt="" />
	</p><p>
 </p><p>Navigate to the folder location you wish to back up
</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup28.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup29.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><h2>Configure your schedule as necessary
</h2><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup30.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p>
 </p><h2>Configure retention period
</h2><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup31.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p>
 </p><h2>Configure initial backup options
</h2><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup32.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p>
 </p><p>Confirm and Finish
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup33.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><p>Confirm Success and Close<span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup34.png" alt="" /><span style="color:#575757;font-family:Segoe UI;font-size:12pt">
		</span></p><p>
 </p><h2>Backing up a SQL Server Database
</h2><p>
 </p><p>This demo will illustrate the steps in backing up a database and having the Azure Recovery Service back the SQL Server backup file to Azure
</p><p>
 </p><p>Perform an encrypted backup to a disk location
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup35.png" alt="" />
	</p><p>
 </p><p>Take note of the warning, to back up your certificate.
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup36.png" alt="" />
	</p><p>You can manually execute a backup from the Microsoft Azure Recovery Services agent, by selecting to "back up now". This will have the recovery services agent send the backup file to your azure vault for safe keeping.
</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup37.jpg" alt="" />
	</p><p>
 </p><p><span style="color:#575757;font-family:Segoe UI">Verify your machine is now listed in the vault as a backup item:</span>
	</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup38.png" alt="" />
	</p><p>
 </p><h1>Performing a recovery
</h1><p>
 </p><p>To restore your database backup, you will need to perform a recovery of the vault, which will allow you to select at which point in time, or schedule, you would like to recovery from. This will recover the entire directory structure of your recovery site, and you will be able to restore the database. This will be demonstrated in the next following steps.
</p><p>
 </p><p>Select Recover from the Microsoft Azure recovery Services agent
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup39.jpg" alt="" />
	</p><p>
 </p><p>Select the point in time which you would like to recover.
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup40.jpg" alt="" />
	</p><p>
 </p><p>You will notice that a volume is mounted as a disk you can browse though. This will allow you to click through the directory structure, to retrieve any files you wish to retrieve. These may be copied off the mounted volume and placed on a separate disk for future use. 
</p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup41.png" alt="" />
	</p><p><span style="color:#575757;font-family:Segoe UI">An example of the mounted volume for recovery.
</span></p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup42.png" alt="" />
	</p><p>
 </p><p>Once file retrieval is complete, unmount the disk
</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup43.png" alt="" />
	</p><p>
 </p><p><img src="https://msdnshared.blob.core.windows.net/media/2018/05/051518_1643_AzureBackup44.jpg" alt="" />
	</p><p>
 </p><p>
 </p>]]></content:encoded>
    </item>
    <item>
      <title>Setting up Central Management Server in SQL Server</title>
      <link>https://docs.microsoft.com/archive/blogs/jusmanningpfe/setting-up-central-management-server-in-sql-server</link>
      <pubDate>Fri, 20 May 2016 15:28:33 GMT</pubDate>
      <dc:creator><![CDATA[Justin Manning]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/jusmanningpfe/?p=75</guid>
      <description><![CDATA[Hey SQL Fans,

Today I thought I would write a quick post about Central Management Server for SQL...]]></description>
      <content:encoded><![CDATA[Hey SQL Fans,

Today I thought I would write a quick post about <a title="Central Management Server for SQL Server" href="https://technet.microsoft.com/en-us/library/bb934126(v=sql.105).aspx" target="_blank">Central Management Server for SQL Server</a>. I have been to so many customers who are not making use of this amazng a free feature that ships with SQL Server. I always ask the resident DBA team at a customer,  how they are managing their SQL instances and whether they are using CMS. Surprisingly, they have either never heard about it, or they have, but cannot find a use for it?

I personally feel that CMS should be a part a foundation to your SQL Server Eco System. It makes the life of a DBA so much easier when it comes to your day to day administration, as well as additional free SQL Server features you would like to use, i.e. <a title="Policy Based Management" href="https://blogs.technet.microsoft.com/jusmanningpfe/2016/05/19/policy-based-m…-in-sql-server/" target="_blank">Policy Based Management</a>, <a title="Management Data Warehouse" href="https://blogs.technet.microsoft.com/jusmanningpfe/2016/05/19/setting-up-man…-in-sql-server/" target="_blank">Management Data Warehouse</a>, <a title="Multi Server Queries" href="https://msdn.microsoft.com/en-us/library/bb964743(v=sql.105).aspx" target="_blank">Multi-Server Queries </a>and <a title="Multi Server Administration" href="https://msdn.microsoft.com/en-us/library/ms191305(v=sql.105).aspx" target="_blank">Multi Server Administration</a> etc.

Today, I would like to show you how to set this wondeful feature up, how to register your SQL instances within CMS, and set up your master and target SQL agents.
<h1>Configuring CMS</h1>
Click on View -&gt; Registered Servers.

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/Registered-Servers-Navigate.jpg"><img class="alignleft size-medium wp-image-126" src="https://msdnshared.blob.core.windows.net/media/2016/05/Registered-Servers-Navigate-260x300.jpg" alt="Registered Servers Navigate" width="260" height="300" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

You will be presented with a view of your local instances and registered servers:
<a href="https://msdnshared.blob.core.windows.net/media/2016/05/Registered-Servers-View1.jpg"><img class="alignleft size-medium wp-image-175" src="https://msdnshared.blob.core.windows.net/media/2016/05/Registered-Servers-View1-188x300.jpg" alt="Registered Servers View" width="188" height="300" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Right click on Central Management Servers -&gt; Register Central Management Server

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/New-CMS.jpg"><img class=" size-medium wp-image-125 alignnone" src="https://msdnshared.blob.core.windows.net/media/2016/05/New-CMS-300x281.jpg" alt="New CMS" width="300" height="281" /></a>

You will be presented with a window to enter a Database Server that will act as the Central Management Server. If you have a dedicated DBA server, this woul d be ideal

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/New-CMS-Registration2.jpg"><img class="alignleft size-medium wp-image-195" src="https://msdnshared.blob.core.windows.net/media/2016/05/New-CMS-Registration2-238x300.jpg" alt="New CMS Registration" width="238" height="300" /></a><a href="https://msdnshared.blob.core.windows.net/media/2016/05/New-CMS-Registration1.jpg">
</a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Once this information has been saved, you will see a CMS server registered

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/CMS-Registered.jpg"><img class=" size-medium wp-image-185 alignnone" src="https://msdnshared.blob.core.windows.net/media/2016/05/CMS-Registered-300x284.jpg" alt="CMS Registered" width="300" height="284" /></a>

You can now create groups under your CMS to manage different areas of your SQL Eco system.

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/New-Server-Group.jpg"><img class=" size-medium wp-image-215 alignnone" src="https://msdnshared.blob.core.windows.net/media/2016/05/New-Server-Group-300x288.jpg" alt="New Server Group" width="300" height="288" /></a>

Below, I have included an example of how you could group your SQL instances, based on how you manage your environment:

<strong>NOTE:</strong> When creating your various SQL groups, think of the multi-server queries you would run against these groups. A multi-server query is a query you can run against a group of servers. The query will return results from each server registered in a specific group.

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/New-Server-Group-Example-2.jpg"><img class=" size-medium wp-image-225 alignnone" src="https://msdnshared.blob.core.windows.net/media/2016/05/New-Server-Group-Example-2-300x286.jpg" alt="New Server Group Example (2)" width="300" height="286" /></a>

Well done :-) you have now created a CMS for your SQL environment. This is a great foundation for your SQL environment within your organization. CMS will allow you to run queries across SQL group. CMS will help you find information a lot quicker, as well as help with maintenance queries etc, eg. running DMV queries against CMS groups to find backup information, index usage, query execution information etc.

Next, I would like to show you how to configure the SQL Agent of your CMS for <a title="Multi-Server SQL Server Administration" href="https://blogs.technet.microsoft.com/jusmanningpfe/2016/05/20/multi-server-a…-on-sql-server/">Multi-Server SQL Server Administration</a>.

&nbsp;

I hope you guys enjoyed this quick post on CMS and that you start making the relevant changes within your SQL eco system.

&nbsp;

Cheers

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>SQL Server In-Memory</title>
      <link>https://docs.microsoft.com/archive/blogs/jusmanningpfe/sql-server-in-memory</link>
      <pubDate>Thu, 05 May 2016 12:41:55 GMT</pubDate>
      <dc:creator><![CDATA[Justin Manning]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/jusmanningpfe/?p=25</guid>
      <description><![CDATA[Hi to all of you SQL Server fans,

There has been a lot of interest from customers moving to SQL...]]></description>
      <content:encoded><![CDATA[Hi to all of you SQL Server fans,

There has been a lot of interest from customers moving to SQL Server 2014, specifically around the use of SQL Server in-memory optimizations as well as identifying possible candidates that could benefit from this technology.

I thought I would write a quick post to cover the implementation of SQL Server in-memory at a very high level, by discussing different DURABILITY modes available to you.

First off, let's make use of AdventureWorks 2014 as our test database.

There are a few steps we need to follow first, in order for SQL to make use of the in-memory capabilities:

Firstly, we need to enable the filestream feature on the SQL Engine

[caption id="attachment_35" align="alignnone" width="879"]<a href="https://msdnshared.blob.core.windows.net/media/2016/05/SQL-Server-Configuration-Manager.jpg"><img class="wp-image-35 size-large" src="https://msdnshared.blob.core.windows.net/media/2016/05/SQL-Server-Configuration-Manager-1024x774.jpg" alt="SQL Server Configuration Manager" width="879" height="664" /></a> SQL Server Configuration Manager[/caption]

On the properties page, enable FILESTREAM via the FILESTREAM TAB:

[caption id="attachment_37" align="alignnone" width="251"]<a href="https://msdnshared.blob.core.windows.net/media/2016/05/Enable-FileStream.jpg"><img class="size-medium wp-image-37" src="https://msdnshared.blob.core.windows.net/media/2016/05/Enable-FileStream-251x300.jpg" alt="Enable FILESTREAM" width="251" height="300" /></a> Enable FILESTREAM[/caption]

Now that the SQL Engine has been configured correctly, lets enable a Memory Optimized Filegroup in the AdventureWorks2014 database.

There are two ways to do this, via the SSMS GUI on Database properties:
<p style="padding-left: 30px"><a href="https://msdnshared.blob.core.windows.net/media/2016/05/AdventureWorks2014-Gui-Database-Properties.jpg"><img class="alignleft size-medium wp-image-45" src="https://msdnshared.blob.core.windows.net/media/2016/05/AdventureWorks2014-Gui-Database-Properties-251x300.jpg" alt="AdventureWorks2014 Gui Database Properties" width="251" height="300" /></a></p>
&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Enable the Filegroup in MEMORY OPTIMIZED DATA section of your FILEGROUPS tab:
<p style="padding-left: 30px"><a href="https://msdnshared.blob.core.windows.net/media/2016/05/AdventureWorks2014-Filegroup-in-Memory-Data-File.jpg">
</a><a href="https://msdnshared.blob.core.windows.net/media/2016/05/AdventureWorks2014-Filegroup-in-Memory-Data-File1.jpg"><img class="alignleft wp-image-65 size-medium" src="https://msdnshared.blob.core.windows.net/media/2016/05/AdventureWorks2014-Filegroup-in-Memory-Data-File1-300x271.jpg" alt="" width="300" height="271" /></a></p>
&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Or via T-SQL Script:
<p style="padding-left: 30px"><code>USE [master]
GO
ALTER DATABASE [AdventureWorks2014] ADD FILEGROUP [AdventureWorksInMemoryData] CONTAINS MEMORY_OPTIMIZED_DATA
GO</code></p>
Now that that the filegroup has been configured, you are now able to create tables in memory:

In-Memory tables can be created with one of two durability options, namely:
<ul>
	<li>SCHEMA AND DATA
<ul>
	<li>These tables have logging enabled via the sql server transaction log and data is stored in the filestream filegroup.</li>
	<li>In the event of SQL server being restarted, data is played back into the table on start-up</li>
</ul>
</li>
	<li>SCHEMA ONLY
<ul>
	<li>These tables do not persist the data to the filestream filegroup.</li>
	<li>If the SQL Engine is rebooted, the data is lost</li>
	<li>This option is popular for staging type of scenarios of data.</li>
</ul>
</li>
</ul>
Tables can only be created via T-SQL script:

SCHEMA AND DATA:
<p style="padding-left: 30px"><code>
CREATE TABLE [dbo].[TestInMemoryTableSCHEMA_AND_DATA]
(
[ID] [int] IDENTITY(1,1) NOT NULL,
[DATAVALUE] [varchar](20) COLLATE Latin1_General_CI_AS NULL,</code></p>
<p style="padding-left: 30px">PRIMARY KEY NONCLUSTERED
(
[ID] ASC
)
)WITH ( MEMORY_OPTIMIZED = ON , DURABILITY = SCHEMA_AND_DATA )</p>
&nbsp;

or the SCHEMA ONLY option:

&nbsp;
<p style="padding-left: 30px"><code>CREATE TABLE [dbo].[TestInMemoryTableSCHEMA_ONLY]
(
[ID] [int] IDENTITY(1,1) NOT NULL,
[DATAVALUE] [varchar](20) COLLATE Latin1_General_CI_AS NULL,</code></p>
<p style="padding-left: 30px">PRIMARY KEY NONCLUSTERED
(
[ID] ASC
)
)WITH ( MEMORY_OPTIMIZED = ON , DURABILITY = SCHEMA_ONLY )</p>
&nbsp;

Now that the tables have been created, you can read and write to them just like any other table in the database.

Try the different options and see what works best for you and see what performance improvements you notice with your reads and writes.

<strong>NOTE</strong>: With SQL Server 2014, you cannot change the definition of a memory optimized table once it has been created, you will need to drop and recreate the table in order to change the durability option. For more info on this refer to <a title="Altering Memory-Optimized Tables" href="https://msdn.microsoft.com/en-us/library/dn269114(v=sql.120).aspx" target="_blank">https://msdn.microsoft.com/en-us/library/dn269114(v=sql.120).aspx</a>

There are also a few limitations to this technology, which you can read more about over at <a title="In-Memory OLTP (In-Memory Optimization)" href="https://msdn.microsoft.com/en-us/library/dn133186(v=sql.120).aspx" target="_blank">https://msdn.microsoft.com/en-us/library/dn133186(v=sql.120).aspx</a>

Well, I hope this quick and high level post has helped you understand what is involved in making use of this SQL Server technology.

In my next few posts I will be diving deeper into the topic and helping you identify which databases tables or stored procedures would benefit from this technology as well as indexing (refered to as hash and buckets) these tables by making

Please post comments or questions below in order for my blog posts to suit your needs.]]></content:encoded>
    </item>
  </channel>
</rss>