Hi plamen,
i used the thumbprint in properties file and i was successful in submitting the ob to the converter. But when i try to assign ip for the helper VM (Linux P2V). The ip is not setting configured,
private ConverterConversionParams BuildConversionParams() { ConverterConversionParams conversionParams = new ConverterConversionParams(); conversionParams.doClone = true; conversionParams.doCloneSpecified = true; conversionParams.cloningParams = BuildCloningParams(); conversionParams.doReconfig = true; conversionParams.doReconfigSpecified = true; conversionParams.reconfigParams = null; conversionParams.doInstallTools = false; conversionParams.doInstallToolsSpecified = true; conversionParams.doCustomize = false; conversionParams.doCustomizeSpecified = true; conversionParams.customizationParams = null; conversionParams.powerOnTargetVM = false; conversionParams.powerOnTargetVMSpecified = true; conversionParams.removeRestoreCheckpoints = false; conversionParams.removeRestoreCheckpointsSpecified = true; conversionParams.throttlingParams = null; // Applicable only to Linux P2V if (_sourceType == SourceType.Physical && _sourcePhysOsType == OsType.linuxOs) { // Possible addition: ConverterHelperVmNetworkParams // Create helper network parameters to change default helper network setting conversionParams.helperVmNetworkParams = new ConverterHelperVmNetworkParams(); conversionParams.helperVmNetworkParams.useDhcpSpecified = false; conversionParams.helperVmNetworkParams.useDhcp = false; conversionParams.helperVmNetworkParams.staticNetworkParams = new ConverterHelperVmNetworkParamsStaticNetworkParams(); conversionParams.helperVmNetworkParams.staticNetworkParams.hostname = "10.10.24.11"; conversionParams.helperVmNetworkParams.staticNetworkParams.gateway = "10.10.24.1"; conversionParams.helperVmNetworkParams.staticNetworkParams.subnetMask = "255.255.255.0"; } return conversionParams; }
And one more thing is i ave two nics attached to my ESXi. How to i specify converter to choose a specific NIC for the helper VM by using Converter SDK. Any help ?
Thnaks