VM Manager Connection Failed

Hi All,

I am facing an issue while setting up Microsoft Hyper-V VM Manager in ILMT web console.
it says connection failed though my credentials are correct.
I have checked the trace log at “C:\Program Files (x86)\BigFix Enterprise\BES Client\LMT\VMMAN\logs”
Please have a look:

2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.status.StatusUtils::convertErrorCodeToStatus::Resolved status: Connection failed
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.VMCollectorTask::processTask()::(vmmconf_3.properties): Exception while processing VM Manager URL: http://hostname:5985/wsman
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.VMCollectorTask::processTask():com.ibm.license.mgmt.util.vmmanager.exception.VmManagerException

2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::getNextConfiguration()::Trying to fix connection status: CONNECTION_FAILED_
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyVMManagerType()::Modyfing VMManagerType VMWARE_V_SPHERE to VMWARE_V_SPHERE .
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyVMManagerType()::Modyfing URL address https://hostname/wsman to https://hostname/sdk .
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyPort()::Modyfing URL address https://hostname/sdk to https://hostname/sdk .
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::validateUrlNonDefaultSuffix()::Modyfing URL address https://hostname/sdk to https://hostname/sdk .
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyVMManagerType()::Modyfing VMManagerType MICROSOFT_HYPER_V to MICROSOFT_HYPER_V .
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyVMManagerType()::Modyfing URL address https://hostname/sdk to https://hostname/wsman .
_2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyTransferProtocol()::Modyfing URL address https://hostname/wsman to http://hostname/wsman_
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyHyperVCommunicationProtocol()::Setting communication interface to POWERSHELL
_2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyTransferProtocol()::Modyfing URL address http://hostname/wsman to https://hostname/wsman_
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyVMManagerType()::Modyfing VMManagerType MICROSOFT_HYPER_V to MICROSOFT_HYPER_V .
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyVMManagerType()::Modyfing URL address https://hostname/wsman to https://hostname/wsman .
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyPort()::Modyfing URL address https://hostname/wsman to https://hostname/wsman .
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::validateUrlNonDefaultSuffix()::Modyfing URL address https://hostname/wsman to https://hostname/wsman .
_2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyTransferProtocol()::Modyfing URL address https://hostname/wsman to http://hostname/wsman_
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyPort()::Modyfing URL address http://hostname:5985/wsman to http://hostname:5985/wsman .
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyHyperVCommunicationProtocol()::Setting communication interface to WinRM
_2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyTransferProtocol()::Modyfing URL address http://hostname:5985/wsman to https://hostname:5985/wsman_
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.datacollector.tasks.ConfigurationMistakesResolver::modifyPort()::Modyfing URL address https://hostname:5986/wsman to https://hostname:5986/wsman .
2018-04-17 18:53:21 : (pool-5-thread-4) com.ibm.license.mgmt.vmmanager.ConnectorFactory::createConnector::Connector HyperVConnector created for requested type MICROSOFT_HYPER_V
2018-04-17 18:53:42 : (pool-5-thread-4) com.ibm.license.mgmt.vmmanager.hyperv.net.HttpConnector::initializeNTLM:java.net.ConnectException: Connection timed out: connect

Any idea on this?

Thanks in advance.

https://www.ibm.com/support/knowledgecenter/en/SSKLLW_9.5.0/com.ibm.bigfix.inventory.doc/Inventory/admin/t_adding_new_vm_managers.html

https://www.ibm.com/support/knowledgecenter/en/SSKLLW_9.5.0/com.ibm.bigfix.inventory.doc/Inventory/admin/r_hyper-v.html

Check those links, make sure your credentials are in correct format, make sure you have correctly configured the connection and try again. (check if WinRM is configured as mentioned in the doc, check the ports as well, maybe not default ones are used in your env)

Thanks for the quick response @michalpaluch.
Credentials are correct but test connection fails with exit code 10.
I tried both the ways.

  1. https://IPAddress/wsman
  2. https://IPAddress:5986/wsman

But both the ways failed.

Any suggestion on this?

Hi

I am having a problem gathering data from Hyper-V, do you know what to do, if the Hyper-V administrator will not accept to change the WINRM setting ” AllowUnencrypted” to true ?

Thanks in advance

Any suggestions how to handle this.