Azure VM provision from image issue
-
I have a SP 2013 dev server which has AD,SP & SQL in one on my local machine and wanted to move to Azure. As per the documenation https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-create-upload-vhd-windows-server/ I did sysprep, uploaded the vhd file to azure and created image based on the uploaded file and started the machine.
It showed that sucessfully created virtual machine but stuck in progress.Provisioning the virtual machine
Its been almost an hour its stuck, cant RDP yet. When i read about this on some forums it says you can't do sysprep on DC.
Anyone faced this issue, and how can i fix this?
-
Paging @GregoryHall our resident Azure expert.
-
Thanks @scottalanmiller
The provisioning failed. I need to get this VM up by tomorrow morning. So planning to upload a non syspreped vhd and check in the meantime -
I hope you did a backup before sysprep...
Restore from backup
Power on VHD on Hyper-V 2012 and update the integration drivers
Shutdown the VHD
Copy the VHD to your Storage Blob Using How-To
http://community.spiceworks.com/how_to/120949-migrate-hyper-v-vms-to-azure-with-os-disks-bigger-than-128gb-using-powershell -
I have the VHD copy backup
@GregoryHall trying your method now. Since I have a VHDX format, first converting it to VHD, wonder why Azure is not supporting VHDX
-
During the VHD upload I got an error "Add-AzureVhd : The pipeline was not run because a pipeline is already running. Pipelines cannot be run concurrently."
I am trying it one more time, this time after MD5 check, nothing shows, just waiting for the next progress window for upload, but as of now, nothing
-
Seems like Azure Powershell is playing! Just after I posted the above note, it started uploading.
-
Unfortunately this one failed too!
-
Are there any issues for uploading AD VHD file on to Azure?
-
@GregoryHall could you please help me to clear some doubts?
If I create a new server from Azure gallery- Windows server datacenter edition, can I setup Hyper-V on this, and add multiple VMs? I am not sure if this can be done.
If this is possible, what could be the hourly charges? I couldn't really figure out this from Azure site.
I am confused, if its expensive to use the datacenter image from Azure gallery, or should i just create a standard edition VHD on local hyperv and upload it to Azure.
-
So as per MS nested Hyper-V is not supported by Azure as well, but one blog post says this is coming soon. In this case idea of using datacenter edition on Azure and using its HyperV is out of question, unless there are other things which I am not aware of
-
why would you want to nest it on Azure? some type of cost savings?
-
I am curious as well. What is the goal of the HyperV nesting?
-
Yes, cost reduction was the main reason. It is a development/testing server which doesn't require lot of resources, so thought of having one datacenter installation and have the vms inside that
-
I have no idea how Azure licenses stuff - I wouldn't have thought that you could buy a Datacenter server license for MS's own cloud solution, but what do I know?
-
@Dashrender said:
I have no idea how Azure licenses stuff - I wouldn't have thought that you could buy a Datacenter server license for MS's own cloud solution, but what do I know?
I think that DC might be the license that is provided. I do not believe that you can bring your own license, but what you get does come with a license of some sort.
-
@Reid-Cooper said:
@Dashrender said:
I have no idea how Azure licenses stuff - I wouldn't have thought that you could buy a Datacenter server license for MS's own cloud solution, but what do I know?
I think that DC might be the license that is provided. I do not believe that you can bring your own license, but what you get does come with a license of some sort.
Getting a DC license in that case seems weird to me then, unless it allows you more resource usage than standard (does it in Server 2012 R2?) Of course it allow allows for you to run all the VMs under a single hardware server as well - but I'm guessing that the licensing you're getting as part of Azure isn't a full DC license, additionally, because it is cloud based, you wouldn't be properly licensed in a situation like that anyway since MS could move your workload onto different hardware without you ever knowing it, and now you'd be out of compliance.
So, if you really need to run 10 servers on Azure, you just need to purchase 10 instances, right?