Page 1 of 1

Converter Ports

Posted: Tue Oct 15, 2019 8:24 am
by Ralf
Hi all,

i have to convert a VM from the DMZ to the internal network.

The security guys asks me which ports they have to open?

Is anywhere a list of all ports which the converter needs?

regards

Ralf

Re: Converter Ports

Posted: Wed Oct 16, 2019 2:54 pm
by Boris (staff)
For VMware, V2V converter uses TCP ports 443 and 80. For Hyper-V, it uses WMI to connect to the hosts.

Re: Converter Ports

Posted: Thu Oct 17, 2019 6:00 am
by Ralf
tx

Re: Converter Ports

Posted: Thu Oct 17, 2019 9:19 am
by Michael (staff)
Welcome!

Re: Converter Ports

Posted: Mon Oct 28, 2019 10:18 am
by Ralf
HI,

on the FW the ports are open now but i get an error.
I can select the VM on ESX host from my Hyper-v host.
But if the convertion start the VM on hyper-v was created but the disk was not created.
Any idea?

regards

Ralf

The log file name: 'logs\V2V_Log-20191028-110652.log' (PID 13756)
Delete log file 'logs\V2V_Log-20191028-085951.log'.
10/28 11:06:52.019 2de8 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Image Converter\lib
10/28 11:06:52.035 2de8 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
10/28 11:06:52.035 2de8 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_RUSSIAN
10/28 11:06:52.035 2de8 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
10/28 11:06:52.035 2de8 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 6, MinorVersion 3, BuildNumber 9600
10/28 11:06:52.050 2de8 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 2fd80000
10/28 11:06:52.050 2de8 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 2fd80000
10/28 11:06:56.519 2de8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eESXConnection
10/28 11:07:17.144 2de8 Facility ???INFO: WrapperESXI::connect: m_url - [ ... ]
10/28 11:07:17.222 2de8 Facility ???INFO: WrapperESXI::connect: fullName - Administrator, key - 703b6e90-893c-1094-6f48-3e9c509c70ed
10/28 11:07:17.222 2de8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputVM
10/28 11:07:17.316 2de8 Facility ???INFO: VMConverter::ESXIConverter::GetHostListInfo: ESX version: 5.5.0
10/28 11:07:28.238 2de8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
10/28 11:07:30.425 2de8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnectionTo
10/28 11:07:31.503 2de8 Facility ???INFO: WrapperHyperV::connect: Host - \\localhost\root\virtualization\v2
10/28 11:07:31.550 2de8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVMSettings
10/28 11:07:40.082 2de8 Facility ???INFO: VMConverter::HyperVConverter::GetHostListInfo: HyperV version: 6.3.9600
10/28 11:07:40.082 2de8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
10/28 11:07:40.097 3670 Facility ???INFO: CPPConverting::Convert: InConvertType: 6, OutConvertType: 8
10/28 11:07:40.644 3670 Facility ???INFO: WrapperHyperV::getMaxMemory: MaxRAM - 511224
10/28 11:07:40.925 3670 Facility ???INFO: CPPConverting::ConverterHyperV: Create VM 614DFCFC-9A8B-4977-9D58-2D7348010484
10/28 11:07:41.003 3670 Facility ???INFO: CPPConverting::ConvertImage: pathInput: [xxxxxxxx-02] Thomas-Test/Thomas-Test.vmdk, pathOutput: C:\ClusterStorage\Volume10\Thomas-Test\Virtual Hard Disks\Thomas-Test.vhdx
10/28 11:07:41.175 3670 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [xxxxxxxx-02] Thomas-Test/Thomas-Test.vmdk
10/28 11:07:41.175 3670 Facility ???INFO: ESXVmdk::ParseFile: m_cSSLThumbprint - EA:F2:C3:F3:17:11:14:DD:47:91:84:2C:55:53:67:44:B2:55:BD:5C
10/28 11:07:41.175 3670 Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - [klnvmvh04-02] Thomas-Test/Thomas-Test.vmx
10/28 11:08:24.550 3670 Facility ???ERROR: ESXVmdk::ParseFile: m_VixDiskLib_Open is fail - 14009, The server refused connection
10/28 11:08:24.550 3670 Facility ???ERROR: ESXIDisk::CreateInputImage: ParseFile is fail
10/28 11:08:24.550 3670 Facility ???INFO: CPPConverting::ConvertImage: CreateInputImage: 1
10/28 11:08:24.550 3670 Facility ???ERROR: CPPConverting::Convert: FAILED

Re: Converter Ports

Posted: Mon Oct 28, 2019 10:27 am
by Boris (staff)
Has this ever worked before? What version of ESXi do you use? Is it commercial or free?

Re: Converter Ports

Posted: Mon Oct 28, 2019 11:10 am
by Ralf
Hi Boris,

it is ESX Version 5.5 commercial .
At the internal network it works without problems.
Now i try it from the DMZ (ESX) to the internal (Hyper-v).
I open the ports which you told me before.
TCP ports 443 and 80. For Hyper-V, it uses WMI to connect to the hosts.
WMI ports 49152 und 65535.

Re: Converter Ports

Posted: Mon Oct 28, 2019 11:28 am
by Boris (staff)
It looks like you have not opened TCP 135, which is required for WMI.
WMI ports 49152 und 65535.
WMI uses dynamic ports between these two ports. You can set its port to use a static one, if you need to keep it open.

Re: Converter Ports

Posted: Mon Oct 28, 2019 11:56 am
by Ralf
yep ... i will check 135 and sorry i mean all ports from 49152 to 65535 are open

Re: Converter Ports

Posted: Wed Oct 30, 2019 9:14 am
by Boris (staff)
Great. Keep us informed.

Re: Converter Ports

Posted: Tue Nov 05, 2019 9:04 am
by Ralf
Hi, 135 was open. I checked the connection with the security guys..... 902 was missing. Now it works

Re: Converter Ports

Posted: Tue Nov 05, 2019 12:38 pm
by Boris (staff)
Thanks for the update. Great you finally figured it out.

Re: Converter Ports

Posted: Thu Jun 11, 2020 12:43 pm
by anton (staff)
Ralf wrote:HI,

on the FW the ports are open now but i get an error.
I can select the VM on ESX host from my Hyper-v host.
But if the convertion start the VM on hyper-v was created but the disk was not created.
Any idea?

regards

Ralf

The log file name: 'logs\V2V_Log-20191028-110652.log' (PID 13756)
Delete log file 'logs\V2V_Log-20191028-085951.log'.
10/28 11:06:52.019 2de8 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Image Converter\lib
10/28 11:06:52.035 2de8 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
10/28 11:06:52.035 2de8 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_RUSSIAN
10/28 11:06:52.035 2de8 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
10/28 11:06:52.035 2de8 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 6, MinorVersion 3, BuildNumber 9600
10/28 11:06:52.050 2de8 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 2fd80000
10/28 11:06:52.050 2de8 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 2fd80000
10/28 11:06:56.519 2de8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eESXConnection
10/28 11:07:17.144 2de8 Facility ???INFO: WrapperESXI::connect: m_url - [ ... ]
10/28 11:07:17.222 2de8 Facility ???INFO: WrapperESXI::connect: fullName - Administrator, key - 703b6e90-893c-1094-6f48-3e9c509c70ed
10/28 11:07:17.222 2de8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputVM
10/28 11:07:17.316 2de8 Facility ???INFO: VMConverter::ESXIConverter::GetHostListInfo: ESX version: 5.5.0
10/28 11:07:28.238 2de8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
10/28 11:07:30.425 2de8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnectionTo
10/28 11:07:31.503 2de8 Facility ???INFO: WrapperHyperV::connect: Host - \\localhost\root\virtualization\v2
10/28 11:07:31.550 2de8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVMSettings
10/28 11:07:40.082 2de8 Facility ???INFO: VMConverter::HyperVConverter::GetHostListInfo: HyperV version: 6.3.9600
10/28 11:07:40.082 2de8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
10/28 11:07:40.097 3670 Facility ???INFO: CPPConverting::Convert: InConvertType: 6, OutConvertType: 8
10/28 11:07:40.644 3670 Facility ???INFO: WrapperHyperV::getMaxMemory: MaxRAM - 511224
10/28 11:07:40.925 3670 Facility ???INFO: CPPConverting::ConverterHyperV: Create VM 614DFCFC-9A8B-4977-9D58-2D7348010484
10/28 11:07:41.003 3670 Facility ???INFO: CPPConverting::ConvertImage: pathInput: [xxxxxxxx-02] Thomas-Test/Thomas-Test.vmdk, pathOutput: C:\ClusterStorage\Volume10\Thomas-Test\Virtual Hard Disks\Thomas-Test.vhdx
10/28 11:07:41.175 3670 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [xxxxxxxx-02] Thomas-Test/Thomas-Test.vmdk
10/28 11:07:41.175 3670 Facility ???INFO: ESXVmdk::ParseFile: m_cSSLThumbprint - EA:F2:C3:F3:17:11:14:DD:47:91:84:2C:55:53:67:44:B2:55:BD:5C
10/28 11:07:41.175 3670 Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - [klnvmvh04-02] Thomas-Test/Thomas-Test.vmx
10/28 11:08:24.550 3670 Facility ???ERROR: ESXVmdk::ParseFile: m_VixDiskLib_Open is fail - 14009, The server refused connection
10/28 11:08:24.550 3670 Facility ???ERROR: ESXIDisk::CreateInputImage: ParseFile is fail
10/28 11:08:24.550 3670 Facility ???INFO: CPPConverting::ConvertImage: CreateInputImage: 1
10/28 11:08:24.550 3670 Facility ???ERROR: CPPConverting::Convert: FAILED