Hi,
I'm trying to bring VRM into IMC, but failing miserably so far.
We use SCVMM (4 hosts in a cluster, 1 standalone host) for VM management, and I am trying to follow instructions laid out in documentation. According to the documentation, if you have SCVMM, you need to connect with Powershell.
I've created a Powershell Access Parameter Template,, with the correct user name, password and port 8100, and when I select "Test connection to vManager/physical server" and select our SCVMM server, I keep getting the "Server busy, please try again later" message.
I've followed all troubleshooting tips I've managed to find: So far I've
- Installed the VRM plugin on the SCVMM server and configured the imf.cfg file (IMGAddress=<IMC server IP>IMGPort=8800)
- Installed the LLDP agent on the SCVMM server
- set the PS ececutionpolicy on the SCVMM server to "ByPass"
Now when I edit the Powershell Parameter Template, and test it, I get the above mentioned error.
And if I change the user account info, I get an error "could not access", so I know that the user account information is correct.
The interesting thing is, on the SCVMM server (where I have the VRM plugin), the imcvnmagent<date>.txt log file seems to indicate that the VRM plugin is polling IP addresses at random for a VMM, which seems strange.
Here are some lines from the log, after I restarted the service:
2016-02-25 12:16:57.737 [ERROR (0)] [THREAD(6336)] [DotNetEnv::addModule] Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope. Due to the override, your shell will retain its current effective execution policy of Bypass. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more information please see "Get-Help Set-ExecutionPolicy".
2016-02-25 12:16:57.737 [ERROR (0)] [THREAD(6336)] [DotNetEnv::init] set execution policy failed!
2016-02-25 12:16:57.753 [INFO (0)] [THREAD(6336)] [DotNetEnv::init] Dotnet environment initiation has been finished
2016-02-25 12:17:01.581 [INFO (0)] [THREAD(148)] [CVNMAgentVMMPipeline::invoke] Invoke Pipeline failed, Error Info: Unable to connect to the VMM management server <first wrong IP>. The Virtual Machine Manager service on that server did not respond. (Error ID: 1602)
Verify that Virtual Machine Manager has been installed on the server and that the Virtual Machine Manager service is running. Then try to connect again. If the problem persists, restart the Virtual Machine Manager service.
2016-02-25 12:17:01.581 [INFO (0)] [THREAD(148)] [CVNMAgentVMMConn::connect] ><><><><><><><><><><><><><><><><><><><><><>time:11000
2016-02-25 12:17:01.581 [INFO (0)] [THREAD(148)] [CVNMAgentVMMConn::connect] Connect to VMM failed! Error: Invoke Pipeline failed, Error Info: Unable to connect to the VMM management server <first wrong IP>. The Virtual Machine Manager service on that server did not respond. (Error ID: 1602)
Verify that Virtual Machine Manager has been installed on the server and that the Virtual Machine Manager service is running. Then try to connect again. If the problem persists, restart the Virtual Machine Manager service.
2016-02-25 12:17:01.581 [INFO (0)] [THREAD(148)] [CVNMAgentConnTask::processFindVMMMsg] Open VMM connection failed!
2016-02-25 12:17:01.612 [INFO (0)] [THREAD(6524)] [CVNMAgentConnTask::processFindSingleHypervMsg] Find Single Hyperv begin, Hyperv IP: <first wrong IP>
2016-02-25 12:17:02.346 [INFO (0)] [THREAD(4060)] [CVNMAgentConnTask::processQueryAgentInfoMsg] Query Agent Info Begin.
2016-02-25 12:17:02.362 [INFO (0)] [THREAD(4060)] [CVNMAgentConnTask::processQueryAgentInfoMsg] Query Agent Info End.
2016-02-25 12:17:07.237 [INFO (0)] [THREAD(6524)] [CWMIAccess::connect] Could not connect \\<first wrong IP>\root\virtualization. Error code = 0x800706ba
2016-02-25 12:17:07.237 [INFO (0)] [THREAD(6524)] [CVNMAgentHypervConn::getHost] Connect to VIRTUAL_SPACE failed!
2016-02-25 12:17:07.237 [INFO (0)] [THREAD(6524)] [CVNMAgentConnTask::processFindSingleHypervMsg] Find Single Hyperv End!
2016-02-25 12:17:12.346 [INFO (0)] [THREAD(6520)] [CVNMAgentConnTask::processQueryAgentInfoMsg] Query Agent Info Begin.
2016-02-25 12:17:12.346 [INFO (0)] [THREAD(6520)] [CVNMAgentConnTask::processQueryAgentInfoMsg] Query Agent Info End.
2016-02-25 12:17:16.628 [INFO (0)] [THREAD(1420)] [CVNMAgentVMMPipeline::invoke] Invoke Pipeline failed, Error Info: Unable to connect to the VMM management server <second wrong IP>. The attempt to connect timed out. (Error ID: 1603)
1) Verify that <second wrong IP> is online and can be accessed from your computer.
2) If a firewall is enabled on <second wrong IP>, ensure that it is not blocking requests for TCP port 8100.
2016-02-25 12:17:16.628 [INFO (0)] [THREAD(1420)] [CVNMAgentVMMConn::connect] ><><><><><><><><><><><><><><><><><><><><><>time:30000
2016-02-25 12:17:16.628 [INFO (0)] [THREAD(1420)] [CVNMAgentVMMConn::connect] Connect to VMM failed! Error: Invoke Pipeline failed, Error Info: Unable to connect to the VMM management server <second wrong IP>. The attempt to connect timed out. (Error ID: 1603)
1) Verify that <second wrong IP> is online and can be accessed from your computer.
2) If a firewall is enabled on <second wrong IP>, ensure that it is not blocking requests for TCP port 8100.
2016-02-25 12:17:16.628 [INFO (0)] [THREAD(1420)] [CVNMAgentConnTask::processFindVMMMsg] Open VMM connection failed!
2016-02-25 12:17:16.628 [INFO (0)] [THREAD(5496)] [CVNMAgentConnTask::processFindSingleHypervMsg] Find Single Hyperv begin, Hyperv IP: <second wrong IP>
Would anyone have any ideas why PowerShell is unable to connect?
-Mika