<?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>iaas Archives - Apostolidis Cloud Corner</title>
	<atom:link href="https://www.cloudcorner.gr/tag/iaas/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.cloudcorner.gr/tag/iaas/</link>
	<description>Remarks from a Cloud Architect encounters</description>
	<lastBuildDate>Sun, 10 May 2020 12:47:44 +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>iaas Archives - Apostolidis Cloud Corner</title>
	<link>https://www.cloudcorner.gr/tag/iaas/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>VirtualBox on Azure VM for testing or run Old apps</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/virtualbox-on-azure-vm-for-testing-or-run-old-apps/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/virtualbox-on-azure-vm-for-testing-or-run-old-apps/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Sun, 10 May 2020 12:47:44 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[iaas]]></category>
		<category><![CDATA[legacy]]></category>
		<category><![CDATA[nested virtualization]]></category>
		<category><![CDATA[old apps]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[vm in vm]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=3447</guid>

					<description><![CDATA[<p>VirtualBox on Azure VM for testing or run Old apps This article is about testing VirtualBox on Azure VM, the</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/virtualbox-on-azure-vm-for-testing-or-run-old-apps/">VirtualBox on Azure VM for testing or run Old apps</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 style="text-align: justify;">VirtualBox on Azure VM for testing or run Old apps</h1>
<p style="text-align: justify;">This article is about testing VirtualBox on Azure VM, the open-ource virtualization platform of Oracle. For the official nested virtualization support in Microsoft Azure please use the Nested Virtualization feature. You can find more info at my post serries about Nested Virtualization here: <a href="https://www.e-apostolidis.gr/tag/nested-virtualization/">https://www.e-apostolidis.gr/tag/nested-virtualization/</a></p>
<p style="text-align: justify;">Virtualization has great interest and value to the information systems ecosystem. As a sence, Virtualization, <span style="font-size: 1.0625rem;">refers to running two or more operating systems one one physical PC. Either the multiple operating systems run side-by-side, with a separate piece of software called a hypervisor used to manage them, or one operating system runs the other operating systems within program windows. The former is usually limited to servers, with the latter finding common use on desktop computers.</span></p>
<p style="text-align: justify;">Microsoft Azure offers virtualization layer access at the following series Virtual Machines:</p>
<p style="text-align: justify;">D_v3<br />
Ds_v3<br />
E_v3<br />
Es_v3<br />
F2s_v2<br />
M 160</p>
<p style="text-align: justify;">You can find out excactly the VM sizes that supports Virtualization at the official documentation: <a href="https://docs.microsoft.com/en-us/azure/virtual-machines/acu">https://docs.microsoft.com/en-us/azure/virtual-machines/acu</a></p>
<p style="text-align: justify;">Why VM virtualization on Azure?</p>
<p style="text-align: justify;">Virtualization allows to run Old Applications, that need Operating Systems that are not officialy supported on Azure. If you have an old app that is preventing your jurney to Microsoft Azure then you can transfer your old machine that runs this application directly on Azure. Of cource you can use it for testing purposes!</p>
<h2 style="text-align: justify;">Step by Step Guide</h2>
<p style="text-align: justify;">For my test I am using a Standard D2s v3 (2 vcpus, 8 GiB memory) Azure VM running Windows Server 2012 R2, as it is the most ligh Windows OS to run virtualization on Azure. You can also use Windows 10, WIndows Server 2016 &amp; WIndows Server 2019.</p>
<p style="text-align: justify;">Download the latest VirtualBox from the Official site, <a href="https://www.virtualbox.org/">https://www.virtualbox.org/</a>, currently 6.1</p>
<p style="text-align: justify;">Install it with all default settings. Press yes at the Network Interfaces warning and proceed.</p>
<p id="edqcmvs" style="text-align: justify;"><img fetchpriority="high" decoding="async" class="alignnone wp-image-3448 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb6bac71e33c.png" alt="" width="304" height="231" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6bac71e33c.png 514w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6bac71e33c-300x228.png 300w" sizes="(max-width: 304px) 100vw, 304px" /></p>
<p style="text-align: justify;">After the installation open the VirtualBox interface. You can add a previous created Virtual Machine from your on-premises VM, or you can create a New one. <img decoding="async" width="881" height="311" class="alignnone size-full wp-image-3450 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb6bbbf9a87c.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6bbbf9a87c.png 881w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6bbbf9a87c-300x106.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6bbbf9a87c-768x271.png 768w" sizes="(max-width: 881px) 100vw, 881px" /></p>
<p style="text-align: justify;">For my test I downloaded a <strong>Windows Server 2003 Standard x86</strong> image from my Visual Studio Subscription. Yes you can still download official Windows Server 2003 🙂</p>
<p style="text-align: justify;">Create a new VirtualBox Virtual Machine, and select Microsoft Windows 2003 32-bit. I provided 4096 GB Ram, since it is 32-bit.</p>
<p id="rPInQVq" style="text-align: justify;"><img decoding="async" width="401" height="258" class="alignnone size-full wp-image-3452 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb6be4133c15.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6be4133c15.png 401w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6be4133c15-300x193.png 300w" sizes="(max-width: 401px) 100vw, 401px" /></p>
<p style="text-align: justify;">My VMs Hardware details:</p>
<p id="QWqNzkC" style="text-align: justify;"><img loading="lazy" decoding="async" width="548" height="556" class="alignnone size-full wp-image-3456 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb6bfda1b84a.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6bfda1b84a.png 548w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6bfda1b84a-296x300.png 296w" sizes="auto, (max-width: 548px) 100vw, 548px" /></p>
<p style="text-align: justify;">Open the VM and at the &#8220;Optical Disk Selector&#8221; promt press Add and select the OS iso</p>
<p id="WdfIzUX" style="text-align: justify;"><img loading="lazy" decoding="async" width="628" height="465" class="alignnone size-full wp-image-3454 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb6bf51c8dad.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6bf51c8dad.png 628w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6bf51c8dad-300x222.png 300w" sizes="auto, (max-width: 628px) 100vw, 628px" /></p>
<p style="text-align: justify;">And a tear droped&#8230; Windows Server 2003 setup screen, on a Virtual Machine on Azure&#8230; That runs Windows Server 2012 R2&#8230;</p>
<p id="wEpDOFH" style="text-align: justify;"><img loading="lazy" decoding="async" width="817" height="657" class="alignnone size-full wp-image-3455 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb6bfa5707a8.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6bfa5707a8.png 817w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6bfa5707a8-300x241.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6bfa5707a8-768x618.png 768w" sizes="auto, (max-width: 817px) 100vw, 817px" /></p>
<h2 style="text-align: justify;">Networking</h2>
<p style="text-align: justify;">VirtualBox has already created a new Network Interface Card to use for the VirtualBox Virtual Machines.</p>
<p id="kIuacJt" style="text-align: justify;"><img loading="lazy" decoding="async" width="545" height="158" class="alignnone size-full wp-image-3457 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb6c06b54f86.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6c06b54f86.png 545w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6c06b54f86-300x87.png 300w" sizes="auto, (max-width: 545px) 100vw, 545px" /></p>
<p style="text-align: justify;">You will see two IP configuration. The Ethernet adapter &#8220;Ehternet&#8221; shows the IP address of the Azure VM and the &#8220;VirtualBox Host-Only Network&#8221; shows the IP subnet that will be used for the nested VMs</p>
<p id="BiMmyfi" style="text-align: justify;"><img loading="lazy" decoding="async" width="639" height="364" class="alignnone size-full wp-image-3458 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb6c0b3dcbdd.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6c0b3dcbdd.png 639w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6c0b3dcbdd-300x171.png 300w" sizes="auto, (max-width: 639px) 100vw, 639px" /></p>
<p style="text-align: justify;">Since we are inside an Azure Virtual Machine we need to use Network Address Translation to forward the traffic inside our VM. This will allow you to conenct directly to the VirtualBox VM directly from internet. This can be used for publishing a Web Service, Web Site, RDP or any other service that needs to be published from the VirtualBox nested VM.</p>
<p id="DwHUQlu" style="text-align: justify;">To manage the Port Forwarding from the Host VM (Azure VM) to the Guest VM (VirtualBox VM) open the VirtualBox Preferences and go to Network</p>
<p id="LbwwBNJ" style="text-align: justify;"><img loading="lazy" decoding="async" width="536" height="290" class="alignnone size-full wp-image-3469 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb7c1d37f677.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb7c1d37f677.png 536w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb7c1d37f677-300x162.png 300w" sizes="auto, (max-width: 536px) 100vw, 536px" /></p>
<p style="text-align: justify;">Add an Interface, add a Nertwork CIDR (the network subnet that you want the guest VMs to have) and press Port Forwarding</p>
<p id="zoZjoDz" style="text-align: justify;"><img loading="lazy" decoding="async" width="297" height="247" class="alignnone size-full wp-image-3470 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb7c1eeaa4eb.png" alt="" /></p>
<p style="text-align: justify;">Now, close the VirtualBox preferences and open the VM settings and go to Network. At the Adapter 1 go select &#8220;NAT Network&#8221; and select the &#8220;NATNetwork&#8221;</p>
<p id="sURNYeA" style="text-align: justify;"><img loading="lazy" decoding="async" width="506" height="198" class="alignnone size-full wp-image-3472 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb7c2c03e09a.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb7c2c03e09a.png 506w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb7c2c03e09a-300x117.png 300w" sizes="auto, (max-width: 506px) 100vw, 506px" /></p>
<p style="text-align: justify;">After this close the VM&#8217;s settings and login to the VM. Check the IP configuration (for windows use the cms ipconfig) and you will see that the VM has been assigned an IP from the 172.16.1.0/24 range that we added at the VirtualBox NAT network. My VM has the 172.16.1.4 IP address. Note this.</p>
<p id="PNHIrVI" style="text-align: justify;"><img loading="lazy" decoding="async" width="677" height="253" class="alignnone size-full wp-image-3473 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb7c42897788.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb7c42897788.png 677w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb7c42897788-300x112.png 300w" sizes="auto, (max-width: 677px) 100vw, 677px" /></p>
<p style="text-align: justify;">Lets go back to the VirtualBox Preferences -&gt; Network -&gt; Edit the NatNetwork -&gt; Port Forwarding and add a rule to forward the 443 port from the Host VM (Azure VM) to the Guest VM (VirtualBox VM).</p>
<p style="text-align: justify;">in my example I use Prt Forward for HTTP, HTTPS &amp; RDP. I forward HTTP &amp; HTTPS directly but since the RDP port 3389 is already used by the Azure VM, I use 43389 Port from Azure VM to the 3389 port of the Guest VM.</p>
<p style="text-align: justify;">Those are my rules:</p>
<p id="NOPcXYd" style="text-align: justify;"><img loading="lazy" decoding="async" width="598" height="253" class="alignnone size-full wp-image-3474 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb7c59ad31ef.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb7c59ad31ef.png 598w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb7c59ad31ef-300x127.png 300w" sizes="auto, (max-width: 598px) 100vw, 598px" /></p>
<p style="text-align: justify;">There are three places that you need to open the spesified ports in order to allow the conenction to reach the VirtualBox VM. Below I will go trough the process of opening the HTTPS port 443. The same is for all other ports.</p>
<ol style="text-align: justify;">
<li>Azure Network Security Group (NSG)</li>
<li>Azure VM Windows Firewall</li>
<li>VirtualBox VM Windows Firewall</li>
</ol>
<p style="text-align: justify;">1. Go to the Azure Portal, find the Network Security Group that protects the Public IP of the Azure VM and add an inbound security rule to allow access from Any source, any port, to the IP address of the Azure VM that hosts the VirutalBox and destination port 443 (for the HTTPS Web Service)</p>
<p id="zvQJvys" style="text-align: justify;"><img loading="lazy" decoding="async" width="563" height="644" class="alignnone size-full wp-image-3461 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb6c50a85e14.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6c50a85e14.png 563w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6c50a85e14-262x300.png 262w" sizes="auto, (max-width: 563px) 100vw, 563px" /></p>
<p style="text-align: justify;">2. At the Azure VM open the Windows Firewall and add an inbound rule to allow port 443 any to any.</p>
<p id="hDzMAby" style="text-align: justify;"><img loading="lazy" decoding="async" width="1394" height="140" class="alignnone size-full wp-image-3462 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb6c6b2269cd.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6c6b2269cd.png 1394w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6c6b2269cd-300x30.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6c6b2269cd-1024x103.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6c6b2269cd-768x77.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6c6b2269cd-1320x133.png 1320w" sizes="auto, (max-width: 1394px) 100vw, 1394px" /></p>
<p style="text-align: justify;">3. At the VirtualBox VM open the Windows Firewall and add an exception for Port 443</p>
<p id="bvHOQJJ" style="text-align: justify;"><img loading="lazy" decoding="async" width="457" height="430" class="alignnone size-full wp-image-3464 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb6c87450c91.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6c87450c91.png 457w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb6c87450c91-300x282.png 300w" sizes="auto, (max-width: 457px) 100vw, 457px" /></p>
<p style="text-align: justify;">To test the conenctivity I just added the Application server role at my VirtualBox VM. This will publish the default IIS web page</p>
<p id="chOOPNz" style="text-align: justify;"><img loading="lazy" decoding="async" width="257" height="79" class="alignnone size-full wp-image-3465 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb6c8e02caec.png" alt="" /></p>
<p style="text-align: justify;">Once the web server is ready, from my laptop I try to access the web page, usign the Public IP address of the Azure VM using https using my browser</p>
<p style="text-align: justify;">https://104.214.233.164/</p>
<p style="text-align: justify;">The &#8220;Under Construction&#8221; default page of Windows Server 2003 IIS</p>
<p id="GjcgqQL" style="text-align: justify;"><img loading="lazy" decoding="async" width="529" height="464" class="alignnone size-full wp-image-3476 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/05/img_5eb7caddb6a34.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb7caddb6a34.png 529w, https://www.cloudcorner.gr/wp-content/uploads/2020/05/img_5eb7caddb6a34-300x263.png 300w" sizes="auto, (max-width: 529px) 100vw, 529px" /></p>
<p id="ppCESff" style="text-align: justify;">
<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;ima&#103;&#114;&#064;h&#111;t&#109;ai&#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%2Fazure%2Fvirtualbox-on-azure-vm-for-testing-or-run-old-apps%2F&amp;linkname=VirtualBox%20on%20Azure%20VM%20for%20testing%20or%20run%20Old%20apps" 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%2Fvirtualbox-on-azure-vm-for-testing-or-run-old-apps%2F&amp;linkname=VirtualBox%20on%20Azure%20VM%20for%20testing%20or%20run%20Old%20apps" 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%2Fvirtualbox-on-azure-vm-for-testing-or-run-old-apps%2F&#038;title=VirtualBox%20on%20Azure%20VM%20for%20testing%20or%20run%20Old%20apps" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/virtualbox-on-azure-vm-for-testing-or-run-old-apps/" data-a2a-title="VirtualBox on Azure VM for testing or run Old apps"><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/virtualbox-on-azure-vm-for-testing-or-run-old-apps/">VirtualBox on Azure VM for testing or run Old apps</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/virtualbox-on-azure-vm-for-testing-or-run-old-apps/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<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 loading="lazy" 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="auto, (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 loading="lazy" 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="auto, (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 loading="lazy" 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="auto, (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:pr&#111;&#120;&#105;&#109;&#097;&#103;&#114;&#064;h&#111;t&#109;ai&#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%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>
	</channel>
</rss>
