<?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>windows server Archives - Apostolidis Cloud Corner</title>
	<atom:link href="https://www.cloudcorner.gr/tag/windows-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.cloudcorner.gr/tag/windows-server/</link>
	<description>Remarks from a Cloud Architect encounters</description>
	<lastBuildDate>Fri, 02 Jul 2021 08:26:54 +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>windows server Archives - Apostolidis Cloud Corner</title>
	<link>https://www.cloudcorner.gr/tag/windows-server/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Azure VM &#124; Add Multiple Data Disks v2</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/azure-vm-add-multiple-data-disks-v2/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/azure-vm-add-multiple-data-disks-v2/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Fri, 02 Jul 2021 08:26:54 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure vm]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[managed disks]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">http://ge08jfh8ds93sdf.azurewebsites.net/?p=3786</guid>

					<description><![CDATA[<p>This is a new version of my previous script Add multiple managed disks to Azure RM VM Changes: Shows the</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-vm-add-multiple-data-disks-v2/">Azure VM | Add Multiple Data Disks v2</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This is a new version of my previous script <a href="/microsoft/add-multiple-managed-disks-to-azure-rm-vm/">Add multiple managed disks to Azure RM VM</a></p>
<p>Changes:</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>Shows the disk capacity of the VM and asks how many disks to add.</li>
<li>Prompts for the size of every disk</li>
<li>Checks for empty Luns to add the disks</li>
</ul>
</li>
</ul>
<pre class="EnlighterJSRAW" data-enlighter-language="powershell"># 1. You need to login to the Azure Rm Account

Login-AzAccount

# 2. The script will query the Subscriptions that the login account has access and will promt the user to select the target Subscription from the drop down list
 
$subscription = Get-AzSubscription | Out-GridView -Title "Select a Subscription" -PassThru
Select-AzSubscription -SubscriptionId $subscription.Id

# 3. The script will query the available VMs and promt to select the target VM from the VM list
 
$vm = Get-AzVM | Out-GridView -Title "Select the Virtual Machine to add Data Disks to" -PassThru

# 4. I set the storage type based on the OS disk. If you want to spesify somehting else you can cahnge this to: $storageType = StandardLRS or PremiumLRS etc.

$storageType = $VM.StorageProfile.OsDisk.ManagedDisk.StorageAccountType

# 5. Enter how many data disks you need to create

$VMdiskCapacity = ($VM.StorageProfile.DataDisks).Capacity
 
$diskquantity = Read-Host "How many disks you need to create? Max Capacity" $VMdiskCapacity "."

# 6. The script will promt for disk size, in GB

$diskSizeList = @()
for($i = 1; $i -le $diskquantity; $i++)
{
    $disk = (Read-Host "Disk " $i " Size")
    $diskSizeList += $disk
}
$diskSizeList

# 7. check for exisiting disks

$existinglun = @()
for($i = 0; $i -lt $VMdiskCapacity; $i++) {
    $existinglun += ($VM.StorageProfile.DataDisks)[$i].Lun
}

# 8. disks creation

for($i = 0; $i -lt $diskquantity; $i++)
{
$diskName = $vm.Name + "-DataDisk-" + $i.ToString()
$diskConfig = New-AzDiskConfig -AccountType $storageType -Location $vm.Location -CreateOption Empty -DiskSizeGB $diskSizeList[$i]
$DataDisk = New-AzDisk -DiskName $diskName -Disk $diskConfig -ResourceGroupName $vm.ResourceGroupName
for ($j = 0; $j -lt $VMdiskCapacity; $j++) {
    if ( $null -eq $existinglun[$j] ) {
        $nextLunIndex
        for ($k = 0; $k -lt $VMdiskCapacity; $k++ ) {
            $nextLunIndex = $k
            for ( $m = 0; $m -lt $VMdiskCapacity; $m++ ) {
                if ( $k -eq $existinglun[$m] ) {
                    $nextLunIndex = -1 
                    break 
                }
            }
            if ($nextLunIndex -ne -1 ) {
                break
            }
        }
        Add-AzVMDataDisk -VM $vm -Name $DiskName -CreateOption Attach -ManagedDiskId $DataDisk.Id -Lun $nextLunIndex
        $existinglun[$j] = $nextLunIndex
        break
    } 
}
}
Update-AzVM -VM $vm -ResourceGroupName $vm.ResourceGroupName</pre>
<p>You can download the script from: <a href="https://github.com/proximagr/automation/blob/master/Add-DataDisks-DIffSize_v3.ps1">https://github.com/proximagr/automation/blob/master/Add-DataDisks-DIffSize_v3.ps1</a></p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img 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;&#105;&#109;a&#103;&#114;&#064;&#104;o&#116;ma&#105;l&#046;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-vm-add-multiple-data-disks-v2%2F&amp;linkname=Azure%20VM%20%7C%20Add%20Multiple%20Data%20Disks%20v2" 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-vm-add-multiple-data-disks-v2%2F&amp;linkname=Azure%20VM%20%7C%20Add%20Multiple%20Data%20Disks%20v2" 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-vm-add-multiple-data-disks-v2%2F&#038;title=Azure%20VM%20%7C%20Add%20Multiple%20Data%20Disks%20v2" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/azure-vm-add-multiple-data-disks-v2/" data-a2a-title="Azure VM | Add Multiple Data Disks v2"><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-vm-add-multiple-data-disks-v2/">Azure VM | Add Multiple Data Disks v2</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-vm-add-multiple-data-disks-v2/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Add multiple managed disks to Azure RM VM</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/add-multiple-managed-disks-to-azure-rm-vm/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/add-multiple-managed-disks-to-azure-rm-vm/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Fri, 08 Sep 2017 14:29:54 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[managed disks]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=1484</guid>

					<description><![CDATA[<p>Add multiple managed disks to Azure RM VM In this post I have created a PowerShell script to help add</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/add-multiple-managed-disks-to-azure-rm-vm/">Add multiple managed disks to Azure RM VM</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Add multiple managed disks to Azure RM VM</h1>
<p>In this post I have created a PowerShell script to help add multiple managed disks to an Azure RM Virtual Machine.</p>
<p>The script to add multiple managed disks will prompt you to login to an Azure RM account, then it will query the subscriptions and ask you to select the desired. After that it will query the available VMs and promt to select the target VM from the VM list.</p>
<p>At this point I am checking the OS disk and define the storage type of the data disk. If we need to change the storage type we can check the comments at step 4. e.g. If the OS disk is Premium and you want Standard data disks.</p>
<p>The next step is to ask for disk size. You can check the sizes and billing here: <a href="https://docs.microsoft.com/en-us/azure/virtual-machines/windows/managed-disks-overview#pricing-and-billing">https://docs.microsoft.com/en-us/azure/virtual-machines/windows/managed-disks-overview#pricing-and-billing</a></p>
<p>Finally it will ask for the number of the disk we need to create. After this input the script will create the disks, attach them to the VM and update it.</p>
<h3>The Script:</h3>
<pre class="lang:ps decode:true "># 1. You need to login to the Azure Rm Account

Login-AzureRmAccount

# 2. The script will query the Subscriptions that the login account has access and will promt the user to select the target Subscription from the drop down list
 
$subscription = Get-AzureRmSubscription | Out-GridView -Title "Select a Subscription" -PassThru
Select-AzureRmSubscription -SubscriptionId $subscription.Id

# 3. The script will query the available VMs and promt to select the target VM from the VM list
 
$vm = Get-AzureRmVM | Out-GridView -Title "Select the Virtual Machine to add Data Disks to" -PassThru

# 4. I set the storage type based on the OS disk. If you want to spesify somehting else you can cahnge this to: $storageType = StandardLRS or PremiumLRS etc.

$storageType = $VM.StorageProfile.OsDisk.ManagedDisk.StorageAccountType

# 5. The script will promt for disk size, in GB

$diskSizeinGB = Read-Host "Enter Size for each Data Disk in GB"

$diskConfig = New-AzureRmDiskConfig -AccountType $storageType -Location $vm.Location -CreateOption Empty -DiskSizeGB $diskSizeinGB

# 6. Enter how many data disks you need to create
 
$diskquantity = Read-Host "How many disks you need to create?"

for($i = 1; $i -le $diskquantity; $i++)
{
$diskName = $vm.Name + "-DataDisk-" + $i.ToString()
$DataDisk = New-AzureRmDisk -DiskName $diskName -Disk $diskConfig -ResourceGroupName $vm.ResourceGroupName
$lun = $i - 1
Add-AzureRmVMDataDisk -VM $vm -Name $DiskName -CreateOption Attach -ManagedDiskId $DataDisk.Id -Lun $lun
}

Update-AzureRmVM -VM $vm -ResourceGroupName $vm.ResourceGroupName</pre>
<p>You can download the script from here: <a href="https://www.e-apostolidis.gr/wp-content/uploads/2017/09/AddManagedDisks.zip">AddManagedDisks</a></p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img 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;&#104;&#111;&#116;&#109;&#097;&#105;&#108;.&#099;om" 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%2Fadd-multiple-managed-disks-to-azure-rm-vm%2F&amp;linkname=Add%20multiple%20managed%20disks%20to%20Azure%20RM%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%2Fadd-multiple-managed-disks-to-azure-rm-vm%2F&amp;linkname=Add%20multiple%20managed%20disks%20to%20Azure%20RM%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%2Fadd-multiple-managed-disks-to-azure-rm-vm%2F&#038;title=Add%20multiple%20managed%20disks%20to%20Azure%20RM%20VM" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/add-multiple-managed-disks-to-azure-rm-vm/" data-a2a-title="Add multiple managed disks to Azure RM 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/add-multiple-managed-disks-to-azure-rm-vm/">Add multiple managed disks to Azure RM 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/add-multiple-managed-disks-to-azure-rm-vm/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 fetchpriority="high" 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="(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:p&#114;o&#120;&#105;mag&#114;&#064;h&#111;&#116;&#109;&#097;il.&#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%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>Microsoft Azure Nested Virtualization &#124; Hyper-V Replica on Azure</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/azure-nested-virtualization-hyper-v-replica/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/azure-nested-virtualization-hyper-v-replica/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Mon, 21 Aug 2017 11:30:32 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure vm]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[hyper-v replica]]></category>
		<category><![CDATA[nested virtualization]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=1414</guid>

					<description><![CDATA[<p>Microsoft Azure Nested Virtualization &#124; Hyper-V Replica on Azure With the new Dv3 and Ev3 VM sizes Microsoft has released the</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-nested-virtualization-hyper-v-replica/">Microsoft Azure Nested Virtualization | Hyper-V Replica on Azure</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Microsoft Azure Nested Virtualization | Hyper-V Replica on Azure</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 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 on how to create a Nested VM inside an Azure VM, I am following with how to have Hyper-V Replica on Azure.</p>
<p style="text-align: justify;">To accomplish this we will use the Azure VM and the Nested VM from 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. The first step is to create an identical pair of Azure VM and Nested VM to use for replica server. The only requirement is that the two Azure VMs must have network connectivity. As you understand we can have Hyper-V Replica between two Azure VMs at different Azure Regions using VPN.</p>
<p style="text-align: justify;">Next, at both Azure VMs open the 443 port at both the NSG and the Windows Firewall. For more security we can add the Public IPs of the VMs as Source.</p>
<p style="text-align: justify;">Since the VMs are not part of a domain we need to use Certificate based authentication for the Hyper-V Replica. We will use the New-SelfSignedCertificate command to create both certificates.</p>
<h2>The certificate process</h2>
<p>First we need to create a root CA certificate, so login at the first host and run:</p>
<pre class="lang:ps decode:true">New-SelfSignedCertificate -Type "Custom" -KeyExportPolicy "Exportable" -Subject "CN=myazurerootca" -CertStoreLocation "Cert:\LocalMachine\My" -KeySpec "Signature" -KeyUsage "CertSign"</pre>
<p id="uCsbVGw"><img loading="lazy" decoding="async" class="alignnone wp-image-1417 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996ea352a401.png" alt="Hyper-V Replica on Azure" width="850" height="182" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ea352a401.png 850w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ea352a401-300x64.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ea352a401-768x164.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ea352a401-600x128.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ea352a401-660x141.png 660w" sizes="auto, (max-width: 850px) 100vw, 850px" /></p>
<p>Next, using the certificate Thumbprint of the root CA certificate, create two server certificates, one for each Azure VM. To accomplish this run:</p>
<pre class="lang:ps decode:true ">New-SelfSignedCertificate -type "Custom" -KeyExportPolicy "Exportable" -Subject "CN=anothertestvm" -CertStoreLocation "Cert:\LocalMachine\My" -KeySpec "KeyExchange" -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.1,1.3.6.1.5.5.7.3.2") -Signer "Cert:LocalMachine\My\6A7196D9759FC2F7C49D62E08FA7195310DE5EB7" -Provider "Microsoft Enhanced RSA and AES Cryptographic Provider"

New-SelfSignedCertificate -type "Custom" -KeyExportPolicy "Exportable" -Subject "CN=anothertestvm2" -CertStoreLocation "Cert:\LocalMachine\My" -KeySpec "KeyExchange" -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.1,1.3.6.1.5.5.7.3.2") -Signer "Cert:LocalMachine\My\6A7196D9759FC2F7C49D62E08FA7195310DE5EB7" -Provider "Microsoft Enhanced RSA and AES Cryptographic Provider"</pre>
<p id="PzXlvag"><img loading="lazy" decoding="async" class="alignnone wp-image-1418 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996ead3c7ec4.png" alt="Hyper-V Replica on Azure" width="843" height="292" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ead3c7ec4.png 843w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ead3c7ec4-300x104.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ead3c7ec4-768x266.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ead3c7ec4-600x208.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ead3c7ec4-660x229.png 660w" sizes="auto, (max-width: 843px) 100vw, 843px" /></p>
<p>The next step is to open the Certificates mmc (Local Computer) and at the Personal container you will find the three certificates created above.</p>
<p id="ZPeBlIG"><img loading="lazy" decoding="async" class="alignnone wp-image-1419 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996eb2b2a0b2.png" alt="Hyper-V Replica on Azure" width="691" height="216" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996eb2b2a0b2.png 691w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996eb2b2a0b2-300x94.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996eb2b2a0b2-600x188.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996eb2b2a0b2-660x206.png 660w" sizes="auto, (max-width: 691px) 100vw, 691px" /></p>
<p>Right click each certificate and Export it, including the Private key, to a folder</p>
<p id="kADOZiQ"><img loading="lazy" decoding="async" class="alignnone wp-image-1420 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996ebf4ccc4b.png" alt="Hyper-V Replica on Azure" width="293" height="175" /></p>
<p>Copy the certificates to the second Azure VM and import them. The root CA certificate needs to be imported to he Trust Root Certification Authorities and the other two to the Personal (or just use automatic placement).</p>
<p id="OCIexVj"><img loading="lazy" decoding="async" class="alignnone wp-image-1421 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996ec3a9adee.png" alt="Hyper-V Replica on Azure" width="772" height="362" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ec3a9adee.png 772w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ec3a9adee-300x141.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ec3a9adee-768x360.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ec3a9adee-600x281.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ec3a9adee-660x309.png 660w" sizes="auto, (max-width: 772px) 100vw, 772px" /></p>
<p>Finally we need to disable the Certificate revocation check for Replication on both Azure VMs. To do this run the following command on both Azure VMs:</p>
<pre class="lang:ps decode:true ">REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization\Replication" /v DisableCertRevocationCheck /d 1 /t REG_DWORD /f</pre>
<p id="kuKRHFI"><img loading="lazy" decoding="async" class="alignnone wp-image-1422 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996ecfa48bea.png" alt="Hyper-V Replica on Azure" width="975" height="198" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ecfa48bea.png 975w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ecfa48bea-300x61.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ecfa48bea-768x156.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ecfa48bea-600x122.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ecfa48bea-660x134.png 660w" sizes="auto, (max-width: 975px) 100vw, 975px" /></p>
<h2>The Hyper-V Replica process</h2>
<p>Lets start creating the Hyper-V Replica. Since Hyper-V Replica uses computer names, we need to use the host file to bind the Public IPs with the computer names. So, at the first Azure VM, open an elevated Notepad, browse to the path &#8220;C:\Windows\System32\drivers\etc&#8221;, and open the &#8220;hosts&#8221; file. Enter the Public IP of the second Azure VM following by the computer name. Do the same at the second Azure VM.</p>
<p id="dSeHPRE"><img loading="lazy" decoding="async" class="alignnone wp-image-1423 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996edba4533f.png" alt="Hyper-V Replica on Azure" width="309" height="114" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996edba4533f.png 309w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996edba4533f-300x111.png 300w" sizes="auto, (max-width: 309px) 100vw, 309px" /></p>
<p>After saving the host file, go to the Hyper-V Settings, go to the &#8220;Replication Configuration&#8221; and check the &#8220;Enable this computer as a Replica Server&#8221;. Then check the &#8220;Use certificate-based Authentication (HTTPS)&#8221; and select the certificate created before. Finally check the &#8220;Allow replication from any authenticated servers&#8221; and press OK. Do this at both Azure VM Hyper-V Servers.</p>
<p id="BIHCxhd"><img loading="lazy" decoding="async" class="alignnone wp-image-1426 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996ef35ed917.png" alt="Hyper-V Replica on Azure" width="707" height="672" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ef35ed917.png 707w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ef35ed917-300x285.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ef35ed917-600x570.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ef35ed917-660x627.png 660w" sizes="auto, (max-width: 707px) 100vw, 707px" /></p>
<p>&nbsp;</p>
<p>Next go to the Hyper-V manager, right click the Nested VM and choose &#8220;Enable Replica&#8221;. Enter the name of the second Azure VM and select the certificate.</p>
<p>&nbsp;</p>
<p id="jitWgce"><img loading="lazy" decoding="async" class="alignnone wp-image-1424 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996ee2c4b97f.png" alt="Hyper-V Replica on Azure" width="702" height="523" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ee2c4b97f.png 702w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ee2c4b97f-300x224.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ee2c4b97f-600x447.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ee2c4b97f-660x492.png 660w" sizes="auto, (max-width: 702px) 100vw, 702px" /></p>
<p>&nbsp;</p>
<p>I just used the defaults at all the next screens and finally press finish to enable the replication.</p>
<p id="TMtfvqr"><img loading="lazy" decoding="async" class="alignnone wp-image-1425 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996eeab97785.png" alt="Hyper-V Replica on Azure" width="698" height="526" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996eeab97785.png 698w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996eeab97785-300x226.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996eeab97785-600x452.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996eeab97785-660x497.png 660w" sizes="auto, (max-width: 698px) 100vw, 698px" /></p>
<p>&nbsp;</p>
<p>Once the replication is enabled you will see the &#8220;Replication enabled successfully&#8221; message and the Status will change to &#8220;Sending Initial Replica&#8221;.</p>
<p id="VRLMySf"><img loading="lazy" decoding="async" class="alignnone wp-image-1427 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996efc5a3068.png" alt="Hyper-V Replica on Azure" width="1073" height="463" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996efc5a3068.png 1073w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996efc5a3068-300x129.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996efc5a3068-768x331.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996efc5a3068-1024x442.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996efc5a3068-600x259.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996efc5a3068-660x285.png 660w" sizes="auto, (max-width: 1073px) 100vw, 1073px" /></p>
<p>&nbsp;</p>
<p>After a very short period of time, the VM will complete the initial sync.</p>
<p id="PDIfrQo"><img loading="lazy" decoding="async" class="alignnone wp-image-1431 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996f307b0c5f.png" alt="" width="1043" height="659" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996f307b0c5f.png 1243w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996f307b0c5f-300x190.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996f307b0c5f-768x486.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996f307b0c5f-1024x648.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996f307b0c5f-600x379.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996f307b0c5f-660x417.png 660w" sizes="auto, (max-width: 1043px) 100vw, 1043px" /></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;x&#105;&#109;a&#103;r&#064;&#104;o&#116;m&#097;&#105;l&#046;&#099;om" 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-nested-virtualization-hyper-v-replica%2F&amp;linkname=Microsoft%20Azure%20Nested%20Virtualization%20%7C%20Hyper-V%20Replica%20on%20Azure" 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-nested-virtualization-hyper-v-replica%2F&amp;linkname=Microsoft%20Azure%20Nested%20Virtualization%20%7C%20Hyper-V%20Replica%20on%20Azure" 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-nested-virtualization-hyper-v-replica%2F&#038;title=Microsoft%20Azure%20Nested%20Virtualization%20%7C%20Hyper-V%20Replica%20on%20Azure" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/azure-nested-virtualization-hyper-v-replica/" data-a2a-title="Microsoft Azure Nested Virtualization | Hyper-V Replica on Azure"><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-nested-virtualization-hyper-v-replica/">Microsoft Azure Nested Virtualization | Hyper-V Replica on Azure</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-nested-virtualization-hyper-v-replica/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Microsoft Azure Nested Virtualization &#124; Hyper-V VM inside Azure VM</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/nested-virtualization-vm-inside-azure-vm/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/nested-virtualization-vm-inside-azure-vm/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Fri, 18 Aug 2017 11:36:05 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azurerm]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[nested virtualization]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=1378</guid>

					<description><![CDATA[<p>Microsoft Azure Nested Virtualization &#124; Hyper-V VM inside Azure VM With the new Dv3 and Ev3 VM sizes Microsoft has released</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/nested-virtualization-vm-inside-azure-vm/">Microsoft Azure Nested Virtualization | Hyper-V VM inside 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 | Hyper-V VM inside Azure VM</h1>
<p style="text-align: justify;">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>At the first port, we will create a Hyper-V VM inside an Azure VM and have Network and Internet Connectivity.</p>
<p style="text-align: justify;">Lets get started. First of all we will need a Dv3 or Ev3 VM and for best Nested Virtualization performance make use of SSD Managed Disks. I created a D4s_v3 Standard  (4Cores, 16GB Ram, SSD managed disks) and I attached a 1023GB SSD Data Disk for performance.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-1379" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996b0e07f58f.png" alt="Nested Virtualization" width="800" height="183" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b0e07f58f.png 955w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b0e07f58f-300x68.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b0e07f58f-768x175.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b0e07f58f-600x137.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b0e07f58f-660x151.png 660w" sizes="auto, (max-width: 800px) 100vw, 800px" /></p>
<p>Now remote desktop to the VM to add the Hyper V Role. From the Server Manager, add Roles and Features and add the Hyper-V role</p>
<p id="ZMQuVIp"><img loading="lazy" decoding="async" class="alignnone wp-image-1381 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996b77ee73cf.png" alt="Nested Virtualization" width="516" height="512" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b77ee73cf.png 516w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b77ee73cf-150x150.png 150w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b77ee73cf-300x298.png 300w" sizes="auto, (max-width: 516px) 100vw, 516px" /></p>
<p>Since this is an one NIC VM select the NIC to create the Virtual Switch</p>
<p id="qpsrcvy"><img loading="lazy" decoding="async" class="alignnone wp-image-1382 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996b8a3e7248.png" alt="Nested Virtualization" width="778" height="558" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b8a3e7248.png 778w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b8a3e7248-300x215.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b8a3e7248-768x551.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b8a3e7248-600x430.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b8a3e7248-660x473.png 660w" sizes="auto, (max-width: 778px) 100vw, 778px" /></p>
<p>Change the default Store location to the SSD Data Disk, in this case the E: drive.</p>
<p>&nbsp;</p>
<p id="SsDwiRc"><img loading="lazy" decoding="async" class="alignnone wp-image-1383 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996b93859436.png" alt="Nested Virtualization" width="778" height="550" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b93859436.png 778w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b93859436-300x212.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b93859436-768x543.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b93859436-600x424.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b93859436-660x467.png 660w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996b93859436-200x140.png 200w" sizes="auto, (max-width: 778px) 100vw, 778px" /></p>
<p>Finally wait for the installation to complete and reboot the VM. After the VM reboots, Remote Desktop and open the Hyper-V manager. Now we have Hyper-V inside an Azure VM.</p>
<p id="CCOwgEE"><img loading="lazy" decoding="async" class="alignnone wp-image-1385 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996bd79e42cc.png" alt="Nested Virtualization" width="697" height="355" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996bd79e42cc.png 697w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996bd79e42cc-300x153.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996bd79e42cc-600x306.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996bd79e42cc-660x336.png 660w" sizes="auto, (max-width: 697px) 100vw, 697px" /></p>
<p>Lets create a VM. You can download a Trial Windows Server 2016 from https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2016 or use your Subscription (MSDN, EA, etc).</p>
<p>I created a VM Called NestedVM01, with 4GB Ram using the Trial Windows Server 2016 ISO</p>
<p id="HvReQUo"><img loading="lazy" decoding="async" class="alignnone wp-image-1386 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996bfe6c7469.png" alt="Nested Virtualization" width="704" height="529" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996bfe6c7469.png 704w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996bfe6c7469-300x225.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996bfe6c7469-600x451.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996bfe6c7469-660x496.png 660w" sizes="auto, (max-width: 704px) 100vw, 704px" /></p>
<p>After the VM creation setup the Windows Server 2016 with all defaults and login.</p>
<p id="LhySgYX"><img loading="lazy" decoding="async" class="alignnone wp-image-1388 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996c72300c8a.png" alt="Nested Virtualization" width="771" height="426" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c72300c8a.png 771w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c72300c8a-300x166.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c72300c8a-768x424.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c72300c8a-600x332.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c72300c8a-660x365.png 660w" sizes="auto, (max-width: 771px) 100vw, 771px" /></p>
<p style="text-align: justify;">The first thing to notice is that the Network Interface does not have a valid IP address, since Microsoft Azure will not provide one. In order to have the Nested VM to have Network connectivity we need to use NAT.</p>
<p style="text-align: justify;">First change the Virtual Switch to &#8220;Internal network&#8221;</p>
<p id="RLMjbqa"><img loading="lazy" decoding="async" class="alignnone wp-image-1389 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996c7fe817c3.png" alt="Nested Virtualization" width="699" height="387" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c7fe817c3.png 699w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c7fe817c3-300x166.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c7fe817c3-600x332.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c7fe817c3-660x365.png 660w" sizes="auto, (max-width: 699px) 100vw, 699px" /></p>
<p>At the Host&#8217;s Network interfaces, open the vEthernet NIC and add a static IP, only IP &amp; Mask</p>
<p id="hFaVGUz"><img loading="lazy" decoding="async" class="alignnone wp-image-1390 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996c8b5c6abe.png" alt="Nested Virtualization" width="543" height="658" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c8b5c6abe.png 543w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c8b5c6abe-248x300.png 248w" sizes="auto, (max-width: 543px) 100vw, 543px" /></p>
<p>Now we will need PowerShell, since we cannot configure NAT form the GUI.</p>
<p>Open the PowerShell (still at the Host Azure VM) and run</p>
<pre class="lang:ps decode:true ">New-NetNat –Name NVMNat –InternalIPInterfaceAddressPrefix 192.168.168.0/24</pre>
<p>The result:</p>
<p id="frIrZYx"><img loading="lazy" decoding="async" class="alignnone wp-image-1392 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996c9d445e31.png" alt="Nested Virtualization" width="709" height="268" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c9d445e31.png 709w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c9d445e31-300x113.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c9d445e31-600x227.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996c9d445e31-660x249.png 660w" sizes="auto, (max-width: 709px) 100vw, 709px" /></p>
<p style="text-align: justify;">After that we can provide the Nested VMs with IPs form the 192.168.168.0/24 range. So login to the Nested VM and add an IP fron the Range and for Default Gateway add the Host&#8217;s IP.</p>
<p style="text-align: justify;">For DNS add your AD DNS or a Public DNS server just to have internet.</p>
<p id="TlLeovV"><img loading="lazy" decoding="async" class="alignnone wp-image-1395 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996cbfdd8e92.png" alt="Nested Virtualization" width="393" height="450" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996cbfdd8e92.png 393w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996cbfdd8e92-262x300.png 262w" sizes="auto, (max-width: 393px) 100vw, 393px" /></p>
<p>Now from the Nested VM you can ping the Host:</p>
<p id="aUtfaEG"><img loading="lazy" decoding="async" class="alignnone wp-image-1394 size-full" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996caec18263.png" alt="Nested Virtualization" width="575" height="433" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996caec18263.png 575w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996caec18263-300x226.png 300w" sizes="auto, (max-width: 575px) 100vw, 575px" /></p>
<p>And also browse the Internet:</p>
<p id="UGEcdkY"><img loading="lazy" decoding="async" class="alignnone wp-image-1396" src="http://www.e-apostolidis.gr/wp-content/uploads/2017/08/img_5996ccc099e9e.png" alt="Nested Virtualization" width="800" height="737" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ccc099e9e.png 882w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ccc099e9e-300x276.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ccc099e9e-768x707.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ccc099e9e-600x552.png 600w, https://www.cloudcorner.gr/wp-content/uploads/2017/08/img_5996ccc099e9e-660x608.png 660w" sizes="auto, (max-width: 800px) 100vw, 800px" /></p>
<p>Stay tuned, on my next post we will see how we can make the Nested VM a Web Server, a hidden Web Server in a VM inside an Azure VM!</p>
<p>Of course this Features opens the door for many more features to test, like Hyper-V Replica, Containers, etc, that we will see in future posts.</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;&#111;&#120;&#105;m&#097;&#103;r&#064;hot&#109;&#097;i&#108;&#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%2Fmicrosoft%2Fazure%2Fnested-virtualization-vm-inside-azure-vm%2F&amp;linkname=Microsoft%20Azure%20Nested%20Virtualization%20%7C%20Hyper-V%20VM%20inside%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%2Fnested-virtualization-vm-inside-azure-vm%2F&amp;linkname=Microsoft%20Azure%20Nested%20Virtualization%20%7C%20Hyper-V%20VM%20inside%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%2Fnested-virtualization-vm-inside-azure-vm%2F&#038;title=Microsoft%20Azure%20Nested%20Virtualization%20%7C%20Hyper-V%20VM%20inside%20Azure%20VM" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/nested-virtualization-vm-inside-azure-vm/" data-a2a-title="Microsoft Azure Nested Virtualization | Hyper-V VM inside 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/nested-virtualization-vm-inside-azure-vm/">Microsoft Azure Nested Virtualization | Hyper-V VM inside 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/nested-virtualization-vm-inside-azure-vm/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Auto-Shutdown Hyper-V free with UPS</title>
		<link>https://www.cloudcorner.gr/microsoft/powershell/auto-shutdown-hyper-v-usb-ups/</link>
					<comments>https://www.cloudcorner.gr/microsoft/powershell/auto-shutdown-hyper-v-usb-ups/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Wed, 19 Oct 2016 19:33:37 +0000</pubDate>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[core]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=1059</guid>

					<description><![CDATA[<p>Auto-Shutdown Hyper-V free with USB UPS This post is about how to Auto Shutdown Hyper-v core with UPS using PowerShell and</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/powershell/auto-shutdown-hyper-v-usb-ups/">Auto-Shutdown Hyper-V free with UPS</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Auto-Shutdown Hyper-V free with USB UPS</h1>
<p>This post is about how to Auto Shutdown Hyper-v core with UPS using PowerShell and also send email notifications based to UPS battery level.</p>
<p>Recently i installed a Windows Hyper-V 2012 R2 server (the free version) but my UPS doesn&#8217;t support Windows Core. No problem, we have PowerShell!! after some search on various sites &#8211; blogs &#8211; etc i end up creating the following script. It checks the battery status every 3 minutes, using WMI and when the battery drops below 50% is sends the shutdown signal. As long as you set the VMs to save on shutdown you are OK!</p>
<p>I also added a simple mail notification before the shutdown.</p>
<pre class="lang:ps decode:true">$batterystatus = (get-wmiobject -class CIM_Battery -namespace "root\CIMV2").EstimatedChargeRemaining
DO
{
 start-sleep -seconds 180
 $batterystatus = (get-wmiobject -class CIM_Battery -namespace "root\CIMV2").EstimatedChargeRemaining
 $batterystatus
 } While ($batterystatus -gt 50)
$login = "username"
$password = "password" | Convertto-SecureString -AsPlainText -Force
$credentials = New-Object System.Management.Automation.Pscredential -Argumentlist $login,$password
Send-MailMessage -Body "UPS Started - Server will shutdown in 5 minutes" -From mail@domain.com -To mymail@domain.com -Subject "Power Loss - UPS Started" -SmtpServer mail.domain.com -Credential $Credentials
shutdown /s /t 300</pre>
<p>Feel free to use my script and also edit at will based to your needs</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:prox&#105;mag&#114;&#064;ho&#116;&#109;&#097;il&#046;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%2Fpowershell%2Fauto-shutdown-hyper-v-usb-ups%2F&amp;linkname=Auto-Shutdown%20Hyper-V%20free%20with%20UPS" 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%2Fpowershell%2Fauto-shutdown-hyper-v-usb-ups%2F&amp;linkname=Auto-Shutdown%20Hyper-V%20free%20with%20UPS" 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%2Fpowershell%2Fauto-shutdown-hyper-v-usb-ups%2F&#038;title=Auto-Shutdown%20Hyper-V%20free%20with%20UPS" data-a2a-url="https://www.cloudcorner.gr/microsoft/powershell/auto-shutdown-hyper-v-usb-ups/" data-a2a-title="Auto-Shutdown Hyper-V free with UPS"><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/powershell/auto-shutdown-hyper-v-usb-ups/">Auto-Shutdown Hyper-V free with UPS</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/powershell/auto-shutdown-hyper-v-usb-ups/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:p&#114;ox&#105;&#109;&#097;g&#114;&#064;&#104;o&#116;ma&#105;&#108;&#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%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>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;ima&#103;&#114;&#064;&#104;o&#116;&#109;&#097;il&#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>Configure NTP on Windows Server (Time Server)</title>
		<link>https://www.cloudcorner.gr/microsoft/configure-ntp-on-windows-server-time-server/</link>
					<comments>https://www.cloudcorner.gr/microsoft/configure-ntp-on-windows-server-time-server/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Wed, 27 Aug 2014 09:39:08 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">http://proximagr.wordpress.com/2014/08/27/configure-ntp-on-windows-server-time-server/</guid>

					<description><![CDATA[<p>A simple command to configure NTP on a Windows Server is: w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL sc stop w32time sc start</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/configure-ntp-on-windows-server-time-server/">Configure NTP on Windows Server (Time Server)</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>A simple command to configure NTP on a Windows Server is:</p>
<blockquote>
<p>w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL</p>
<p>sc stop w32time</p>
<p>sc start w32time</p>
</blockquote>
<p> </p>
<p>To add more than one NTP servers:</p>
<blockquote>
<p>w32tm /config /manualpeerlist:&#8221;0.pool.ntp.org 1.pool.ntp.org&#8221; /syncfromflags:MANUAL</p>
</blockquote>
<p> </p>
<p>To check the status of the time service:</p>
<blockquote>
<p>w32tm /query /status</p>
</blockquote>
<p> </p>
<p>You can find more NTP peers at: http://www.pool.ntp.org/</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:p&#114;o&#120;ima&#103;&#114;&#064;h&#111;t&#109;a&#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%2Fconfigure-ntp-on-windows-server-time-server%2F&amp;linkname=Configure%20NTP%20on%20Windows%20Server%20%28Time%20Server%29" 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%2Fconfigure-ntp-on-windows-server-time-server%2F&amp;linkname=Configure%20NTP%20on%20Windows%20Server%20%28Time%20Server%29" 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%2Fconfigure-ntp-on-windows-server-time-server%2F&#038;title=Configure%20NTP%20on%20Windows%20Server%20%28Time%20Server%29" data-a2a-url="https://www.cloudcorner.gr/microsoft/configure-ntp-on-windows-server-time-server/" data-a2a-title="Configure NTP on Windows Server (Time Server)"><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/configure-ntp-on-windows-server-time-server/">Configure NTP on Windows Server (Time Server)</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/configure-ntp-on-windows-server-time-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Volume Shadow Copy Error 0x800423f4  &#124; VSS Backup error</title>
		<link>https://www.cloudcorner.gr/microsoft/volume-shadow-copy-error-0x800423f4-vss-backup-error/</link>
					<comments>https://www.cloudcorner.gr/microsoft/volume-shadow-copy-error-0x800423f4-vss-backup-error/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 26 Aug 2014 07:56:50 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">http://proximagr.wordpress.com/2014/08/26/volume-shadow-copy-error-0x800423f4-vss-backup-error/</guid>

					<description><![CDATA[<p>There are many times that VSS can be a PITA! Trying to backup a HyperV VM or jsut an application</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/volume-shadow-copy-error-0x800423f4-vss-backup-error/">Volume Shadow Copy Error 0x800423f4  | VSS Backup error</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>There are many times that VSS can be a PITA! Trying to backup a HyperV VM or jsut an application and have VSS errors. There are many troublesooting options most of them doing partial job and probable wont fix any errors. The below command set from microsoft almost everytime solves the VSS problems. Actually it re-registers the VSS.</p>
<p>&nbsp;</p>
<p>Open an elevated command prompt session</p>
<p>CD to WindowsSystem32 (depending on the version of the OS many dll&#8217;s will fail to register, you can ignore them)</p>
<p>Net stop vss</p>
<p>Net stop swprv</p>
<p>regsvr32 ole32.dll</p>
<p>regsvr32 vss_ps.dll</p>
<p>Vssvc /Register</p>
<p>regsvr32 /i swprv.dll</p>
<p>regsvr32 /i eventcls.dll</p>
<p>regsvr32 es.dll</p>
<p>regsvr32 stdprov.dll</p>
<p>regsvr32 vssui.dll</p>
<p>regsvr32 msxml.dll</p>
<p>regsvr32 msxml3.dll</p>
<p>regsvr32 msxml4.dll</p>
<p>Reboot your server.</p>
<p>After reboot, open a command prompt and run:</p>
<p>vssadmin list writers</p>
<p>Ensure that all your writers are displayed w/o errors.</p>
<p>FInally retry your backup</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:p&#114;&#111;&#120;&#105;&#109;&#097;&#103;&#114;&#064;&#104;o&#116;&#109;&#097;&#105;l&#046;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%2Fvolume-shadow-copy-error-0x800423f4-vss-backup-error%2F&amp;linkname=Volume%20Shadow%20Copy%20Error%200x800423f4%20%20%7C%20VSS%20Backup%20error" 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%2Fvolume-shadow-copy-error-0x800423f4-vss-backup-error%2F&amp;linkname=Volume%20Shadow%20Copy%20Error%200x800423f4%20%20%7C%20VSS%20Backup%20error" 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%2Fvolume-shadow-copy-error-0x800423f4-vss-backup-error%2F&#038;title=Volume%20Shadow%20Copy%20Error%200x800423f4%20%20%7C%20VSS%20Backup%20error" data-a2a-url="https://www.cloudcorner.gr/microsoft/volume-shadow-copy-error-0x800423f4-vss-backup-error/" data-a2a-title="Volume Shadow Copy Error 0x800423f4  | VSS Backup error"><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/volume-shadow-copy-error-0x800423f4-vss-backup-error/">Volume Shadow Copy Error 0x800423f4  | VSS Backup error</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/volume-shadow-copy-error-0x800423f4-vss-backup-error/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
