<?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>Servers Archives - Apostolidis Cloud Corner</title>
	<atom:link href="https://www.cloudcorner.gr/category/microsoft/servers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.cloudcorner.gr/category/microsoft/servers/</link>
	<description>Remarks from a Cloud Architect encounters</description>
	<lastBuildDate>Mon, 22 Feb 2021 10:55:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://www.cloudcorner.gr/wp-content/uploads/2021/04/cropped-cloudcorner2-32x32.png</url>
	<title>Servers Archives - Apostolidis Cloud Corner</title>
	<link>https://www.cloudcorner.gr/category/microsoft/servers/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Azure Failover Cluster with Shared Disk &#8211; Step by Step</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/azure-failover-cluster-with-shared-disk-step-by-step/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/azure-failover-cluster-with-shared-disk-step-by-step/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Sat, 04 Apr 2020 13:02:03 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure vm]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[failover cluster]]></category>
		<category><![CDATA[fci]]></category>
		<category><![CDATA[iaas]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[shared disk]]></category>
		<category><![CDATA[storage account]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=3350</guid>

					<description><![CDATA[<p>Azure Failover Cluster with Shared Disk Recently MIcrosoft Azure anounched the preview feature &#8220;Shared Disk&#8221;. The Shared Disk can be</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-failover-cluster-with-shared-disk-step-by-step/">Azure Failover Cluster with Shared Disk &#8211; Step by Step</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 style="text-align: justify;">Azure Failover Cluster with Shared Disk</h1>
<p style="text-align: justify;">Recently MIcrosoft Azure anounched the preview feature &#8220;Shared Disk&#8221;. The Shared Disk can be attached at two Azure MVs at the same time. The purpose is to create SQL Server Failover Cluster Instances (FCI), Scale-out File Server (SoFS), File Server for General Use (IW workload), Remote Desktop Server User Profile Disk (RDS UPD) and  SAP ASCS/SCS. More or less we can have a failover cluster at Azure VMs like haveing an on-premises failover cluster with shared storage.</p>
<p style="text-align: justify;">At this post I will demostrate step-by-step how to create a Failover Cluster in Azure with two Azure VMs and a Shared Disk.</p>
<p style="text-align: justify;">Since this is a preview feature at the time I am wroting this post, we need to <a href="https://aka.ms/AzureSharedDiskPreviewSignUp" data-linktype="external">sign up for our preview</a>.</p>
<p style="text-align: justify;">Once we have the confiration that the Shared Disk preview is enabled at our Subscription, we can proceed and create our Shared Disk. Currently this can be done only by using an ARM Template, in order to define the <strong>&#8220;maxShares&#8221;: &#8220;[parameters(&#8216;maxShares&#8217;)]&#8221;</strong> disk property. This property defines in how VMs can this Disk be attached.</p>
<div class="table-scroll-wrapper" style="text-align: justify;">
<table class="table">
<caption class="visually-hidden">The following table illustrates the allowed maximum values for <code>maxShares</code> by disk size:</caption>
<thead>
<tr>
<th>Disk sizes</th>
<th>maxShares limit</th>
</tr>
</thead>
<tbody>
<tr>
<td>P15, P20</td>
<td>2</td>
</tr>
<tr>
<td>P30, P40, P50</td>
<td>5</td>
</tr>
<tr>
<td>P60, P70, P80</td>
<td>10</td>
</tr>
</tbody>
</table>
</div>
<p style="text-align: justify;">Other limitations of the preview are:</p>
<ul style="text-align: justify;">
<li>Currently only available with premium SSDs.</li>
<li>Currently only supported in the West Central US region.</li>
<li>All virtual machines sharing a disk must be deployed in the same proximity placement groups.</li>
<li>Can only be enabled on data disks, not OS disks.</li>
<li>Only basic disks can be used with some versions of Windows Server Failover Cluster, for details see</li>
<li>Failover clustering hardware requirements and storage options.</li>
<li>ReadOnly host caching is not available for premium SSDs with maxShares&gt;1.</li>
<li>Availability sets and virtual machine scale sets can only be used with FaultDomainCount set to 1.</li>
<li>Azure Backup and Azure Site Recovery support is not yet available.</li>
</ul>
<p style="text-align: justify;">From the Azure Portal search and open the &#8220;Template Deployment&#8221;</p>
<p id="fbLGCcl" style="text-align: justify;"><img fetchpriority="high" decoding="async" width="770" height="197" class="alignnone size-full wp-image-3351 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e8764dede2d3.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e8764dede2d3.png 770w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e8764dede2d3-300x77.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e8764dede2d3-768x196.png 768w" sizes="(max-width: 770px) 100vw, 770px" />\</p>
<p style="text-align: justify;">Select the &#8220;Build your own template in the editor&#8221;</p>
<p id="EiSACdM" style="text-align: justify;"><img decoding="async" width="450" height="189" class="alignnone size-full wp-image-3352 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e8764f3f16c2.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e8764f3f16c2.png 450w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e8764f3f16c2-300x126.png 300w" sizes="(max-width: 450px) 100vw, 450px" /></p>
<p style="text-align: justify;">And paste the Shared Disk Json at the template</p>
<p id="WlirTrl" style="text-align: justify;"><img decoding="async" width="1069" height="852" class="alignnone size-full wp-image-3353 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e87652a6a1b4.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87652a6a1b4.png 1069w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87652a6a1b4-300x239.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87652a6a1b4-1024x816.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87652a6a1b4-768x612.png 768w" sizes="(max-width: 1069px) 100vw, 1069px" /></p>
<p style="text-align: justify;">The Shared Disk Json:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">{ 
  "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "dataDiskName": {
      "type": "string",
      "defaultValue": "mySharedDisk"
    },
    "dataDiskSizeGB": {
      "type": "int",
      "defaultValue": 1024
    },
    "maxShares": {
      "type": "int",
      "defaultValue": 2
    }
  },
  "resources": [
    {
      "type": "Microsoft.Compute/disks",
      "name": "[parameters('dataDiskName')]",
      "location": "[resourceGroup().location]",
      "apiVersion": "2019-07-01",
      "sku": {
        "name": "Premium_LRS"
      },
      "properties": {
        "creationData": {
          "createOption": "Empty"
        },
        "diskSizeGB": "[parameters('dataDiskSizeGB')]",
        "maxShares": "[parameters('maxShares')]"
      }
    }
  ] 
}</pre>
<p style="text-align: justify;">After the Template Deployment is comleted you will see a normal disk at the Resoruce Group.</p>
<p id="gJFsVXu" style="text-align: justify;"><img loading="lazy" decoding="async" width="591" height="164" class="alignnone size-full wp-image-3355 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e8765ef6d351.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e8765ef6d351.png 591w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e8765ef6d351-300x83.png 300w" sizes="auto, (max-width: 591px) 100vw, 591px" /></p>
<h2 style="text-align: justify;">Create the VMs</h2>
<p style="text-align: justify;">Create both VMs like any normal Azure VM creation. I created wto Windows Server 2016 VMs. Both VMs must be added to the same availability set (Fault Domain = 1), in order to add them behing an internal load balancer and they must be added to the same Proximity Placement Group.</p>
<p style="text-align: justify;">To create a Proximity Placement Group, just create a new resource, search for &#8220;Proximity Placement Group&#8221; and press create. Just provide a name for the PPG and the location, that must be the same as the Disk.</p>
<p id="uxOAIrG" style="text-align: justify;"><img loading="lazy" decoding="async" width="597" height="232" class="alignnone size-full wp-image-3386 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e887579899e4.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e887579899e4.png 597w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e887579899e4-300x117.png 300w" sizes="auto, (max-width: 597px) 100vw, 597px" /></p>
<p style="text-align: justify;">And select it at the VM creation wizard:</p>
<p id="JXiaEkS" style="text-align: justify;"><img loading="lazy" decoding="async" width="784" height="142" class="alignnone size-full wp-image-3358 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e87b8936977b.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87b8936977b.png 784w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87b8936977b-300x54.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87b8936977b-768x139.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87b8936977b-780x142.png 780w" sizes="auto, (max-width: 784px) 100vw, 784px" /></p>
<p style="text-align: justify;">Attach the Sahred Disk to Both VMs</p>
<p id="CGuUoUH" style="text-align: justify;"><img loading="lazy" decoding="async" width="792" height="200" class="alignnone size-full wp-image-3359 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e87b8a736614.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87b8a736614.png 792w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87b8a736614-300x76.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87b8a736614-768x194.png 768w" sizes="auto, (max-width: 792px) 100vw, 792px" /></p>
<p style="text-align: justify;">When attaching the Shared Disk to the VMs you will see the &#8220;disk shares used&#8221; This reports in how many VMs this disk is attached.</p>
<p id="hFlXHtH" style="text-align: justify;"><img loading="lazy" decoding="async" width="775" height="462" class="alignnone size-full wp-image-3360 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e87bb47c48ce.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87bb47c48ce.png 775w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87bb47c48ce-300x179.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e87bb47c48ce-768x458.png 768w" sizes="auto, (max-width: 775px) 100vw, 775px" /></p>
<p style="text-align: justify;">Once the VMs are ready we can start the Failover Cluster process. We need to add both VMs to the Domain. Then go tot he Disk Management and bring the disks online, GTP on both servers. The next step is to enable the Failover Clustering feature on both VMs. This can be easily acomplished using the below command:</p>
<p style="text-align: justify;">Install-WindowsFeature -Name Failover-Clustering –IncludeManagementTools –ComputerName SDVM01<br />
Install-WindowsFeature -Name Failover-Clustering –IncludeManagementTools –ComputerName SDVM02</p>
<p style="text-align: justify;">Restart both VMs</p>
<p style="text-align: justify;">Lets start the Failover Cluster Wizard. Select both Azure VMs and validate with running all tests.</p>
<p id="fSXkzSq" style="text-align: justify;"><img loading="lazy" decoding="async" width="669" height="152" class="alignnone size-full wp-image-3362 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e884c32866ec.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e884c32866ec.png 669w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e884c32866ec-300x68.png 300w" sizes="auto, (max-width: 669px) 100vw, 669px" /></p>
<p id="WhPnAgZ" style="text-align: justify;"><img loading="lazy" decoding="async" width="547" height="112" class="alignnone size-full wp-image-3363 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e884c4f95eff.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e884c4f95eff.png 547w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e884c4f95eff-300x61.png 300w" sizes="auto, (max-width: 547px) 100vw, 547px" /></p>
<p style="text-align: justify;">The report should have sucess to all Storage Related Stuff. Only the Cluster IP will fail, since it cannot allocate an Azure IP.</p>
<p id="SMrPWah" style="text-align: justify;"><img loading="lazy" decoding="async" width="864" height="557" class="alignnone size-full wp-image-3364 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e884dec86cc7.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e884dec86cc7.png 864w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e884dec86cc7-300x193.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e884dec86cc7-768x495.png 768w" sizes="auto, (max-width: 864px) 100vw, 864px" /></p>
<p id="kbDhzfM" style="text-align: justify;">So we will not create the Cluster uning the GUI wizard. We will create the cluster unsing the new-cluster command to spesify the cluter IP. But first lets create the Cluster IP Load Balancer.</p>
<p style="text-align: justify;">To enable the Cluster IP we need to create an Internal <strong>StandardLoad</strong> Balancer with Static IP. Add both VMs to the Backend pool of the load balancer.</p>
<p id="vvzgaRU" style="text-align: justify;"><img loading="lazy" decoding="async" width="1262" height="154" class="alignnone size-full wp-image-3388 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e887c9ea3982.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e887c9ea3982.png 1262w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e887c9ea3982-300x37.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e887c9ea3982-1024x125.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e887c9ea3982-768x94.png 768w" sizes="auto, (max-width: 1262px) 100vw, 1262px" /></p>
<p style="text-align: justify;">And Run this command to one of the two VMs:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">New-Cluster -Name cluster1 -Node SDVM01,SDVM02  -StaticAddress 192.168.0.10</pre>
<p style="text-align: justify;">The cluster is ready and we can now we can add the Disk to the Cluster</p>
<p id="ERZwxVD" style="text-align: justify;"><img loading="lazy" decoding="async" width="499" height="204" class="alignnone size-full wp-image-3373 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e885cc7db4ef.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e885cc7db4ef.png 499w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e885cc7db4ef-300x123.png 300w" sizes="auto, (max-width: 499px) 100vw, 499px" /></p>
<p style="text-align: justify;">righ click at the Cluster Disk 1 and select &#8220;Add to cluster shared volumes&#8221;</p>
<p id="ZdNipPt" style="text-align: justify;"><img loading="lazy" decoding="async" width="553" height="163" class="alignnone size-full wp-image-3371 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e885af30db17.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e885af30db17.png 553w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e885af30db17-300x88.png 300w" sizes="auto, (max-width: 553px) 100vw, 553px" /></p>
<p style="text-align: justify;">Wait untill the disk is online</p>
<p id="QNgGhJy" style="text-align: justify;"><img loading="lazy" decoding="async" width="564" height="119" class="alignnone size-full wp-image-3374 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e885cf948fa1.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e885cf948fa1.png 564w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e885cf948fa1-300x63.png 300w" sizes="auto, (max-width: 564px) 100vw, 564px" />&#8216;</p>
<p style="text-align: justify;">and check the C:\ClusterStorage path for the &#8220;Volume1&#8221; link.</p>
<p id="NQPOVug" style="text-align: justify;"><img loading="lazy" decoding="async" width="365" height="129" class="alignnone size-full wp-image-3390 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e88800cadbdf.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e88800cadbdf.png 365w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e88800cadbdf-300x106.png 300w" sizes="auto, (max-width: 365px) 100vw, 365px" /></p>
<p style="text-align: justify;">open the Volume1 and create a file, just to cehck that it is working</p>
<p id="xUUryCo" style="text-align: justify;"><img loading="lazy" decoding="async" width="463" height="126" class="alignnone size-full wp-image-3376 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e885d3374d9b.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e885d3374d9b.png 463w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e885d3374d9b-300x82.png 300w" sizes="auto, (max-width: 463px) 100vw, 463px" /></p>
<p style="text-align: justify;">To have a more stable cluster, add a Quorum. At the cluster name, right click and select More Actions / Configure Quorum settings.</p>
<p id="YDVtouJ" style="text-align: justify;"><img loading="lazy" decoding="async" width="499" height="103" class="alignnone size-full wp-image-3377 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e886a521ce3a.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e886a521ce3a.png 499w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e886a521ce3a-300x62.png 300w" sizes="auto, (max-width: 499px) 100vw, 499px" /></p>
<p style="text-align: justify;">Since we are on Azure we will configure an Azure Storage account for quorum. Select the &#8220;Advanced Configuration&#8221;</p>
<p id="rBZxQik" style="text-align: justify;"><img loading="lazy" decoding="async" width="636" height="225" class="alignnone size-full wp-image-3378 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e886a703ea41.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e886a703ea41.png 636w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e886a703ea41-300x106.png 300w" sizes="auto, (max-width: 636px) 100vw, 636px" /></p>
<p style="text-align: justify;">and select the &#8220;Configure CLoud Witness&#8221;.</p>
<p id="CzrXsZi" style="text-align: justify;"><img loading="lazy" decoding="async" width="436" height="139" class="alignnone size-full wp-image-3379 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e886a7e6e9b5.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e886a7e6e9b5.png 436w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e886a7e6e9b5-300x96.png 300w" sizes="auto, (max-width: 436px) 100vw, 436px" /></p>
<p style="text-align: justify;">Create an Azure Storage Account</p>
<p id="Fjcmskw" style="text-align: justify;"><img loading="lazy" decoding="async" width="744" height="241" class="alignnone size-full wp-image-3380 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e886ab60d894.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e886ab60d894.png 744w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e886ab60d894-300x97.png 300w" sizes="auto, (max-width: 744px) 100vw, 744px" /></p>
<p style="text-align: justify;">add the Storage Account to the Virtual Network of the VMs, to secure it</p>
<p id="MYjDUaw" style="text-align: justify;"><img loading="lazy" decoding="async" width="776" height="331" class="alignnone size-full wp-image-3381 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e886ac84f241.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e886ac84f241.png 776w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e886ac84f241-300x128.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e886ac84f241-768x328.png 768w" sizes="auto, (max-width: 776px) 100vw, 776px" /></p>
<p style="text-align: justify;">And once the Storage Account is ready, copy/paste the name and the Key to the Culster Quorum wizard.</p>
<p id="vtoanTs" style="text-align: justify;"><img loading="lazy" decoding="async" width="275" height="195" class="alignnone size-full wp-image-3383 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e886b5ab3d31.png" alt="" /></p>
<p style="text-align: justify;">Now we have a full failover cluster</p>
<p id="YZSSBdA" style="text-align: justify;"><img loading="lazy" decoding="async" width="533" height="222" class="alignnone size-full wp-image-3391 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e88824015add.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e88824015add.png 533w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e88824015add-300x125.png 300w" sizes="auto, (max-width: 533px) 100vw, 533px" /></p>
<p style="text-align: justify;">Server 1:</p>
<p id="pUiZhrr" style="text-align: justify;"><img loading="lazy" decoding="async" width="510" height="276" class="alignnone size-full wp-image-3393 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e8882977a7f3.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e8882977a7f3.png 510w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e8882977a7f3-300x162.png 300w" sizes="auto, (max-width: 510px) 100vw, 510px" /></p>
<p style="text-align: justify;">Server 2:</p>
<p id="tRHOehs" style="text-align: justify;"><img loading="lazy" decoding="async" width="527" height="295" class="alignnone size-full wp-image-3392 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/04/img_5e88827ab8584.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e88827ab8584.png 527w, https://www.cloudcorner.gr/wp-content/uploads/2020/04/img_5e88827ab8584-300x168.png 300w" sizes="auto, (max-width: 527px) 100vw, 527px" /></p>
<p>Now we can deploy SQL Server FCI, File Server, etc.. !!!!</p>
<p style="text-align: justify;">More info abuot the Shared Disk: <a href="https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disks-shared-enable">https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disks-shared-enable</a></p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:&#112;&#114;&#111;xi&#109;a&#103;r&#064;h&#111;tm&#097;&#105;&#108;&#046;co&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-failover-cluster-with-shared-disk-step-by-step%2F&amp;linkname=Azure%20Failover%20Cluster%20with%20Shared%20Disk%20%E2%80%93%20Step%20by%20Step" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-failover-cluster-with-shared-disk-step-by-step%2F&amp;linkname=Azure%20Failover%20Cluster%20with%20Shared%20Disk%20%E2%80%93%20Step%20by%20Step" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-failover-cluster-with-shared-disk-step-by-step%2F&#038;title=Azure%20Failover%20Cluster%20with%20Shared%20Disk%20%E2%80%93%20Step%20by%20Step" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/azure-failover-cluster-with-shared-disk-step-by-step/" data-a2a-title="Azure Failover Cluster with Shared Disk – Step by Step"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-failover-cluster-with-shared-disk-step-by-step/">Azure Failover Cluster with Shared Disk &#8211; Step by Step</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/azure/azure-failover-cluster-with-shared-disk-step-by-step/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>Microsoft Azure Nested Virtualization &#124; VM in Nested VM in Azure VM</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/microsoft-azure-nested-virtualization-vm-in-vm-in-azure-vm/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/microsoft-azure-nested-virtualization-vm-in-vm-in-azure-vm/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 29 Aug 2017 09:49:40 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure vm]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[nested virtualization]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=1438</guid>

					<description><![CDATA[<p>Microsoft Azure Nested Virtualization &#124; VM in Nested VM in Azure VM With the new Dv3 and Ev3 VM sizes Microsoft</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/microsoft-azure-nested-virtualization-vm-in-vm-in-azure-vm/">Microsoft Azure Nested Virtualization | VM in Nested VM in Azure VM</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Microsoft Azure Nested Virtualization | VM in Nested VM in Azure VM</h1>
<p>With the new Dv3 and Ev3 VM sizes Microsoft has released the Nested Virtualization, meaning you can simply have a Hyper-V VM inside an Azure VM. I have created a set of posts to explore the Nested Virtualization functionality. Of course nested virtualization is only supported in Windows Server 2016.</p>
<h2>Microsoft Azure Nested Virtualization</h2>
<ul>
<li><a href="http://www.e-apostolidis.gr/microsoft/nested-virtualization-vm-inside-azure-vm/">Hyper-V VM inside Azure VM</a></li>
<li><a href="http://www.e-apostolidis.gr/microsoft/azure-nested-virtualization-hyper-v-replica/">Hyper-V Replica on Azure</a></li>
<li><a href="http://www.e-apostolidis.gr/microsoft/azure-nested-virtualization-web-server/">Web Server</a></li>
<li><a href="http://www.e-apostolidis.gr/microsoft/microsoft-azure-nested-virtualization-vm-in-vm-in-azure-vm/">VM in Nested VM in Azure VM</a></li>
</ul>
<p style="text-align: justify;">After my main <a href="http://www.e-apostolidis.gr/microsoft/nested-virtualization-vm-inside-azure-vm/">Microsoft Azure Nested Virtualization | Hyper-V VM inside Azure VM</a> post, we saw two usage scenarios. One is running <a href="http://www.e-apostolidis.gr/microsoft/azure-nested-virtualization-hyper-v-replica/">Hyper-V Replica</a> and the other is running <a href="http://www.e-apostolidis.gr/microsoft/azure-nested-virtualization-web-server/">Web Server in nested VM on Azure</a>. Now lets have some fun and try to run a VM nested inside a VM nested inside an Azure VM. As a fellow said, VM inception!</p>
<p style="text-align: justify;">We will use again the nested VM that we created at the <a href="http://www.e-apostolidis.gr/microsoft/nested-virtualization-vm-inside-azure-vm/">Microsoft Azure Nested Virtualization | Hyper-V VM inside Azure VM</a> post. First we need to run two commands, one command to enable the virtualization and one to enable the MAC address spoofing. More details you can find at the <a href="https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/nested-virtualization">Nested Virtualization Microsoft article</a></p>
<pre class="lang:ps decode:true ">Set-VMProcessor -VMName &lt;VMName&gt; -ExposeVirtualizationExtensions $true
Get-VMNetworkAdapter -VMName &lt;VMName&gt; | Set-VMNetworkAdapter -MacAddressSpoofing On</pre>
<p id="BqaUuLs"><img loading="lazy" decoding="async" class="alignnone wp-image-1439 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_599ae729cbaf3.png" alt="VM in Nested VM in Azure VM" width="763" height="181" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae729cbaf3.png 763w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae729cbaf3-300x71.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae729cbaf3-600x142.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae729cbaf3-660x157.png 660w" sizes="auto, (max-width: 763px) 100vw, 763px" /></p>
<p>&nbsp;</p>
<p>After running the above commands we can go to the Server Manger and add the Hyper-V role.</p>
<p id="ytDAoqu"><img loading="lazy" decoding="async" class="alignnone wp-image-1440 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_599ae7670cc3f.png" alt="VM in Nested VM in Azure VM" width="885" height="726" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae7670cc3f.png 885w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae7670cc3f-300x246.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae7670cc3f-768x630.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae7670cc3f-600x492.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae7670cc3f-660x541.png 660w" sizes="auto, (max-width: 885px) 100vw, 885px" /></p>
<p>&nbsp;</p>
<p>I just click next accepting all the defaults. One exception, I checked the NIC to use it for Virtual Switch.</p>
<p id="JTrFGha"><img loading="lazy" decoding="async" class="alignnone wp-image-1441 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_599ae791997a0.png" alt="VM in Nested VM in Azure VM" width="873" height="721" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae791997a0.png 873w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae791997a0-300x248.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae791997a0-768x634.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae791997a0-600x496.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599ae791997a0-660x545.png 660w" sizes="auto, (max-width: 873px) 100vw, 873px" /></p>
<p>&nbsp;</p>
<p>Finally we have a Hyper-V VM that is nested inside a Hyper-V VM that is nested inside an Azure VM</p>
<p id="sRcpxkU"><img loading="lazy" decoding="async" class="alignnone wp-image-1444 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_599aeab9a6901.png" alt="VM in Nested VM in Azure VM" width="1452" height="960" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599aeab9a6901.png 1452w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599aeab9a6901-300x198.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599aeab9a6901-768x508.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599aeab9a6901-1024x677.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599aeab9a6901-600x397.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_599aeab9a6901-660x436.png 660w" sizes="auto, (max-width: 1452px) 100vw, 1452px" /></p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:&#112;r&#111;&#120;im&#097;&#103;&#114;&#064;hot&#109;a&#105;l&#046;c&#111;&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fmicrosoft-azure-nested-virtualization-vm-in-vm-in-azure-vm%2F&amp;linkname=Microsoft%20Azure%20Nested%20Virtualization%20%7C%20VM%20in%20Nested%20VM%20in%20Azure%20VM" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fmicrosoft-azure-nested-virtualization-vm-in-vm-in-azure-vm%2F&amp;linkname=Microsoft%20Azure%20Nested%20Virtualization%20%7C%20VM%20in%20Nested%20VM%20in%20Azure%20VM" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fmicrosoft-azure-nested-virtualization-vm-in-vm-in-azure-vm%2F&#038;title=Microsoft%20Azure%20Nested%20Virtualization%20%7C%20VM%20in%20Nested%20VM%20in%20Azure%20VM" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/microsoft-azure-nested-virtualization-vm-in-vm-in-azure-vm/" data-a2a-title="Microsoft Azure Nested Virtualization | VM in Nested VM in Azure VM"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/microsoft-azure-nested-virtualization-vm-in-vm-in-azure-vm/">Microsoft Azure Nested Virtualization | VM in Nested VM in Azure VM</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/azure/microsoft-azure-nested-virtualization-vm-in-vm-in-azure-vm/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Migrating DHCP from Server 2003 to Server 2012 R2</title>
		<link>https://www.cloudcorner.gr/microsoft/migrating-dhcp-server-2003-server-2012-r2/</link>
					<comments>https://www.cloudcorner.gr/microsoft/migrating-dhcp-server-2003-server-2012-r2/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 21 Jun 2016 09:58:32 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[dhcp]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=1010</guid>

					<description><![CDATA[<p>this is something very common lately and always I follow this post: http://windowsitpro.com/windows-server-2003-end-support/migrating-dhcp-server-2003-server-2012-r2 Netsh DHCP Server \\&#60;DHCP_2003_Server_IP_Address&#62; Export c:\export\2k3dhcp-database all Performing</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/migrating-dhcp-server-2003-server-2012-r2/">Migrating DHCP from Server 2003 to Server 2012 R2</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="text geshifilter-text">this is something very common lately and always I follow this post: <a href="http://windowsitpro.com/windows-server-2003-end-support/migrating-dhcp-server-2003-server-2012-r2">http://windowsitpro.com/windows-server-2003-end-support/migrating-dhcp-server-2003-server-2012-r2</a></div>
<div class="text geshifilter-text"></div>
<div class="geshifilter">
<div class="text geshifilter-text">Netsh<br />
DHCP<br />
Server \\&lt;DHCP_2003_Server_IP_Address&gt;<br />
Export c:\export\2k3dhcp-database all</div>
</div>
<p>Performing this task will create a file in the c:\export folder named 2k3dhcp-database</p>
<p>Copy this file to the computer running Windows Server 2012 R2 that will function as the new DHCP server. You’ll need to install the DHCP server role on this computer and authorize the DHCP server in Active Directory before performing the following actions.</p>
<p>Open an elevated command prompt and run the following commands (this assumes you’ve copied the file to a folder named c:\import\)</p>
<div class="geshifilter">
<div class="text geshifilter-text">Net stop DHCPserver<br />
Del c:\windows\system32\DHCP\DHCP.mdb<br />
Net start DHCPserver<br />
Netsh<br />
DHCP<br />
Server \\&lt;DHCP_2012R2_Server_IP_Address&gt;<br />
Import c:\import\2k3dhcp-database<br />
Exit<br />
Net stop DHCPserver<br />
Net start DHCPserver</div>
</div>
<div class="text geshifilter-text">source: <a href="http://windowsitpro.com/windows-server-2003-end-support/migrating-dhcp-server-2003-server-2012-r2">http://windowsitpro.com/windows-server-2003-end-support/migrating-dhcp-server-2003-server-2012-r2</a></div>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:proxim&#097;g&#114;&#064;ho&#116;&#109;a&#105;&#108;.c&#111;m" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fmigrating-dhcp-server-2003-server-2012-r2%2F&amp;linkname=Migrating%20DHCP%20from%20Server%202003%20to%20Server%202012%20R2" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fmigrating-dhcp-server-2003-server-2012-r2%2F&amp;linkname=Migrating%20DHCP%20from%20Server%202003%20to%20Server%202012%20R2" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fmigrating-dhcp-server-2003-server-2012-r2%2F&#038;title=Migrating%20DHCP%20from%20Server%202003%20to%20Server%202012%20R2" data-a2a-url="https://www.cloudcorner.gr/microsoft/migrating-dhcp-server-2003-server-2012-r2/" data-a2a-title="Migrating DHCP from Server 2003 to Server 2012 R2"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/migrating-dhcp-server-2003-server-2012-r2/">Migrating DHCP from Server 2003 to Server 2012 R2</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/migrating-dhcp-server-2003-server-2012-r2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SQL Server Performance Monitor Counters</title>
		<link>https://www.cloudcorner.gr/microsoft/servers/sql-server-performance-monitor-counters/</link>
					<comments>https://www.cloudcorner.gr/microsoft/servers/sql-server-performance-monitor-counters/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 31 May 2016 21:06:12 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[sql]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=1007</guid>

					<description><![CDATA[<p>THE BEST SQL SERVER PERFORMANCE MONITOR COUNTERS TO ANALYZE &#8211; These are listed OBJECT first, then COUNTER &#8211; Memory –</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/servers/sql-server-performance-monitor-counters/">SQL Server Performance Monitor Counters</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div>THE BEST SQL SERVER PERFORMANCE MONITOR COUNTERS TO ANALYZE</div>
<div></div>
<div>&#8211; These are listed OBJECT first, then COUNTER</div>
<div>&#8211; Memory – Available MBytes</div>
<div>&#8211; Paging File – % Usage</div>
<div>&#8211; Physical Disk – Avg. Disk sec/Read</div>
<div>&#8211; Physical Disk – Avg. Disk sec/Write</div>
<div>&#8211; Physical Disk – Disk Reads/sec</div>
<div>&#8211; Physical Disk – Disk Writes/sec</div>
<div>&#8211; Processor – % Processor Time</div>
<div>&#8211; SQLServer: General Statistics – User Connections</div>
<div>&#8211; SQLServer: Memory Manager – Memory Grants Pending</div>
<div>&#8211; SQLServer: SQL Statistics – Batch Requests/sec</div>
<div>&#8211; SQLServer: SQL Statistics – Compilations/sec</div>
<div>&#8211; SQLServer: SQL Statistics – Recompilations/sec</div>
<div>&#8211; System – Processor Queue Length</div>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:&#112;&#114;o&#120;i&#109;ag&#114;&#064;&#104;otma&#105;&#108;.&#099;&#111;m" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fservers%2Fsql-server-performance-monitor-counters%2F&amp;linkname=SQL%20Server%20Performance%20Monitor%20Counters" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fservers%2Fsql-server-performance-monitor-counters%2F&amp;linkname=SQL%20Server%20Performance%20Monitor%20Counters" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fservers%2Fsql-server-performance-monitor-counters%2F&#038;title=SQL%20Server%20Performance%20Monitor%20Counters" data-a2a-url="https://www.cloudcorner.gr/microsoft/servers/sql-server-performance-monitor-counters/" data-a2a-title="SQL Server Performance Monitor Counters"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/servers/sql-server-performance-monitor-counters/">SQL Server Performance Monitor Counters</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/servers/sql-server-performance-monitor-counters/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>File Server in-place Domain Migration</title>
		<link>https://www.cloudcorner.gr/microsoft/file-server-place-domain-migration/</link>
					<comments>https://www.cloudcorner.gr/microsoft/file-server-place-domain-migration/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Thu, 19 May 2016 13:00:15 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[file server]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[subinacl]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=980</guid>

					<description><![CDATA[<p>File Server in-place Domain Migration When migrating to a new domain a major part is the file server, especially if</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/file-server-place-domain-migration/">File Server in-place Domain Migration</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>File Server in-place Domain Migration</strong></span></p>
<p>When migrating to a new domain a major part is the file server, especially if there are a lot of data and different permissions.</p>
<p>Thankfully Microsoft has a very helpful tool called SubInACL. This tool can be used to read and update security permissions and is much helpful for file server in-place domain migration. The tool can be downloaded here: https://www.microsoft.com/en-us/download/details.aspx?id=23510</p>
<p>But after searching a lot there is not a specific guide that someone has followed and worked. So I started testing and came up with the following steps that worked for me:</p>
<ol>
<li style="text-align: left;">Open an elevated Command Prompt window and navigate to the folder containing the subinacl.exe</li>
<li style="text-align: left;">Export the permissions of the drive&#8217;s root:<br />
subinacl /noverbose /output=C:\permissionsE.txt /file E:</li>
<li style="text-align: left;">Export the permissions of the all subfolders and files:<br />
subinacl /noverbose /output=C:\permissionsEsub.txt /subdirectories E:</li>
<li style="text-align: left;">Copy the contents of the &#8220;permissionsE.txt&#8221; to the start of the &#8220;permissionsEsub.txt&#8221; file.</li>
<li style="text-align: left;">Open the &#8220;permissionsEsub.txt&#8221; file and replace the old domain name with the new domain name.</li>
<li style="text-align: left;">View the shares:<br />
net view computername</li>
<li style="text-align: left;">Export the shares&#8217; permissions:<br />
subinacl /noverbose /output=C:\shares.txt /share \\computername\fileshare</li>
<li style="text-align: left;">Disjoin and join the Server to the new domain</li>
<li style="text-align: left;">Import the NTFS permissions<br />
Subinacl /playfile C:\permissionsEsub.txt</li>
<li style="text-align: left;">Import the shares&#8217; permissions:<br />
Subinacl /playfile C:\shares.txt</li>
</ol>
<p><span style="text-decoration: underline;">Some commends from the field</span></p>
<p>The export process is very fast but the import process takes much longer time.<br />
The subinacl process is single threaded (uses only one core) so in order to speed up the whole process you can split the permissions file and run it multiple times on different command prompt windows. Every subinacl.exe will create a single process that will use one core so if you have four cores create four processes.<br />
The import process completely removes the permissions and applies the new ones. So no User IDs will stay at the files/folders.</p>
<p>&nbsp;</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:pr&#111;&#120;&#105;&#109;ag&#114;&#064;h&#111;tma&#105;&#108;.co&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Ffile-server-place-domain-migration%2F&amp;linkname=File%20Server%20in-place%20Domain%20Migration" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Ffile-server-place-domain-migration%2F&amp;linkname=File%20Server%20in-place%20Domain%20Migration" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Ffile-server-place-domain-migration%2F&#038;title=File%20Server%20in-place%20Domain%20Migration" data-a2a-url="https://www.cloudcorner.gr/microsoft/file-server-place-domain-migration/" data-a2a-title="File Server in-place Domain Migration"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/file-server-place-domain-migration/">File Server in-place Domain Migration</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/file-server-place-domain-migration/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>AzureRm &#124; Create External Load Balancer with two VMs</title>
		<link>https://www.cloudcorner.gr/microsoft/azurerm-create-external-load-balancer-with-two-vms/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azurerm-create-external-load-balancer-with-two-vms/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 22 Mar 2016 21:11:11 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[virtual network]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=974</guid>

					<description><![CDATA[<p>After my previous post, the internal load balancer with two VMs, this is a scenario using the External Load Balancer.</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azurerm-create-external-load-balancer-with-two-vms/">AzureRm | Create External Load Balancer with two VMs</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>After my previous post, the internal load balancer with two VMs, this is a scenario using the External Load Balancer. The configuration includes a Load Balancer with a Static Public IP at the frond end and two VMs at the back end. The load balancer has two static routes for RDP, one for each VM and one load balance rule, the TCP port 80, common for web sites and applications. It uses a probe that checks a web page on both hosts to verify if they are active.</p>
<p>Lets start. First we need to install the AzureRm module. If not Windows 10 then first install the https://www.microsoft.com/en-us/download/details.aspx?id=48729<br />
Then Open Powershell ISE and execute the following commands. I have added a lot of comments to help customize based to the needs.</p>
<pre class="lang:ps decode:true ">Set-ExecutionPolicy RemoteSigned
Install-Module AzureRM
Login-AzureRmAccount

#Define the variables
$ResourceGroupName = "myresourcegroup"
$StorageAccountName = "mystorageaccount"
$vnetname = "VNET-01"
$NSGname = "NSG-01"
$locationName = "West Europe"
$publicipname = "mypublicip"
$vnet = Get-AzureRmVirtualNetwork -Name $vnetname -ResourceGroupName $ResourceGroupName

#Create a new resource group
New-AzureRmResourceGroup -Name $ResourceGroupName -Location $locationName

#Create storage account
New-AzureRmStorageAccount `
                -ResourceGroupName $resourcegroupName `
                -Name $storageaccountName `
                -Type Standard_LRS `
                -Location $locationName

#Create Virtual Network and a private IP address for front end IP pool
$FESubnet = New-AzureRmVirtualNetworkSubnetConfig -Name FE-SUBNET -AddressPrefix 10.0.0.16/28
$BESubnet = New-AzureRmVirtualNetworkSubnetConfig -Name BE-SUBNET -AddressPrefix 10.0.0.32/28

$vnet = New-AzureRmVirtualNetwork `
        -Name $vnetname `
        -ResourceGroupName $ResourceGroupName `
        -Location $locationName `
        -AddressPrefix 10.0.0.0/24 -Subnet $FESubnet,$BESubnet

$FESubnet = Get-AzureRmVirtualNetworkSubnetConfig -Name FE-SUBNET -VirtualNetwork $vnet
$BESubnet = Get-AzureRmVirtualNetworkSubnetConfig -Name BE-SUBNET -VirtualNetwork $vnet

#Create Public IP
$publicIP = New-AzureRmPublicIpAddress `
                            -Name PublicIp `
                            -ResourceGroupName $ResourceGroupName `
                            -Location $locationName `
                            –AllocationMethod Static `
                            -DomainNameLabel $publicipname

#Create FrontEnd IP pool and BackEnd address pool
$APPfrontendIP = New-AzureRmLoadBalancerFrontendIpConfig `
        -Name APP-LB-Frontend `
        -PublicIpAddress $publicIP

$APPbeaddresspool= New-AzureRmLoadBalancerBackendAddressPoolConfig -Name "APP-LB-backend"

#Create load balancer rules, NAT rules, probe and load balancer
$APPinboundNATRule1= New-AzureRMLoadBalancerInboundNatRuleConfig `
                    -Name "RDP1" `
                    -FrontendIpConfiguration $APPfrontendIP `
                    -Protocol TCP `
                    -FrontendPort 33389 `
                    -BackendPort 3389
$APPinboundNATRule2= New-AzureRMLoadBalancerInboundNatRuleConfig `
                    -Name "RDP2" `
                    -FrontendIpConfiguration $APPfrontendIP `
                    -Protocol TCP `
                    -FrontendPort 33390 `
                    -BackendPort 3389
$APPhealthProbe = New-AzureRMLoadBalancerProbeConfig `
                    -Name "HealthProbe" `
                    -RequestPath "/index.aspx" `
                    -Protocol http `
                    -Port 80 `
                    -IntervalInSeconds 15 `
                    -ProbeCount 2
$APPlbrule = New-AzureRMLoadBalancerRuleConfig `
                    -Name "HTTP" `
                    -FrontendIpConfiguration $APPfrontendIP `
                    -BackendAddressPool $APPbeAddressPool `
                    -Probe $GAPPhealthProbe `
                    -Protocol Tcp `
                    -FrontendPort 80 `
                    -BackendPort 80
$APPLB = New-AzureRMLoadBalancer `
                    -ResourceGroupName $ResourceGroupName `
                    -Name "APP-LB" `
                    -Location $locationName `
                    -FrontendIpConfiguration $APPfrontendIP `
                    -InboundNatRule $APPinboundNATRule1,$APPinboundNATRule2 `
                    -LoadBalancingRule $APPlbrule `
                    -BackendAddressPool $APPbeAddressPool `
                    -Probe $APPhealthProbe

#Create the network interfaces for the backend VMs
$vnet = Get-AzureRMVirtualNetwork -Name $vnetname -ResourceGroupName $ResourceGroupName
$APPbackendSubnet = Get-AzureRMVirtualNetworkSubnetConfig -Name FE-SUBNET -VirtualNetwork $vnet

#Create 1st NIC with first NAT rule for RDP
$APPbackendnic1 = New-AzureRMNetworkInterface `
                    -ResourceGroupName $ResourceGroupName `
                    -Name APP-lb-nic1-be `
                    -Location $locationName `
                    -PrivateIpAddress 10.0.0.21 `
                    -Subnet $APPbackendSubnet `
                    -LoadBalancerBackendAddressPool $APPLB.BackendAddressPools[0] `
                    -LoadBalancerInboundNatRule $APPLB.InboundNatRules[0]
#Create 2nd NIC with second NAT rule for RDP
$APPbackendnic2 = New-AzureRMNetworkInterface `
                    -ResourceGroupName $ResourceGroupName `
                    -Name APP-lb-nic2-be `
                    -Location $locationName `
                    -PrivateIpAddress 10.0.0.22 `
                    -Subnet $APPbackendSubnet `
                    -LoadBalancerBackendAddressPool $APPLB.BackendAddressPools[0] `
                    -LoadBalancerInboundNatRule $APPLB.InboundNatRules[1]

#Create a Virtual Machine and assign the NIC
# Set the existing virtual network and subnet index
$subnetIndex=0
$vnet=Get-AzureRMVirtualNetwork -Name $vnetName -ResourceGroupName $resourcegroupName

#Create Availability Set
$availabilitysetName="APP-AS"
New-AzureRmAvailabilitySet –Name $availabilitysetName –ResourceGroupName $resourcegroupName -Location $locationName

# First VM
# Specify the name, size, and existing availability set
$vmName="APP-01"
$vmSize="Standard_A1"
$availabilitysetName="APP-AS"
$availabilitysetSet=Get-AzureRmAvailabilitySet –Name $availabilitysetName –ResourceGroupName $resourcegroupName
$vm=New-AzureRmVMConfig -VMName $vmName -VMSize $vmSize -AvailabilitySetId $availabilitysetSet.Id

#Add a 1023 GB additional data disk
$diskSize=1023
$diskLabel="AS1Data"
$diskName="AS1Data"
$storageAccount=Get-AzureRmStorageAccount -ResourceGroupName $resourcegroupName -Name $storageaccountName
$vhdURI=$storageAccount.PrimaryEndpoints.Blob.ToString() + "vhds/" + $vmName + $diskName  + ".vhd"
Add-AzureRmVMDataDisk -VM $vm -Name $diskLabel -DiskSizeInGB $diskSize -VhdUri $vhdURI -CreateOption empty

#Specify the image and local administrator account, and then add the NIC
#To find the Publisher, Offer and SKU use the Get-AzureRmVMImagePublisher, Get-AzureRmVMImageOffer and Get-AzureRmVMImageSku commands
$pubName="MicrosoftWindowsServer"
$offerName="WindowsServer"
$skuName="2012-R2-Datacenter"
$cred=Get-Credential -Message "Type the name and password of the local administrator account."
$vm=Set-AzureRmVMOperatingSystem -VM $vm -Windows -ComputerName $vmName -Credential $cred
$vm=Set-AzureRmVMSourceImage -VM $vm -PublisherName $pubName -Offer $offerName -Skus $skuName -Version "latest"
$vm=Add-AzureRmVMNetworkInterface -VM $vm -Id $backendnic1.Id

#Specify the OS disk name and create the VM / For Create NEW OS Disk
$diskName="OSDisk"
$storageAccount=Get-AzureRmStorageAccount -ResourceGroupName $resourcegroupName -Name $storageaccountName
$osDiskUri=$storageAccount.PrimaryEndpoints.Blob.ToString() + "vhds/" + $vmName + $diskName  + ".vhd"
$vm=Set-AzureRmVMOSDisk -VM $vm -Name $diskName -VhdUri $osDiskUri -CreateOption fromImage
New-AzureRmVM -ResourceGroupName $resourcegroupName -Location $locationName -VM $vm

#Second VM
# Specify the name, size, and existing availability set
$vmName="APP-02"
$vmSize="Standard_A1"
$availabilitysetName="APP-AS"
$availabilitysetSet=Get-AzureRmAvailabilitySet –Name $availabilitysetName –ResourceGroupName $resourcegroupName
$vm=New-AzureRmVMConfig -VMName $vmName -VMSize $vmSize -AvailabilitySetId $availabilitysetSet.Id

#Add a 1023 GB additional data disk
$diskSize=1023
$diskLabel="AS2Data"
$diskName="AS2Data"
$storageAccount=Get-AzureRmStorageAccount -ResourceGroupName $resourcegroupName -Name $storageaccountName
$vhdURI=$storageAccount.PrimaryEndpoints.Blob.ToString() + "vhds/" + $vmName + $diskName  + ".vhd"
Add-AzureRmVMDataDisk -VM $vm -Name $diskLabel -DiskSizeInGB $diskSize -VhdUri $vhdURI -CreateOption empty

#Specify the image and local administrator account, and then add the NIC
#To find the Publisher, Offer and SKU use the Get-AzureRmVMImagePublisher, Get-AzureRmVMImageOffer and Get-AzureRmVMImageSku commands
$pubName="MicrosoftWindowsServer"
$offerName="WindowsServer"
$skuName="2012-R2-Datacenter"
$cred=Get-Credential -Message "Type the name and password of the local administrator account."
$vm=Set-AzureRmVMOperatingSystem -VM $vm -Windows -ComputerName $vmName -Credential $cred
$vm=Set-AzureRmVMSourceImage -VM $vm -PublisherName $pubName -Offer $offerName -Skus $skuName -Version "latest"
$vm=Add-AzureRmVMNetworkInterface -VM $vm -Id $backendnic2.Id

#Specify the OS disk name and create the VM / For Create NEW OS Disk
$diskName="OSDisk"
$storageAccount=Get-AzureRmStorageAccount -ResourceGroupName $resourcegroupName -Name $storageaccountName
$osDiskUri=$storageAccount.PrimaryEndpoints.Blob.ToString() + "vhds/" + $vmName + $diskName  + ".vhd"
$vm=Set-AzureRmVMOSDisk -VM $vm -Name $diskName -VhdUri $osDiskUri -CreateOption fromImage
New-AzureRmVM -ResourceGroupName $resourcegroupName -Location $locationName -VM $vm</pre>
<p>&nbsp;</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:&#112;&#114;o&#120;i&#109;a&#103;&#114;&#064;&#104;ot&#109;&#097;&#105;&#108;.&#099;o&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazurerm-create-external-load-balancer-with-two-vms%2F&amp;linkname=AzureRm%20%7C%20Create%20External%20Load%20Balancer%20with%20two%20VMs" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazurerm-create-external-load-balancer-with-two-vms%2F&amp;linkname=AzureRm%20%7C%20Create%20External%20Load%20Balancer%20with%20two%20VMs" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazurerm-create-external-load-balancer-with-two-vms%2F&#038;title=AzureRm%20%7C%20Create%20External%20Load%20Balancer%20with%20two%20VMs" data-a2a-url="https://www.cloudcorner.gr/microsoft/azurerm-create-external-load-balancer-with-two-vms/" data-a2a-title="AzureRm | Create External Load Balancer with two VMs"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/azurerm-create-external-load-balancer-with-two-vms/">AzureRm | Create External Load Balancer with two VMs</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/azurerm-create-external-load-balancer-with-two-vms/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>AzureRm &#124; Create Site to Site VPN</title>
		<link>https://www.cloudcorner.gr/microsoft/azurerm-create-site-to-site-vpn/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azurerm-create-site-to-site-vpn/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 08 Dec 2015 22:49:38 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[vpn]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=961</guid>

					<description><![CDATA[<p>AzureRm &#124; Create Site to Site VPN This post is part of a general idea, to create an end-to-end high available</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azurerm-create-site-to-site-vpn/">AzureRm | Create Site to Site VPN</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1><strong>AzureRm | Create Site to Site VPN</strong></h1>
<p>This post is part of a general idea, to create an end-to-end high available application infrastructure solution in Azure using internal load balancer with the new AzureRm commands and Azure PowerShell v.1.0 preview.</p>
<p>We will create a Gateway, request a Public IP and establish a Site to Site VPN. At the time I am writting this post there is no option to create the VPN ising the Portal, the only way is using PowerShell. Also there is no option to download the configuration  for the local firewall/router, like the classic deployment.</p>
<p>The AzureRm commands are installed directly from the PowerShell using the Install-Module AzureRM &amp; Install-AzureRM commands.</p>
<p>So lets start:</p>
<pre class="lang:ps decode:true">#Login
Login-AzureRmAccount

#Create Gateway for VPN

# add the local (office) public ip and local networks
$resourcegroupName ="RMDemoRG"
$locationName ="West Europe"
$vnetName = "NRPVnet"
New-AzureRmLocalNetworkGateway -Name localsite -ResourceGroupName $resourcegroupName -Location $locationName -GatewayIpAddress "XXX.XXX.XXX.XXX" -AddressPrefix @('10.0.0.0/24','192.168.0.0/24')

# Create the Gateway Subnet
$vnet = Get-AzureRmVirtualNetwork -ResourceGroupName $resourcegroupName -Name $vnetName 
Add-AzureRmVirtualNetworkSubnetConfig -Name 'GatewaySubnet' -AddressPrefix 172.16.0.0/16 -VirtualNetwork $vnet
Set-AzureRmVirtualNetwork -VirtualNetwork $vnet

# create gateway and request azure public ip
$gwpip= New-AzureRmPublicIpAddress -Name RMDemoPIP -ResourceGroupName $resourcegroupName -Location $locationName -AllocationMethod Dynamic
$vnet = Get-AzureRmVirtualNetwork -Name $vnetName -ResourceGroupName $resourcegroupName
$GWsubnet = Get-AzureRmVirtualNetworkSubnetConfig -Name 'GatewaySubnet' -VirtualNetwork $vnet
$gwipconfig = New-AzureRmVirtualNetworkGatewayIpConfig -Name gwipconfig1 -SubnetId $GWsubnet.Id -PublicIpAddressId $gwpip.Id
New-AzureRmVirtualNetworkGateway `
            -Name RMDemoGW `
            -ResourceGroupName $resourcegroupName `
            -Location $locationName `
            -IpConfigurations $gwipconfig `
            -GatewayType Vpn `
            -VpnType PolicyBased #PolicyBased For Static &amp; RouteBased for Dynamic VPN

# Get the Public IP
Get-AzureRmPublicIpAddress -Name RMDemoPIP -ResourceGroupName $resourcegroupName

# Establish the VPN connection
$gateway1 = Get-AzureRmVirtualNetworkGateway -Name RMDemoGW -ResourceGroupName $resourcegroupName
$local = Get-AzureRmLocalNetworkGateway -Name LocalSite -ResourceGroupName $resourcegroupName
New-AzureRmVirtualNetworkGatewayConnection `
            -Name localtovpn `
            -ResourceGroupName $resourcegroupName `
            -Location $locationName `
            -VirtualNetworkGateway1 $gateway1 `
            -LocalNetworkGateway2 $local `
            -ConnectionType IPsec `
            -RoutingWeight 10 `
            -SharedKey 'ABCDEFG1234567890'

#check the VPN status
Get-AzureRMVirtualNetworkGatewayConnection -Name localtovpn -ResourceGroupName $resourcegroupName -Debug
</pre>
<p>Finally, since there is no way to download the configuration script at this time, the sample configurations can be found here: <a href="https://github.com/Azure/Azure-vpn-config-samples" target="_blank">https://github.com/Azure/Azure-vpn-config-samples</a></p>
<p>After the creation of the VPN, that can be done only using PowerShell, we can use the portal to view the status and the settings</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:&#112;&#114;oxi&#109;&#097;&#103;r&#064;&#104;&#111;&#116;&#109;a&#105;l&#046;&#099;o&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazurerm-create-site-to-site-vpn%2F&amp;linkname=AzureRm%20%7C%20Create%20Site%20to%20Site%20VPN" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazurerm-create-site-to-site-vpn%2F&amp;linkname=AzureRm%20%7C%20Create%20Site%20to%20Site%20VPN" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazurerm-create-site-to-site-vpn%2F&#038;title=AzureRm%20%7C%20Create%20Site%20to%20Site%20VPN" data-a2a-url="https://www.cloudcorner.gr/microsoft/azurerm-create-site-to-site-vpn/" data-a2a-title="AzureRm | Create Site to Site VPN"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/azurerm-create-site-to-site-vpn/">AzureRm | Create Site to Site VPN</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/azurerm-create-site-to-site-vpn/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Add AlwaysOn AG to SQL Failover Cluster Instance</title>
		<link>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/add-alwayson-ag-to-sql-failover-cluster-instance/</link>
					<comments>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/add-alwayson-ag-to-sql-failover-cluster-instance/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 10 Nov 2015 19:11:07 +0000</pubDate>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ελληνικά]]></category>
		<category><![CDATA[alwayson]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=901</guid>

					<description><![CDATA[<p>SQL Failover Cluster with AlwaysOn Availability Groups Πάμε τώρα για το τελευταίο κομμάτι του lab, να προσθέσουμε AlwaysOn Availability Group</p>
<p>The post <a href="https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/add-alwayson-ag-to-sql-failover-cluster-instance/">Add AlwaysOn AG to SQL Failover Cluster Instance</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 style="text-align: justify;">SQL Failover Cluster with AlwaysOn Availability Groups</h1>
<p style="text-align: justify;">Πάμε τώρα για το τελευταίο κομμάτι του lab, να προσθέσουμε AlwaysOn Availability Group στο υπάρχον SQL WSFC.</p>
<ol style="text-align: justify;">
<li><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/">Windows Server 2012 R2 Failover Cluster with FreeNAS 9.3</a></li>
<li><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/">Microsoft SQL 2012 on Failover Cluster</a></li>
<li><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/add-alwayson-ag-to-sql-failover-cluster-instance/">Add AlwaysOn AG to SQL Failover Cluster Instance</a></li>
</ol>
<h1 style="text-align: justify;">Add AlwaysOn AG to SQL Failover Cluster Instance</h1>
<p style="text-align: justify;">Για αρχή πρέπει να ενεργοποιήσουμε το “AlwaysOn High Availability” setting και στα δύο Nodes του υπάρχοντος Cluster. Εδώ να τονίσουμε πως η επιλογή υπάρχει μόνο στη Enterprise έκδοση και όχι στην Standard. Ανοίγουμε λοιπόν το SQL Server Configuration Manager / SQL Server Services / SQL Server (NAME) , δεξί click Properties και στην καρτέλα &#8220;AlwaysOn High Availability” επιλέγουμε το “Enable AlwaysOn Availability Groups”. Με το που θα πατήσουμε Apply θα μας ενημερώσει ότι η αλλαγή θα περάσει στον SQL στο επόμενο restart.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag1.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-902" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag1.jpg" alt="sqllabag1" width="877" height="648" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag1.jpg 877w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag1-300x222.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag1-624x461.jpg 624w" sizes="auto, (max-width: 877px) 100vw, 877px" /></a></p>
<p style="text-align: justify;">Δεν κάνουμε restart.</p>
<p style="text-align: justify;">Τώρα για να γίνει η αλλαγή στο δεύτερο Node πρέπει να κάνουμε manual failover για να σηκωθεί το service της SQL. Όπως είχαμε κάνει και στο τέλος του προηγούμενου Post, όταν εγκαταστήσαμε το δεύτερο SQL Node, από το Failover Cluster Manager κάνουμε move το SQL Server Role στο δεύτερο Node. Τώρα άμα ανοίξετε το SQL Server Configuration Manager θα δείτε ότι το SQL Server service έχει γίνει stop και το SQL Server service τρέχει στο δεύτερο Node με ενεργοποιημένο με το AlwaysOn. Τέλος ξανακάνουμε move το SQL Server Role στο πρώτο Node.</p>
<p style="text-align: justify;">Στη συνέχεια πάμε να βάλουμε τον τρίτο server στο υπάρχον Windows Failover Cluster. Ανοίγουμε το Failover Cluster Manager από το πρώτο Node (Win2012R201 στο lab) και πατάμε Nodes / Add Node…</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag2.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-903" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag2.jpg" alt="sqllabag2" width="341" height="173" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag2.jpg 341w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag2-300x152.jpg 300w" sizes="auto, (max-width: 341px) 100vw, 341px" /></a></p>
<p style="text-align: justify;">Ξεκινάει ο Wizard, πατάμε το πρώτο Next και στο Select Servers επιλέγουμε τον τρίτο server (Win2012R203 στο lab) και πατάμε Next.<br />
Για να περάσει το verification πρέπει ο server να έχει ήδη το Failover Cluster feature, κάτι που στο lab υπάρχει από το template.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag3.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-904" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag3.jpg" alt="sqllabag3" width="680" height="467" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag3.jpg 680w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag3-300x206.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag3-624x429.jpg 624w" sizes="auto, (max-width: 680px) 100vw, 680px" /></a></p>
<p style="text-align: justify;">Μιας και αυτό το Node δεν θα είναι ουσιαστικά μέρος του Failover Cluster αλλά το θέλουμε μόνο για το AlwaysOn, επιλέγουμε να μην κάνει τα validation test και να μην βάλει storage.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag4.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-905" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag4.jpg" alt="sqllabag4" width="683" height="464" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag4.jpg 683w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag4-300x204.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag4-624x424.jpg 624w" sizes="auto, (max-width: 683px) 100vw, 683px" /></a></p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag5.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-906" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag5.jpg" alt="sqllabag5" width="680" height="455" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag5.jpg 680w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag5-300x201.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag5-624x418.jpg 624w" sizes="auto, (max-width: 680px) 100vw, 680px" /></a></p>
<p style="text-align: justify;">Τώρα πρέπει να σιγουρεύουμε ότι δεν θα προσπαθήσει το Cluster να σηκώσει την SQL στο τρίτο Node που θα είναι για το AlwaysOn.<br />
Αφού προστεθεί το Node στο Cluster πρέπει να πάμε πρώτα στο Failover Cluster Manager / WSFCcomputername (sqlclus.sqllab.int για το lab), επιλέγουμε από τα Cluster Core Resources στο Server Name το computer name του sql cluster (sqlclus για το lab) και δεξί click properties.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag7.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-908" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag7.jpg" alt="sqllabag7" width="645" height="615" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag7.jpg 645w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag7-300x286.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag7-624x595.jpg 624w" sizes="auto, (max-width: 645px) 100vw, 645px" /></a></p>
<p style="text-align: justify;">Πηγαίνουμε στο Advanced Policies tab και απόεπιλέγουμε το τρίτο Node, όπως στην εικόνα</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag01.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-925" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag01.jpg" alt="sqllabag01" width="406" height="481" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag01.jpg 406w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag01-253x300.jpg 253w" sizes="auto, (max-width: 406px) 100vw, 406px" /></a></p>
<p style="text-align: justify;">Στην συνέχεια στον SQL Server Ρόλο, δεξί click properties και να επιλέξουμε preferred owners τα δύο πρώτα Nodes μόνο.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag6.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-907" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag6.jpg" alt="sqllabag6" width="608" height="597" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag6.jpg 608w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag6-300x295.jpg 300w" sizes="auto, (max-width: 608px) 100vw, 608px" /></a></p>
<p style="text-align: justify;">Το ίδιο κάνουμε και για τα δύο Cluster Disks</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag8.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-909" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag8.jpg" alt="sqllabag8" width="717" height="618" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag8.jpg 717w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag8-300x259.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag8-624x538.jpg 624w" sizes="auto, (max-width: 717px) 100vw, 717px" /></a></p>
<p style="text-align: justify;">Τώρα κάνουμε μια τυπική εγκατάσταση SQL Server 2012 στο τρίτο Node, με τα ίδια settings που κάναμε και για το Cluster, με τη διαφορά ότι θα κάνουμε Stand Alone Setup και όχι Cluster και πρέπει να δώσουμε διαφορετικό instance name γιατί το Default instane (MSSQLSERVER) υπάρχει στο Cluster. Επίσης δίνουμε έναν δίσκο στο Server με ίδιο γράμμα με αυτό που έχουν οι servers στο Cluster για την SQL. Στο lab είναι F:.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag9.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-910" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag9.jpg" alt="sqllabag9" width="760" height="199" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag9.jpg 760w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag9-300x79.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag9-624x163.jpg 624w" sizes="auto, (max-width: 760px) 100vw, 760px" /></a></p>
<p style="text-align: justify;">Αφού ολοκληρωθεί η εγκατάσταση ενεργοποιούμε το AlwaysOn κι εδώ από το SQL Server Configuration Manager και κάνουμε restart το SQL server service.<br />
Επίσης σε αυτό το σημείο να αναφέρω ότι επειδή χρησιμοποιούμε ένα Named instance, κάθε φορά που ξεκινάει το SQL Server service καταχωρεί ένα SPN record το οποίο χρειάζεται για να μπορέσουν οι εφαρμογές να κάνουν authenticate με τον SQL Server. Για να μπορέσει να γίνει αυτό πρέπει το account που τρέχει το SQL Server service να έχει δικαίωμα να διαβάζει και να γράφει serviceprinipalnames στο Active Directory. Στο lab χρησιμοποίησα Domain Admin account οπότε το SPN καταχωρείται σωστά.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/spn1.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-934" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/spn1.jpg" alt="spn1" width="647" height="134" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/spn1.jpg 647w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/spn1-300x62.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/spn1-624x129.jpg 624w" sizes="auto, (max-width: 647px) 100vw, 647px" /></a></p>
<p style="text-align: justify;">Μπορούμε πλέον να ξεκινήσουμε την διαδικασία να βάλουμε την βάση μας σε AlwaysOn Availability Group.<br />
Από το active node του WSFC ανοίγουμε το SQL Management Studio και συνδεόμαστε στο SCL Cluster Instance, στο LAB “SQLFCI”. Πρώτα κάνουμε ένα backup την βάση μας, μιας που είναι προαπαιτούμενο για να προχωρήσουμε. Παίρνουμε το backup και το κάνουμε restore στο τρίτο Node, Win2012R203 στο lab αλλά προσοχή, επιλέγουμε στο restore Options / Recovery state / RESTORE WITH NORECOVERY</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag14.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-915" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag14.jpg" alt="sqllabag14" width="860" height="391" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag14.jpg 860w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag14-300x136.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag14-624x284.jpg 624w" sizes="auto, (max-width: 860px) 100vw, 860px" /></a></p>
<p style="text-align: justify;">Αφού ολοκληρωθεί το restore η βάση θα πρέπει να έχει δημιουργηθεί και να είναι σε (Restoring…)</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag15.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-916" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag15.jpg" alt="sqllabag15" width="258" height="130" /></a></p>
<p style="text-align: justify;">Μετά πηγαίνουμε στο πρώτο Node, Win2012R201 στο lab, SQL Management Studio, στο “AlwaysOn High Availability” και με δεξί click στο Availability Groups πατάμε “New Availability Group Wizard…”</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag10.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-911" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag10.jpg" alt="sqllabag10" width="417" height="349" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag10.jpg 417w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag10-300x251.jpg 300w" sizes="auto, (max-width: 417px) 100vw, 417px" /></a></p>
<p style="text-align: justify;">Ανοίγει ο Wizard και μετά το πρώτο next δίνουμε Availability group name</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag11.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-912" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag11.jpg" alt="sqllabag11" width="444" height="363" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag11.jpg 444w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag11-300x245.jpg 300w" sizes="auto, (max-width: 444px) 100vw, 444px" /></a></p>
<p style="text-align: justify;">Στο επόμενο βήμα επιλέγουμε την βάση που θέλουμε να βάλουμε σε Availability Group</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag12.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-913" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag12.jpg" alt="sqllabag12" width="611" height="355" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag12.jpg 611w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag12-300x174.jpg 300w" sizes="auto, (max-width: 611px) 100vw, 611px" /></a></p>
<p style="text-align: justify;">Στο επόμενο βήμα πρέπει να ορίσουμε replicas. <span style="text-decoration: underline;">Έχει ήδη το SQFCI, και μάλιστα μας ενημερώνει ότι επειδή είναι Failover Cluster Instance <strong>δεν υποστηρίζει automatic failover</strong>. Αυτό σημαίνει ότι όταν χάσουμε όλο το Cluster (SQL Cluster Instance) θα πρέπει να πάμε στο τρίτο Node (Win2012R203 στο lab) στο SQL management studio / AlwaysON High Availability / Availability Groups /  και με δεξί click πάνω στο &#8220;AG Aname&#8221; κάνουμε manual failover. </span></p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag13.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-914" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag13.jpg" alt="sqllabag13" width="713" height="666" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag13.jpg 713w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag13-300x280.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag13-624x583.jpg 624w" sizes="auto, (max-width: 713px) 100vw, 713px" /></a></p>
<p style="text-align: justify;">Κάνουμε connect στο τρίτο Node, Win2012R203\MSSQLAG</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag16.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-917" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag16.jpg" alt="sqllabag16" width="426" height="324" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag16.jpg 426w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag16-300x228.jpg 300w" sizes="auto, (max-width: 426px) 100vw, 426px" /></a></p>
<p style="text-align: justify;">Αφού προστεθεί και ο Win2012R203, επιλέγουμε Readable Secondary και ανάλογα την χρήση επιλέγουμε Synchronous ή όχι Commit. Όπως είπα και στην αρχή του πρώτου Post, &#8220;<span style="text-decoration: underline;">Η ιδέα είναι να έχουμε ένα SQL Flailover Cluster στο Primary Site και στο υπάρχον Cluster να προσθέσουμε ένα AlwaysOn Availability group για το DR</span>&#8221; η χρήση του Availability Group είναι για DR Site για να αποφύγουμε latency στο Commit το αφήνουμε unchecked. Έτσι θα έχουμε asynchronous commit και θα αποφύγουμε το latency με ένα &#8220;φόβο&#8221; για Data Loss τη στιγμή που θα χρειαστεί Failover.</p>
<p style="text-align: justify;">Τέλος πατάμε Next.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag17.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-918" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag17.jpg" alt="sqllabag17" width="598" height="211" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag17.jpg 598w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag17-300x106.jpg 300w" sizes="auto, (max-width: 598px) 100vw, 598px" /></a></p>
<p style="text-align: justify;">Στην επόμενη καρτέλα επιλέγουμε το «Join only” αφού έχουμε κάνει ήδη restore την βάση, και πατάμε Next</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag18.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-919" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag18.jpg" alt="sqllabag18" width="545" height="303" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag18.jpg 545w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag18-300x167.jpg 300w" sizes="auto, (max-width: 545px) 100vw, 545px" /></a></p>
<p style="text-align: justify;">Στην καρτέλα validation αγνοούμε το warning για τον Listener, θα τον δημιουργήσουμε μετά</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag02.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-926" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag02.jpg" alt="sqllabag02" width="589" height="272" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag02.jpg 589w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag02-300x139.jpg 300w" sizes="auto, (max-width: 589px) 100vw, 589px" /></a></p>
<p style="text-align: justify;">Και πατάμε Finish για να δημιουργήσει το Group</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag19.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-920" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllabag19.jpg" alt="sqllabag19" width="318" height="424" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag19.jpg 318w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllabag19-225x300.jpg 225w" sizes="auto, (max-width: 318px) 100vw, 318px" /></a></p>
<p style="text-align: justify;">Σε αυτό το σημείο μπορούμε να δημιουργήσουμε Listener, ο οποίος θα είναι multi-sunet, δηλαδή θα έχει μια IP από κάθε subnet.</p>
<p>Αν έχουμε περισσότερα από ένα Azure VMs στο Always ON θα χρειαστούμε έναν Internal Azure Load Balancer. O Load Balancer θα έχει για backend pool τα Azure VMs που συμμετέχουν στο Always ON Availability Groups. Αυτό που πρέπει να προσέξουμε στο load balancing rule είναι να ενεργοποιήσουμε το Floating IP (Direct Server Return). You don&#8217;t need Session persistence. Για probe χρησιμοποιούμε την 59999.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-3763 " src="https://www.e-apostolidis.gr/wp-content/uploads/2015/11/Pasted-into-Add-AlwaysOn-AG-to-SQL-Failover-Cluster-Instance-4.png" width="606" height="353" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/Pasted-into-Add-AlwaysOn-AG-to-SQL-Failover-Cluster-Instance-4.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/Pasted-into-Add-AlwaysOn-AG-to-SQL-Failover-Cluster-Instance-4-300x175.png 300w" sizes="auto, (max-width: 606px) 100vw, 606px" /></p>
<p><img loading="lazy" decoding="async" width="665" height="503" class="alignnone wp-image-3762 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2015/11/Pasted-into-Add-AlwaysOn-AG-to-SQL-Failover-Cluster-Instance-3.png" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/Pasted-into-Add-AlwaysOn-AG-to-SQL-Failover-Cluster-Instance-3.png 665w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/Pasted-into-Add-AlwaysOn-AG-to-SQL-Failover-Cluster-Instance-3-300x227.png 300w" sizes="auto, (max-width: 665px) 100vw, 665px" /></p>
<p>Ορίζουμε την IP του Load Balancer στο Cluster με το παρακάτω PowerShell script. Αυτό το script θα επιτρέψει στην cluster IP να παντάει στο load balancer. Το τρέχουμε στο active node του failover cluster.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">$ClusterNetworkName = "&lt;MyClusterNetworkName&gt;" # the cluster network name (Use Get-ClusterNetwork on Windows Server 2012 of higher to find the name)
$IPResourceName = "&lt;IPResourceName&gt;" # the IP Address resource name
$ListenerILBIP = "&lt;n.n.n.n&gt;" # the IP Address of the Internal Load Balancer (ILB). This is the static IP address for the load balancer you configured in the Azure portal.
[int]$ListenerProbePort = "59999"

Import-Module FailoverClusters

Get-ClusterResource $IPResourceName | Set-ClusterParameter -Multiple @{"Address"="$ListenerILBIP";"ProbePort"=$ListenerProbePort;"SubnetMask"="255.255.255.255";"Network"="$ClusterNetworkName";"EnableDhcp"=0}</pre>
<p>Στην περίπτωσή μας, ο Listener θα έχει μια IP από το FCI cluster &amp; μια από το AlwaysOn subnet on Azure.</p>
<p><img loading="lazy" decoding="async" width="357" height="81" class="alignnone wp-image-3668 size-full" src="https://www.e-apostolidis.gr/wp-content/uploads/2015/11/Pasted-into-Add-AlwaysOn-AG-to-SQL-Failover-Cluster-Instance-1.png" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/Pasted-into-Add-AlwaysOn-AG-to-SQL-Failover-Cluster-Instance-1.png 357w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/Pasted-into-Add-AlwaysOn-AG-to-SQL-Failover-Cluster-Instance-1-300x68.png 300w" sizes="auto, (max-width: 357px) 100vw, 357px" /></p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-3667 " src="https://www.e-apostolidis.gr/wp-content/uploads/2015/11/Pasted-into-Add-AlwaysOn-AG-to-SQL-Failover-Cluster-Instance.png" width="546" height="247" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/Pasted-into-Add-AlwaysOn-AG-to-SQL-Failover-Cluster-Instance.png 794w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/Pasted-into-Add-AlwaysOn-AG-to-SQL-Failover-Cluster-Instance-300x136.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/Pasted-into-Add-AlwaysOn-AG-to-SQL-Failover-Cluster-Instance-768x347.png 768w" sizes="auto, (max-width: 546px) 100vw, 546px" /></p>
<p style="text-align: justify;">Σε μια εγκατάσταση που όλα τα SQL Instances είναι single ένας Listener χρησιμεύει για common name, ώστε να οδηγεί κάθε φορά τις εφαρμογές στο σωστό server.</p>
<p style="text-align: justify;">Τέλος να πούμε ότι η διαχείριση του Failover Cluster SQL Instance γίνετε μέσω του Windows Server Failover Cluster Manager, όπως π.χ. το manual failover, όπως είδαμε και στο προηγούμενο post.  Ενώ η διαχείριση του Always On High Availability γίνετε από το SQL Management Studio.</p>
<p>Αν έχετε πρόβλημα στην δημιουργία του Availability Group τρέξτε το εξής script:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">#To create the [NT AUTHORITY\SYSTEM] account, run the following in a query window:

USE [master]
GO
CREATE LOGIN [NT AUTHORITY\SYSTEM] FROM WINDOWS WITH DEFAULT_DATABASE=[master]
GO 

#To grant the permissions to the [NT AUTHORITY\SYSTEM] account, run the following in a query window:

GRANT ALTER ANY AVAILABILITY GROUP TO [NT AUTHORITY\SYSTEM]
GO
GRANT CONNECT SQL TO [NT AUTHORITY\SYSTEM]
GO
GRANT VIEW SERVER STATE TO [NT AUTHORITY\SYSTEM]
GO</pre>
<p>&nbsp;</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:&#112;ro&#120;i&#109;agr&#064;&#104;&#111;&#116;mail&#046;c&#111;&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fadd-alwayson-ag-to-sql-failover-cluster-instance%2F&amp;linkname=Add%20AlwaysOn%20AG%20to%20SQL%20Failover%20Cluster%20Instance" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fadd-alwayson-ag-to-sql-failover-cluster-instance%2F&amp;linkname=Add%20AlwaysOn%20AG%20to%20SQL%20Failover%20Cluster%20Instance" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fadd-alwayson-ag-to-sql-failover-cluster-instance%2F&#038;title=Add%20AlwaysOn%20AG%20to%20SQL%20Failover%20Cluster%20Instance" data-a2a-url="https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/add-alwayson-ag-to-sql-failover-cluster-instance/" data-a2a-title="Add AlwaysOn AG to SQL Failover Cluster Instance"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/add-alwayson-ag-to-sql-failover-cluster-instance/">Add AlwaysOn AG to SQL Failover Cluster Instance</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/add-alwayson-ag-to-sql-failover-cluster-instance/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Microsoft SQL 2012 on Failover Cluster</title>
		<link>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/</link>
					<comments>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 22:30:52 +0000</pubDate>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ελληνικά]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[storage]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=894</guid>

					<description><![CDATA[<p>SQL Failover Cluster with AlwaysOn Availability Groups Αυτό είναι το δεύτερο Post της τριλογίας SQL Failover Cluster with AlwaysOn Availability Groups.</p>
<p>The post <a href="https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/">Microsoft SQL 2012 on Failover Cluster</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 style="text-align: justify;">SQL Failover Cluster with AlwaysOn Availability Groups</h1>
<p style="text-align: justify;">Αυτό είναι το δεύτερο Post της τριλογίας SQL Failover Cluster with AlwaysOn Availability Groups. Είναι η ώρα της SQL.</p>
<ol style="text-align: justify;">
<li><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/">Windows Server 2012 R2 Failover Cluster with FreeNAS 9.3</a></li>
<li><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/">Microsoft SQL 2012 on Failover Cluster</a></li>
<li><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/add-alwayson-ag-to-sql-failover-cluster-instance/">Add AlwaysOn AG to SQL Failover Cluster Instance</a></li>
</ol>
<h1 style="text-align: justify;">Microsoft SQL 2012 on Failover Cluster</h1>
<p style="text-align: justify;">Για το lab θα χρησιμοποιήσω τον Domain Administrator, αλλά δεν ενδείκνυται για παραγωγικό περιβάλλον!!!</p>
<p style="text-align: justify;">Βάζουμε το ISO της SQL 2012 SP2 και ξεκινάμε με “new SQL server failover cluster installation”</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-17.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-862" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-17.jpg" alt="SQLlab (17)" width="622" height="161" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-17.jpg 622w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-17-300x78.jpg 300w" sizes="auto, (max-width: 622px) 100vw, 622px" /></a></p>
<p style="text-align: justify;">Αφού περάσει τα checks δίνουμε key, για το lab φυσικά επέλεξα evaluation,  και φτιάχνουμε στο install για να ξεκινήσουμε την εγκατάσταση.</p>
<p style="text-align: justify;">Αγνοούμε επιδεικτικά το MSDTC error (ήδη από τον 2008) και αν δεν έχουμε errors προχωράμε. Επιλέγουμε το SQL Feature installation και μετά επιλέγουμε μόνο Database Engine Services με τις υποκατηγορίες και το management tools</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-18.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-863" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-18.jpg" alt="SQLlab (18)" width="309" height="324" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-18.jpg 309w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-18-286x300.jpg 286w" sizes="auto, (max-width: 309px) 100vw, 309px" /></a></p>
<p style="text-align: justify;">Δίνουμε network name για το SQL Cluster και προχωράμε</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-19.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-864" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-19.jpg" alt="SQLlab (19)" width="805" height="602" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-19.jpg 805w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-19-300x224.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-19-624x467.jpg 624w" sizes="auto, (max-width: 805px) 100vw, 805px" /></a></p>
<p style="text-align: justify;">Δίνουμε όνομα για το cluster resource group ή αφήνουμε το default (όπως έκανα κι εγώ για το lab)</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-20.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-865" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-20.jpg" alt="SQLlab (20)" width="808" height="609" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-20.jpg 808w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-20-300x226.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-20-624x470.jpg 624w" sizes="auto, (max-width: 808px) 100vw, 808px" /></a></p>
<p style="text-align: justify;">Στο επόμενο βήμα μας ενημερώνει ότι δεν υπάρχει διαθέσιμος δίσκος για το SQL Cluster Disk, μιας και ο υπάρχον έγινε Cluster Quorum, οπότε πάμε να δώσουμε έναν ακόμη δίσκο στα Cluster Resources.</p>
<p style="text-align: justify;">Προσθέτουμε έναν ακόμα δίσκο στο FreeNAS μιας και ένας θα χρειαστεί για το Cluster Quorum και ο άλλος για SQL Cluster Disk. Αφού το δώσουμε στο VM πηγαίνουμε στο web interface του FreeNAS και πάμε στο Storage/Volume manager, διαλέγουμε τον δίσκο δίνουμε όνομα, έδωσα sql, και πατάμε add volume</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllab2.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-895" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllab2.jpg" alt="sqllab2" width="405" height="436" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllab2.jpg 405w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllab2-279x300.jpg 279w" sizes="auto, (max-width: 405px) 100vw, 405px" /></a></p>
<p style="text-align: justify;">Μετά πάμε στο view volumes, επιλέγουμε το sql και πατάμε το create zvol κουμπί, όπως φαίνεται και στην εικόνα</p>
<p style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-866" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-21.jpg" alt="SQLlab (21)" width="466" height="518" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-21.jpg 466w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-21-270x300.jpg 270w" sizes="auto, (max-width: 466px) 100vw, 466px" /></p>
<p style="text-align: justify;">Δίνουμε όνομα και size και πατάμε Add zvol</p>
<p style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-867" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-22.jpg" alt="SQLlab (22)" width="375" height="301" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-22.jpg 375w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-22-300x241.jpg 300w" sizes="auto, (max-width: 375px) 100vw, 375px" /></p>
<p style="text-align: justify;">Μετά πάμε στο Sharing/ISCSI/extents και πατάμε add extent, δίνουμε όνομα, επιλέγουμε device το zvol που φτιάξαμε, διαλέγουμε Logical Block Size, για SQL DBs ενδείκνυται το 512, και πατάμε ok</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-23.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-868" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-23.jpg" alt="SQLlab (23)" width="487" height="480" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-23.jpg 487w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-23-300x296.jpg 300w" sizes="auto, (max-width: 487px) 100vw, 487px" /></a></p>
<p style="text-align: justify;">Τέλος πάμε στο associated targets, πατάμε add target/extent και προσθέτουμε τον extent που φτιάξαμε.<br />
Τώρα αν πάμε στους servers στο disk management και κάνουμε refresh τους δίσκους βλέπουμε τον νέο δίσκο και τον κάνουμε online, initiate και format, μόνο προσοχή να δώσετε allocation unit 512 για να συμβαδίζει με του FreeNAS αλλιώς η SQL θα γκρινιάξει.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-24.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-869" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-24.jpg" alt="SQLlab (24)" width="390" height="306" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-24.jpg 390w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-24-300x235.jpg 300w" sizes="auto, (max-width: 390px) 100vw, 390px" /></a></p>
<p style="text-align: justify;">Ανοίγουμε το Failover Cluster Manager/Storage/Disks και πατάμε add Disk και προσθέτουμε τον νέο δίσκο.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-25.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-870" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-25.jpg" alt="SQLlab (25)" width="964" height="388" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-25.jpg 964w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-25-300x121.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-25-624x251.jpg 624w" sizes="auto, (max-width: 964px) 100vw, 964px" /></a></p>
<p style="text-align: justify;">Και έχουμε έναν διαθέσιμο δίσκο στο Cluster μας</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-26.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-871" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-26.jpg" alt="SQLlab (26)" width="825" height="267" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-26.jpg 825w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-26-300x97.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-26-624x202.jpg 624w" sizes="auto, (max-width: 825px) 100vw, 825px" /></a></p>
<p style="text-align: justify;">Πίσω τώρα στο SQL Setup, κάνουμε refresh και αυτόματα επιλέγει τον νέο δίσκο</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-27.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-872" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-27.jpg" alt="SQLlab (27)" width="592" height="414" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-27.jpg 592w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-27-300x210.jpg 300w" sizes="auto, (max-width: 592px) 100vw, 592px" /></a></p>
<p style="text-align: justify;">Στη συνέχεια δίνουμε στατική IP στο SQL Cluster Network, φυσικά από το Domain subnet</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-28.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-873" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-28.jpg" alt="SQLlab (28)" width="771" height="182" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-28.jpg 771w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-28-300x71.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-28-624x147.jpg 624w" sizes="auto, (max-width: 771px) 100vw, 771px" /></a></p>
<p style="text-align: justify;">Δίνουμε service accounts, για το Lab όπως είπα χρησιμοποιώ τον Domain Admin, αλλά ποτέ σε production.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-29.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-874" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-29.jpg" alt="SQLlab (29)" width="573" height="217" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-29.jpg 573w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-29-300x114.jpg 300w" sizes="auto, (max-width: 573px) 100vw, 573px" /></a></p>
<p style="text-align: justify;">Στο Server Configuration δίνουμε ποιοι θα έχουν admin rights στην SQL</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-30.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-875" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-30.jpg" alt="SQLlab (30)" width="666" height="555" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-30.jpg 666w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-30-300x250.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-30-624x520.jpg 624w" sizes="auto, (max-width: 666px) 100vw, 666px" /></a></p>
<p style="text-align: justify;">Και στο Data Directories tab βλέπουμε ότι ήδη έχει επιλέξει το SQL Cluster Disk. Σε παραγωγικό περιβάλλον φυσικά θα έχουμε περισσότερους δίσκους για κάθε βάση/log.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-31.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-876" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-31.jpg" alt="SQLlab (31)" width="537" height="319" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-31.jpg 537w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-31-300x178.jpg 300w" sizes="auto, (max-width: 537px) 100vw, 537px" /></a></p>
<p style="text-align: justify;">Μετά φτάνομε στο ready to install και πατάμε install. Περιμένουμε να γίνει η εγκατάσταση αργά και βασανιστικά μέχρι να δούμε το υπέροχο Completed successful.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-32.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-877" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-32.jpg" alt="SQLlab (32)" width="811" height="602" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-32.jpg 811w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-32-300x223.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-32-624x463.jpg 624w" sizes="auto, (max-width: 811px) 100vw, 811px" /></a></p>
<p style="text-align: justify;">Και αν πάμε στο Failover Cluster Manager στους ρόλους θα δούμε το SQL Server</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-33.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-878" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-33.jpg" alt="SQLlab (33)" width="721" height="225" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-33.jpg 721w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-33-300x94.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-33-624x195.jpg 624w" sizes="auto, (max-width: 721px) 100vw, 721px" /></a></p>
<p style="text-align: justify;">Εδώ τελειώνει η εγκατάσταση του πρώτου Node. Κάνουμε Mount το ISO της SQL στο δεύτερο node και ξεκινάμε το Setup. Επιλέγουμε Add node to a SQL Server failover cluster</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-34.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-879" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-34.jpg" alt="SQLlab (34)" width="635" height="163" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-34.jpg 635w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-34-300x77.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-34-624x160.jpg 624w" sizes="auto, (max-width: 635px) 100vw, 635px" /></a></p>
<p style="text-align: justify;">Για το lab επιλέγω πάλι Evaluation, κάνω accept policies κλπ και πάμε για το installation.<br />
Στο Cluster Node Configuration ελέγχουμε ότι έχει βρει το SQL cluster που δημιουργήσαμε και πατάμε Next</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-35.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-880" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-35.jpg" alt="SQLlab (35)" width="801" height="307" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-35.jpg 801w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-35-300x115.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-35-624x239.jpg 624w" sizes="auto, (max-width: 801px) 100vw, 801px" /></a></p>
<p style="text-align: justify;">Στο Cluster Network Configuration ελέγχουμε ότι έχει βρει την IP του SQL Cluster και πατάμε next</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-36.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-881" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-36.jpg" alt="SQLlab (36)" width="784" height="215" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-36.jpg 784w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-36-300x82.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-36-624x171.jpg 624w" sizes="auto, (max-width: 784px) 100vw, 784px" /></a></p>
<p style="text-align: justify;">Στο Service Accounts δίνουμε το password του Account Που έχουμε ήδη δηλώσει για SQL Engine &amp; Agent</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-37.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-882" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-37.jpg" alt="SQLlab (37)" width="784" height="235" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-37.jpg 784w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-37-300x90.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-37-624x187.jpg 624w" sizes="auto, (max-width: 784px) 100vw, 784px" /></a></p>
<p style="text-align: justify;">Περνάμε τους ελέγχους και πατάμε install για να προσθέσει το Node στο Cluster και περιμένουμε μέχρι να να δούμε το Completed successful μήνυμα.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-38.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-883" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-38.jpg" alt="SQLlab (38)" width="808" height="604" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-38.jpg 808w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-38-300x224.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-38-624x466.jpg 624w" sizes="auto, (max-width: 808px) 100vw, 808px" /></a></p>
<p style="text-align: justify;">Πάμε τώρα να δοκιμάσουμε ότι το SQL Role Μπορεί να κάνει failover και στα δύο Nodes.<br />
Ανοίγουμε το Failover Cluster Manager πηγαίνουμε στο Roles, επιλέγουμε το “SQL Server …”, δεξί click / Move και πατάμε “Select Node…”</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-39.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-884" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-39.jpg" alt="SQLlab (39)" width="791" height="409" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-39.jpg 791w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-39-300x155.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-39-624x323.jpg 624w" sizes="auto, (max-width: 791px) 100vw, 791px" /></a></p>
<p style="text-align: justify;">Διαλέγουμε το δεύτερο Node και πατάμε OK</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-40.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-885" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-40.jpg" alt="SQLlab (40)" width="403" height="285" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-40.jpg 403w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-40-300x212.jpg 300w" sizes="auto, (max-width: 403px) 100vw, 403px" /></a></p>
<p style="text-align: justify;">Περιμένουμε στο Status να γίνει Pending και μετά Running. Πλέον στο “Owner Node” πρέπει να αναφέρει στο δεύτερο Node, στο Lab, Win2012R202</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-41.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-886" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-41.jpg" alt="SQLlab (41)" width="496" height="147" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-41.jpg 496w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-41-300x89.jpg 300w" sizes="auto, (max-width: 496px) 100vw, 496px" /></a></p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:&#112;&#114;oximag&#114;&#064;&#104;o&#116;&#109;a&#105;l.c&#111;&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fmicrosoft-sql-2012-on-failover-cluster%2F&amp;linkname=Microsoft%20SQL%202012%20on%20Failover%20Cluster" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fmicrosoft-sql-2012-on-failover-cluster%2F&amp;linkname=Microsoft%20SQL%202012%20on%20Failover%20Cluster" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fmicrosoft-sql-2012-on-failover-cluster%2F&#038;title=Microsoft%20SQL%202012%20on%20Failover%20Cluster" data-a2a-url="https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/" data-a2a-title="Microsoft SQL 2012 on Failover Cluster"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/">Microsoft SQL 2012 on Failover Cluster</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>SQL Failover Cluster with AlwaysOn Availability Groups</title>
		<link>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/</link>
					<comments>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 22:12:16 +0000</pubDate>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ελληνικά]]></category>
		<category><![CDATA[core]]></category>
		<category><![CDATA[failover cluster]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[storage]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=845</guid>

					<description><![CDATA[<p>SQL Failover Cluster with AlwaysOn Availability Groups Η ιδέα είναι να έχουμε ένα SQL Flailover Cluster στο Primary Site και στο υπάρχον</p>
<p>The post <a href="https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/">SQL Failover Cluster with AlwaysOn Availability Groups</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 style="text-align: justify;">SQL Failover Cluster with AlwaysOn Availability Groups</h1>
<p style="text-align: justify;">Η ιδέα είναι να έχουμε ένα SQL Flailover Cluster στο Primary Site και στο υπάρχον Cluster να προσθέσουμε ένα AlwaysOn Availability group για το DR. Λόγο του μεγέθους της υλοποίησης θα γίνει τρία Posts. Ένα το Failover Cluster, ένα η εγκατάσταση της SQL σε Failover Clster και ένα η υλοποίηση του AlwaysON Availability Groups.</p>
<ol>
<li style="text-align: justify;"><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/">Windows Server 2012 R2 Failover Cluster with FreeNAS 9.3</a></li>
<li style="text-align: justify;"><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/">Microsoft SQL 2012 on Failover Cluster</a></li>
<li style="text-align: justify;"><a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/add-alwayson-ag-to-sql-failover-cluster-instance/">Add AlwaysOn AG to SQL Failover Cluster Instance</a></li>
</ol>
<h1 style="text-align: justify;">Windows Server 2012 R2 Failover Cluster with FreeNAS 9.3</h1>
<p style="text-align: justify;">Ξεκίνησα φτιάχνοντας ένα VM FreeNAS για να μπορέσω να έχω με όσα λιγότερα resources ένα ISCSI Storage. Το FreeNAS θέλει 2GB Ram για την εγκατάσταση και το initial setup αλλά μετά το κατεβάζω σε 512MB Ram, έτσι κι αλλιώς οι απαιτήσεις μου θα είναι ελάχιστες. Δεν θα μείνω σε λεπτομέρειες για την εγκατάσταση του FreeNAS, κατεβάζουμε το ISO από το http://www.freenas.org/download/ και φτιάχνουμε ένα VM. Κάνουμε boot από το ISO και ακολουθούμε τον Wizard όπου διαλέγουμε δίσκο εγκατάστασης και δίνουμε root password. Τέλος αφού ανοίξει έχουμε 14 επιλογές, διαλέγουμε την 1 και ρυθμίζουμε το δίκτυο. Για το lab έδωσα 192.168.193.152/24<br />
Αφού ρυθμίσουμε το δίκτυο επιστρέφουμε στις επιλογές μόνο που πλέον μας ενημερώνει για την διεύθυνση του web interface, όπως στην εικόνα:</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-2.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-847 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-2.jpg" alt="SQLlab (2)" width="621" height="399" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-2.jpg 621w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-2-300x193.jpg 300w" sizes="auto, (max-width: 621px) 100vw, 621px" /></a></p>
<p style="text-align: justify;">Πριν κάνω login στο web interface έχω ήδη φτιάξει 2 δίσκους στο FreeNAS VM ώστε να αναλάβει ο wizard να φτιάξει volumes κλπ, αν και είναι πολύ απλό να τα κάνεις και manual στο FreNAS.<br />
Κάνω login στο FreeNAS web interface και ακολουθώ τον wizard. Δίνω pool name</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-4.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-849 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-4.jpg" alt="SQLlab (4)" width="564" height="305" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-4.jpg 564w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-4-300x162.jpg 300w" sizes="auto, (max-width: 564px) 100vw, 564px" /></a></p>
<p style="text-align: justify;">Δίνω share name και διαλέγω iSCSI</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-5.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-850 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-5.jpg" alt="SQLlab (5)" width="405" height="411" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-5.jpg 405w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-5-296x300.jpg 296w" sizes="auto, (max-width: 405px) 100vw, 405px" /></a></p>
<p style="text-align: justify;">Και αφού τελειώσει ο wizard έχουμε έτοιμο το iscsi target.</p>
<p style="text-align: justify;">Στη συνέχεια χρειαζόμαστε ένα Domain Controller. Μιας που μιλάμε για low resources lab, έφτιαξα ένα VM με 512 MB Ram και 1 CPU και έβαλα Windows Server 2012 r2 Core. Με sconfig.cmd ανοίγουμε τις επιλογές και δίνουμε computer name, IP κλπ</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllab1.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-887 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/sqllab1.jpg" alt="sqllab1" width="609" height="293" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllab1.jpg 609w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/sqllab1-300x144.jpg 300w" sizes="auto, (max-width: 609px) 100vw, 609px" /></a></p>
<p style="text-align: justify;">Και στη συνέχεια με powershell τον κάνουμε Domain Controller. Πρώτα βάζουμε domain services και management tools και στη συνέχεια τον προμοτάρουμε σε domain controller και DNS.</p>
<pre class="lang:ps decode:true ">Install-WindowsFeature AD-Domain-Services –IncludeManagementTools
Install-ADDSForest -DomainName "sqllab.int " -DomainNetbiosName "SQLLAB" -DomainMode Win2012R2 -ForestMode Win2012R2 -InstallDns –Force</pre>
<p style="text-align: justify;">Έτοιμος και ο Domain Contoller. Πάμε για τα Cluster Nodes. Έχω φτιάξει ένα VM με 2GB Ram, 2 CPUs, 2 NICs &amp; Windows Server 2012 R2. Sysprep και multiply και μπαμ έχουμε 3 όμορφα VMs.<br />
Μια λεπτομέρεια, επειδή θα χρειαστούμε σε όλα τα VMs Failover Cluster και επίσης η SQL 2012 θέλει .NetFramework 3.5, στο template VM βάζουμε και αυτά.</p>
<p style="text-align: justify;">Ξεκινάμε το Failover Cluster για να βάλουμε SQL.<br />
Ανοίγουμε το πρώτο VM, rename, στο lab το ονόμασα Win2012R201 (πρωτότυπο ε?) και κάνουμε join στο domain.<br />
Δίνουμε στην μια NIC μια IP που θα βλέπει το Domain και το FreeNAS και στην άλλη NIC ένα διαφορετικό subnet που θα βλέπει μόνο το άλλο Node. Για ευκολία έχω κάνει rename την μια κάρτα Domain με IP 192.168.193.153 και την άλλη Heartbeat με IP 172.16.5.1</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-1.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-846 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-1.jpg" alt="SQLlab (1)" width="569" height="173" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-1.jpg 569w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-1-300x91.jpg 300w" sizes="auto, (max-width: 569px) 100vw, 569px" /></a></p>
<p style="text-align: justify;">Στη συνέχεια ενεργοποιούμε το iscsi initiator από administrator tools και προσθέτουμε το iscsi target δίνοντας την IP του FreeNAS και πατώντας quick connect και μετά Connect και διαλέγουμε και το Multi path. Μετά στο Volumes and Devices tab πατάμε Auto Configure. Τέλος στο Device manager κάνουμε initialize τον δίσκο, format και του δίνουμε ένα γράμμα. Για test φτιάχνουμε ένα text αρχείο στο δίσκο.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-7.jpg"><img loading="lazy" decoding="async" class="wp-image-852 size-medium alignleft" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-7-274x300.jpg" alt="SQLlab (7)" width="274" height="300" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-7-274x300.jpg 274w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-7.jpg 493w" sizes="auto, (max-width: 274px) 100vw, 274px" /></a></p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-6.jpg"><img loading="lazy" decoding="async" class="wp-image-851 size-medium alignnone" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-6-300x163.jpg" alt="SQLlab (6)" width="300" height="163" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-6-300x163.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-6.jpg 567w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-8.jpg"><img loading="lazy" decoding="async" class="size-medium wp-image-853 alignnone" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-8-300x253.jpg" alt="SQLlab (8)" width="300" height="253" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-8-300x253.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-8.jpg 474w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p style="text-align: justify;">Το ίδιο κάνουμε και στο δεύτερο VM. Για να σιγουρευτούμε ότι και οι δύο μπορούν να γράψουν στον ίδιο δίσκο δημιουργούμε και εδώ ένα αρχείο. Σαν αποτέλεσμα πρέπει να έχουμε και τα 2 αρχεία.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-10.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-855 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-10.jpg" alt="SQLlab (10)" width="283" height="137" /></a></p>
<p style="text-align: justify;">Ανοίγουμε το Failover Cluster Manager από τα Administrative Tools και πρώτα τρέχουμε το Validate Configuration, διαλέγουμε και τους 2 member servers που ετοιμάσαμε με το iscsi και τρέχουμε το test.</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-11.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-856 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-11.jpg" alt="SQLlab (11)" width="679" height="457" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-11.jpg 679w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-11-300x202.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-11-624x420.jpg 624w" sizes="auto, (max-width: 679px) 100vw, 679px" /></a></p>
<p style="text-align: justify;">Μόλις τελειώσει το validation κοιτάμε να μην έχει errors ή warnings και αν έχει τα διορθώνουμε και τον ξανατρέχουμε. Τέλος όταν έχει ολοκληρωθεί επιτυχώς, όπως στην εικόνα, το “create the cluster now using the validated nodes” είναι επιλεγμένο και πατώντας finish ανοίγει ο Create Cluster Wizard.<br />
Δίνουμε Cluster Name και IP</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-12.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-857 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-12.jpg" alt="SQLlab (12)" width="667" height="456" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-12.jpg 667w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-12-300x205.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-12-624x427.jpg 624w" sizes="auto, (max-width: 667px) 100vw, 667px" /></a></p>
<p style="text-align: justify;">Το αφήνουμε να προσθέσει όλο το διαθέσιμο storage και πατάμε next για να δημιουργηθεί το cluster</p>
<p style="text-align: justify;"><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-13.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-858 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-13.jpg" alt="SQLlab (13)" width="666" height="456" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-13.jpg 666w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-13-300x205.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-13-624x427.jpg 624w" sizes="auto, (max-width: 666px) 100vw, 666px" /></a></p>
<p>Αν ο cluster validator είχε τελειώσει επιτυχώς τότε και το cluster θα δημιουργηθεί επιτυχώς</p>
<p><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-15.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-860 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-15.jpg" alt="SQLlab (15)" width="679" height="444" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-15.jpg 679w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-15-300x196.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-15-624x408.jpg 624w" sizes="auto, (max-width: 679px) 100vw, 679px" /></a></p>
<p>Και voila έχουμε ένα όμορφο cluster</p>
<p><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-14.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-859 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-14.jpg" alt="SQLlab (14)" width="792" height="189" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-14.jpg 792w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-14-300x72.jpg 300w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-14-624x149.jpg 624w" sizes="auto, (max-width: 792px) 100vw, 792px" /></a></p>
<p>Μπορείτε να δείτε ότι το cluster network 1 είναι cluster only και έχει το subnet που δώσαμε για heartbeat και το cluster network 2 που είναι cluster and client έχει το domain subnet</p>
<p><a href="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-16.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-861 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2015/11/SQLlab-16.jpg" alt="SQLlab (16)" width="484" height="273" srcset="https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-16.jpg 484w, https://www.cloudcorner.gr/wp-content/uploads/2015/11/SQLlab-16-300x169.jpg 300w" sizes="auto, (max-width: 484px) 100vw, 484px" /></a></p>
<p>Συνέχεια στο επόμενο post <a href="http://www.e-apostolidis.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/microsoft-sql-2012-on-failover-cluster/">Microsoft SQL 2012 on Failover Cluster</a></p>
<p>&nbsp;</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:&#112;&#114;oxi&#109;&#097;g&#114;&#064;&#104;&#111;&#116;&#109;&#097;&#105;l&#046;&#099;&#111;&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fsql-failover-cluster-with-alwayson-ag%2F&amp;linkname=SQL%20Failover%20Cluster%20with%20AlwaysOn%20Availability%20Groups" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fsql-failover-cluster-with-alwayson-ag%2F&amp;linkname=SQL%20Failover%20Cluster%20with%20AlwaysOn%20Availability%20Groups" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2F%25ce%25b5%25ce%25bb%25ce%25bb%25ce%25b7%25ce%25bd%25ce%25b9%25ce%25ba%25ce%25ac%2Fsql-failover-cluster-with-alwayson-ag%2F&#038;title=SQL%20Failover%20Cluster%20with%20AlwaysOn%20Availability%20Groups" data-a2a-url="https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/" data-a2a-title="SQL Failover Cluster with AlwaysOn Availability Groups"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/">SQL Failover Cluster with AlwaysOn Availability Groups</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/%ce%b5%ce%bb%ce%bb%ce%b7%ce%bd%ce%b9%ce%ba%ce%ac/sql-failover-cluster-with-alwayson-ag/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
