If you want to use the new version of ARM resources, such as virtual network, storage, gateways and so on, we will have to move the old version of classic to arm. The migration approach is simple.
Now that we have found the old version of the virtual machine DC01 on the Ram "virtual machine (Classic)", we are going to migrate this VM to "virtual machine" here.
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/81/ff/wkiol1dhbjidn2uqaafgw4gc1zc374.png "width=" 911 "height=" 352 "/>
The new version of RAM is empty on the virtual machine.
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/81/ff/wkiol1dhbjrhoarzaadbrheyu5c310.png "width=" 778 "height=" 424 "/>
Create a new resource group on RAM Markleong
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/82/01/wkiom1dhbubjmvhaaadlde1zy9s637.png "width=" "height=" 303 "/>
Download Install Azure explore:http://storageexplorer.com/, after installation, enter your account login to find the old version of the virtual machine VHD file. When the virtual machine is turned off, click the Copy button.
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/82/01/wkiom1dhbumh66roaakvqwoyd_a629.png "width=" 753 "height=" 563 "/>
Then paste it into the Ram New resource group and wait for the copy to complete.
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/82/01/wkiom1dhbvbbcm5gaahz9ivcol0725.png "width=" 771 "height=" 469 "/>
Go back to Portal, click on the storage account, see if the VHD file is copied successfully, and record where it is stored: https://markleong7538.blob.core.windows.net/vhds/markleong-DC01-2015-11-20.vhd
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/81/ff/wkiol1dhbk7yc1usaaetxclfdda376.png "width=" 812 "height=" 368 "/>
650) this.width=650; "title=" image "style=" border-right-width:0px;background-image:none;border-bottom-width:0px; padding-top:0px;padding-left:0px;padding-right:0px;border-top-width:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/82/01/wkiom1dhbv6anqicaadnbuumvjm360.png "width=" 809 "height=" 386 "/>
Using Azure PowerShell to build a virtual machine
Login-azurermaccount #登录RAM
New-azurermresourcegroupdeployment-name "RAMDC01"-resourcegroupname "RAM_RESOURCEGP"-templateuri https:// raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-specialized-vm-in-existing-vnet/ Azuredeploy.json #RAMDC01为虚拟的名称, RAM_RESOURCEGP is the resource group name,-templateuri is the VM template, this link remains the same.
This article is from the "Month Missing" blog, please be sure to keep this source http://yueque.blog.51cto.com/4580340/1783656
Azure International-new and old version migration (ii) _ Migrating VHD files