Physical Machine to Azure

VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2), P2V migrator

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
OnlyTryingtoLearn
Posts: 7
Joined: Tue Feb 27, 2024 11:05 am

Tue Feb 27, 2024 11:18 am

Hi
I want to convert an entire physical machine (Windows 10) to Microsoft Azure. I have seen the proceedure https://www.starwindsoftware.com/v2v-he ... Azure.html

My question is do I have to also create the Virtual Machine in Azure first with the same discs etc ? or will the software do this for me? and lastly do I have to register the application as I cannot find any prerequistes.

Thanks :)
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Tue Feb 27, 2024 11:41 am

Welcome to StarWind Forum :)
The software will do that for you. Yet, if you decide to convert individual disks, you will need to connect them to a VM afterward.
OnlyTryingtoLearn
Posts: 7
Joined: Tue Feb 27, 2024 11:05 am

Tue Feb 27, 2024 11:48 am

Hi Yaroslav

Thank you for the quick response and lastly i have seen posts that you have register the application, do i need to do that?

Thanks :)
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Tue Feb 27, 2024 12:25 pm

Hi,

You are always welcome :)
This is done as a part of account preparation. Without it, conversion will not simply happen as the destination is not ready to act on the requests.
Cheers,
OnlyTryingtoLearn
Posts: 7
Joined: Tue Feb 27, 2024 11:05 am

Tue Feb 27, 2024 2:10 pm

Hi Yaroslav

Do you have any documentation on how to register the application or is that done at the time of "Enter the Azure Connection Parameters"

Thank you again :)
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Tue Feb 27, 2024 3:51 pm

Yes, we do (please note this is an Azure side of the setup). https://www.starwindsoftware.com/v2v-he ... Azure.html
OnlyTryingtoLearn
Posts: 7
Joined: Tue Feb 27, 2024 11:05 am

Sun Mar 03, 2024 11:54 am

Hi
So I manage to start migrating the physical machine all was going well until i got an error message
Logs
3/2 0:53:20.740 3050 Facility ???ERROR: VMConverter::AzureConverter::CreateVM: CreateDisk Status code: 400 Error code: BadRequest Message: Changing property 'sourceUri' is not allowed for existing disk 'DataDisk_8723935427912920559'.
3/2 0:53:20.740 3050 Facility ???ERROR: CPPConverting::ConverterAzure: Create VM - Error sending request to Azure.
Changing property 'sourceUri' is not allowed for existing disk 'DataDisk_8723935427912920559'.
3/2 0:53:20.740 3050 Facility ???ERROR: CPPConverting::Convert: FAILED

Thanks again
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Sun Mar 03, 2024 12:15 pm

It looks like the Azure side is not ready to accept the VM. Please make sure Azure is configured right.
OnlyTryingtoLearn
Posts: 7
Joined: Tue Feb 27, 2024 11:05 am

Mon Mar 04, 2024 11:12 am

Hi

Thanks again for the reply.

What should I be looking for on the Azure side?
I followed this document https://www.starwindsoftware.com/v2v-he ... Azure.html

Thanks again
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Mon Mar 04, 2024 12:28 pm

That's strange. Thank you for your update.
The error code indicates an issue with the connection to Azure. Does your account have enough privileges to access all resources?
OnlyTryingtoLearn
Posts: 7
Joined: Tue Feb 27, 2024 11:05 am

Fri Mar 08, 2024 11:14 am

Hi

We followed the instructions provided, The App registration has contributor access to the subscription in Azure, The wizard did create a storage account and uploaded the converted VHD files but seem to fail when tring to create the virtual machine resource. Are we missing any permissions that are not included in the instructions.

Thanks
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Fri Mar 08, 2024 6:58 pm

Can you please try creating a fresh account and dry-run the conversion?
OnlyTryingtoLearn
Posts: 7
Joined: Tue Feb 27, 2024 11:05 am

Mon Mar 11, 2024 9:51 am

Hi

Created a fresh account and the wizard did create a fresh storage account and uploaded the converted VHD files but seem to fail agian when tring to create the virtual machine resource.

Thanks again
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Mon Mar 11, 2024 10:06 am

I think the Azure side of the setup is not configured correctly. It can also mean that Microsoft has changed again something on the Azure side so that new setups do not work well.
Please log a call with us at support@starwind.com. Please use 1124292 and this thread as your references.
Post Reply