Version 364 Hyper-V -> ESXi Syncrhonization Option

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

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

Post Reply
techvootv
Posts: 6
Joined: Wed Oct 25, 2023 9:34 pm

Wed Oct 25, 2023 9:36 pm

Looking at the change log it looks like Hyper-V -> ESXi now supports live VMs. There is a new synchronization options as well in the menu between source/remote servers.

How exactly does this work? I don't see much information in your documentation yet for it. Will this allow us to run it once and then run a delta at a later time to synchronize the differences?
yaroslav (staff)
Staff
Posts: 2317
Joined: Mon Nov 18, 2019 11:11 am

Wed Oct 25, 2023 10:47 pm

Thanks for your question and welcome to StarWind forum.
Will this allow us to run it once and then run a delta at a later time to synchronize the differences?
Absolutely right.
techvootv
Posts: 6
Joined: Wed Oct 25, 2023 9:34 pm

Thu Oct 26, 2023 1:21 pm

Hi Yaroslav, thank you for the information.

I am running it again after it completed last night and it looks to be making new files / VM instead of syncing changes. I did select synchronization on all the files as well.

Are you able to provide some guidance?
yaroslav (staff)
Staff
Posts: 2317
Joined: Mon Nov 18, 2019 11:11 am

Thu Oct 26, 2023 3:00 pm

May I wonder if the VM conversion was completed?
techvootv
Posts: 6
Joined: Wed Oct 25, 2023 9:34 pm

Thu Oct 26, 2023 4:07 pm

Yes, it did autocomplete and I got the website pop up at end. Is that not intended?
yaroslav (staff)
Staff
Posts: 2317
Joined: Mon Nov 18, 2019 11:11 am

Thu Oct 26, 2023 6:36 pm

Please share the screenshots of what you see after the conversion.
techvootv
Posts: 6
Joined: Wed Oct 25, 2023 9:34 pm

Fri Oct 27, 2023 12:58 pm

Hi Yaro, I re-ran it last night to generate a screenshot but looks like the program is closed when I came back. No reboots. Is there a log somewhere I can pull?
yaroslav (staff)
Staff
Posts: 2317
Joined: Mon Nov 18, 2019 11:11 am

Fri Oct 27, 2023 1:07 pm

Could you please outline the issue and share the conversion logs (C:\Program Files\StarWind Software\StarWind V2V Converter\logs)?
techvootv
Posts: 6
Joined: Wed Oct 25, 2023 9:34 pm

Fri Oct 27, 2023 2:38 pm

Here is the most recent log from last night.

My main issue is I am looking to run a delta synchronization but it is just creating an additional VM / copies of the drives on ESXi.

Code: Select all

The log file name: 'logs\V2V_Log-20231026-142451.log' (PID 7832)
10/26 14:24:51.578 10f4 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
10/26 14:24:51.578 10f4 Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.364
10/26 14:24:51.593 10f4 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
10/26 14:24:51.593 10f4 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
10/26 14:24:51.609 10f4 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 10, MinorVersion 0, BuildNumber 22621
10/26 14:24:51.640 10f4 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 29130000
10/26 14:24:51.640 10f4 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 29130000
10/26 14:24:58.593 10f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnection
10/26 14:24:59.250 10f4 Facility ???INFO: WrapperHyperV::connect: Host - \\localhost\root\virtualization\v2
10/26 14:24:59.328 10f4 Facility ???ERROR: WrapperHyperV::connect: pLoc->ConnectServer \\localhost\root\virtualization\v2 - 0x8004100e
10/26 14:24:59.328 10f4 Facility ???ERROR: WrapperHyperV::failResultToStr: Last Error - Invalid namespace
 (0x8004100e)
10/26 14:24:59.328 10f4 Facility ???ERROR: VMConverter::HyperVConverter::Connection: connect fail - 0x8004100e
10/26 14:25:04.687 10f4 Facility ???WARNING: CPPHYPERVConnection::onNext: connect Invalid namespace
 (0x8004100e)
10/26 14:26:23.829 10f4 Facility ???INFO: WrapperHyperV::connect: Host - \\10.0.0.6\root\virtualization\v2
10/26 14:26:24.032 10f4 Facility ???INFO: WrapperHyperV::connect: user: ****
10/26 14:26:24.110 10f4 Facility ???INFO: WrapperHyperV::connectToCIMV2: user: ****
10/26 14:26:24.126 10f4 Facility ???INFO: WrapperHyperV::init_version: HyperV version: 6.3.9600
10/26 14:26:24.126 10f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputVM
10/26 14:26:30.610 10f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - (null)
10/26 14:28:49.099 10f4 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eInputVM
10/26 14:28:50.349 10f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - (null)
10/26 14:28:51.770 10f4 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eInputVM
10/26 14:28:52.083 10f4 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eHYPERVConnection
10/26 14:28:53.192 10f4 Facility ???INFO: WrapperHyperV::connect: Host - \\10.0.0.6\root\virtualization\v2
10/26 14:28:53.286 10f4 Facility ???INFO: WrapperHyperV::connect: user: ****
10/26 14:28:53.333 10f4 Facility ???INFO: WrapperHyperV::connectToCIMV2: user: ****
10/26 14:28:53.348 10f4 Facility ???INFO: WrapperHyperV::init_version: HyperV version: 6.3.9600
10/26 14:28:53.348 10f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputVM
10/26 14:28:56.895 10f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - (null)
10/26 14:28:59.458 10f4 Facility ???INFO: CPPSynchronization::onNext: Synchronization for - N
10/26 14:28:59.474 10f4 Facility ???INFO: CPPSynchronization::onNext: Synchronization for - N
10/26 14:28:59.474 10f4 Facility ???INFO: CPPSynchronization::onNext: Synchronization for - N
10/26 14:28:59.474 10f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
10/26 14:29:02.427 10f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVMSettingsAWS
10/26 14:29:35.318 10f4 Facility ???INFO: WrapperESXI::connect: m_url - https://10.0.0.12/sdk
10/26 14:29:35.380 10f4 Facility ???INFO: WrapperESXI::connect: fullName - Administrator, key - 522e48d4-30ea-39db-f25a-c50789260523
10/26 14:29:35.380 10f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eSelectFolder
10/26 14:29:35.568 10f4 Facility ???INFO: VMConverter::ESXIConverter::GetHostListInfo: ESX version: 8.0.2
10/26 14:29:51.833 10f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnectionTo
10/26 14:29:51.880 1c80 Facility ???INFO: CPPConverting::Convert: InConvertType: 8, OutConvertType: 6
10/26 14:29:51.943 1c80 Facility ???INFO: WrapperHyperV::create_snapshot: CreateSnapshot returnValue.iVal = 4096
10/26 14:30:25.979 1c80 Facility ???INFO: WrapperHyperV::waitJob: JobState 7
10/26 14:30:26.026 1c80 Facility ???INFO: CheckFileESX::CheckFileExistance: GetBrowser fail - File [Primary Datastore] NAVSRV was not found
10/26 14:30:26.057 1c80 Facility ???INFO: CheckFileESX::CheckFileExistance: GetBrowser fail - File [Primary Datastore] NAVSRV was not found
10/26 14:30:26.104 1c80 Facility ???INFO: CheckFileESX::CheckFileExistance: GetBrowser fail - File [Primary Datastore] NAVSRV was not found
10/26 14:30:26.245 1c80 Facility ???INFO: WrapperESXI::Wait: Progress - 33
10/26 14:30:26.245 1c80 Facility ???INFO: WrapperESXI::Wait: Progress - 66
10/26 14:30:26.260 1c80 Facility ???INFO: WrapperESXI::Wait: Progress - 99
10/26 14:30:26.323 1c80 Facility ???INFO: VMConverter::ESXIConverter::CreateVM: createVM is true, 7
10/26 14:30:26.323 1c80 Facility ???INFO: CPPConverting::ConverterESX: Create VM 7
10/26 14:30:26.494 1c80 Facility ???INFO: CPPConverting::ConvertDisks: pathInput: N:\Hyper-V\Virtual Hard Disks\NAVSRV.VHDX, pathOutput: [Primary Datastore] NAVSRV/NAVSRV.vmdk
10/26 14:30:26.557 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
10/26 14:30:26.557 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
10/26 14:30:26.557 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
10/26 14:30:26.557 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
10/26 14:30:26.557 1c80 Facility ???INFO: CVHDXFile::ParseFile: Log is empty.
10/26 14:30:26.573 1c80 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
10/26 14:30:26.588 1c80 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
10/26 14:30:26.651 1c80 Facility ???INFO: CPPConverting::ConvertDisks: CreateInputImage: 0
10/26 14:30:26.869 1c80 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [Primary Datastore] NAVSRV/NAVSRV.vmdk
10/26 14:30:26.869 1c80 Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - moref=7
10/26 14:30:26.885 1c80 Facility ???INFO: ESXVmdk::ParseFile: sslThumbprint - 52:31:9E:8B:0A:16:65:8D:4A:65:2C:7F:5C:0B:D5:A8:AD:4E:BE:4A
10/26 14:30:28.807 1c80 Facility ???INFO: CPPConverting::ConvertDisks: CreateOutputImage: 0
10/26 14:34:35.381 860 Facility ???INFO: VMConverter::ESXIConverter::Connection::<lambda_8874940e4602bbfc5e7b4b277e23eb86>::operator (): No_timeout ESX connection
10/26 16:00:09.222 1c80 Facility ???INFO: CPPConverting::ConvertImage: Success
10/26 16:00:09.222 1c80 Facility ???INFO: CPPConverting::ConvertDisks: pathInput: N:\Hyper-V\Virtual Hard Disks\NAVSRV-L.vhdx, pathOutput: [Primary Datastore] NAVSRV/NAVSRV-L.vmdk
10/26 16:00:09.237 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
10/26 16:00:09.237 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
10/26 16:00:09.253 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
10/26 16:00:09.253 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
10/26 16:00:09.253 1c80 Facility ???INFO: CVHDXFile::ParseFile: Log is empty.
10/26 16:00:09.253 1c80 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
10/26 16:00:09.253 1c80 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
10/26 16:00:09.253 1c80 Facility ???INFO: CPPConverting::ConvertDisks: CreateInputImage: 0
10/26 16:00:09.253 1c80 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [Primary Datastore] NAVSRV/NAVSRV-L.vmdk
10/26 16:00:09.253 1c80 Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - moref=7
10/26 16:00:09.268 1c80 Facility ???INFO: ESXVmdk::ParseFile: sslThumbprint - 52:31:9E:8B:0A:16:65:8D:4A:65:2C:7F:5C:0B:D5:A8:AD:4E:BE:4A
10/26 16:00:11.003 1c80 Facility ???INFO: CPPConverting::ConvertDisks: CreateOutputImage: 0
10/26 17:01:56.909 1c80 Facility ???INFO: CPPConverting::ConvertImage: Success
10/26 17:01:56.909 1c80 Facility ???INFO: CPPConverting::ConvertDisks: pathInput: N:\Hyper-V\Virtual Hard Disks\NAVSRV-N.vhdx, pathOutput: [Primary Datastore] NAVSRV/NAVSRV-N.vmdk
10/26 17:01:56.971 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
10/26 17:01:56.971 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
10/26 17:01:56.987 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
10/26 17:01:56.987 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
10/26 17:01:56.987 1c80 Facility ???INFO: CVHDXFile::ParseFile: Log is empty.
10/26 17:01:56.987 1c80 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
10/26 17:01:56.987 1c80 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
10/26 17:01:57.002 1c80 Facility ???INFO: CPPConverting::ConvertDisks: CreateInputImage: 0
10/26 17:01:57.002 1c80 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [Primary Datastore] NAVSRV/NAVSRV-N.vmdk
10/26 17:01:57.002 1c80 Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - moref=7
10/26 17:01:57.033 1c80 Facility ???INFO: ESXVmdk::ParseFile: sslThumbprint - 52:31:9E:8B:0A:16:65:8D:4A:65:2C:7F:5C:0B:D5:A8:AD:4E:BE:4A
10/26 17:01:58.737 1c80 Facility ???INFO: CPPConverting::ConvertDisks: CreateOutputImage: 0
10/26 17:11:52.658 1c80 Facility ???INFO: CPPConverting::ConvertImage: Success
10/26 17:11:53.595 1c80 Facility ???INFO: WrapperHyperV::create_snapshot: CreateSnapshot returnValue.iVal = 4096
10/26 17:12:27.706 1c80 Facility ???INFO: WrapperHyperV::waitJob: JobState 7
10/26 17:12:27.924 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
10/26 17:12:27.924 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
10/26 17:12:27.924 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
10/26 17:12:27.924 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
10/26 17:12:27.924 1c80 Facility ???WARNING: CVHDXFile::ParseFile: Log header signature is fail - 1635017060.
10/26 17:12:27.924 1c80 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
10/26 17:12:27.940 1c80 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
10/26 17:12:28.049 1c80 Facility ???WARNING: CVHDXFile::ParseFile: Not found parent linkage 2.
10/26 17:12:28.049 1c80 Facility ???INFO: CVHDXFile::ParseFile: Parse parent.
10/26 17:12:28.112 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 1.
10/26 17:12:28.112 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Read header 2.
10/26 17:12:28.112 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 1.
10/26 17:12:28.112 1c80 Facility ???INFO: CVHDXFile::getCurrentHeader: Check correct header 2.
10/26 17:12:28.112 1c80 Facility ???INFO: CVHDXFile::ParseFile: Log is empty.
10/26 17:12:28.112 1c80 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
10/26 17:12:28.143 1c80 Facility ???INFO: CVHDXFile::getRegion: Read region header 1.
10/26 17:12:28.190 1c80 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [Primary Datastore] NAVSRV/NAVSRV.vmdk
10/26 17:12:28.190 1c80 Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - moref=7
10/26 17:12:28.206 1c80 Facility ???INFO: ESXVmdk::ParseFile: Close disk
10/26 17:12:28.206 1c80 Facility ???INFO: ESXVmdk::ParseFile: Disconnect
10/26 17:12:28.206 1c80 Facility ???INFO: ESXVmdk::ParseFile: sslThumbprint - 52:31:9E:8B:0A:16:65:8D:4A:65:2C:7F:5C:0B:D5:A8:AD:4E:BE:4A
mariarany
Posts: 1
Joined: Sun Oct 29, 2023 8:09 am
Location: United States
Contact:

Sun Oct 29, 2023 8:12 am

How to migrate Hyper-V VM to VMware ESXi?
yaroslav (staff)
Staff
Posts: 2317
Joined: Mon Nov 18, 2019 11:11 am

Sun Oct 29, 2023 12:25 pm

mariarany, Check here https://www.starwindsoftware.com/v2v-he ... rtVMs.html

techvootv,

I see where confusion is coming from. Sorry for misunderstanding.
Are you converting a running VM?
techvootv
Posts: 6
Joined: Wed Oct 25, 2023 9:34 pm

Mon Oct 30, 2023 1:00 pm

Good morning. Yes, this is on a running VM.
yaroslav (staff)
Staff
Posts: 2317
Joined: Mon Nov 18, 2019 11:11 am

Mon Oct 30, 2023 3:30 pm

Greetings,

I think I finally got your question. And, before I carry further on, I'm sorry for such misleading answers above and any inconvenience caused.
Every conversion creates a new VM. This is intended, not the delta. This makes the StarWind V2V converter not quite suitable for backup purposes. For synchronizing the differences, you can use something like a scheduled robocopy routine or rsync. In other words, you could spin up two VMs and synchronize the difference between them as a routine.
In my original answer, I assumed you were curious about how online conversion works under the hood.

Hope now my answer FINALLY gets useful.
Post Reply