IMC
cancel
Showing results for 
Search instead for 
Did you mean: 

IMC 7.2 fails to connect to SCVMM server with Powershell "Server busy"

 
SOLVED
Go to solution
kortemi
Advisor

IMC 7.2 fails to connect to SCVMM server with Powershell "Server busy"

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
4 REPLIES
kortemi
Advisor

Re: IMC 7.2 fails to connect to SCVMM server with Powershell "Server busy"

No-one has any comments on this? Please?

BadHabit
Advisor

Re: IMC 7.2 fails to connect to SCVMM server with Powershell "Server busy"

the onyl commect I can give you is that I have exactly the same problem....

BadHabit
Advisor

Re: IMC 7.2 fails to connect to SCVMM server with Powershell "Server busy"

Does noone else have this problem?

I hoped that updating to Patch 04 of IMC would help, but the situation remains the same, server busy....

kortemi
Advisor
Solution

Re: IMC 7.2 fails to connect to SCVMM server with Powershell "Server busy"

Well, for anyone else out there that has been having this problem, I am happy to let you know that this has been solved.

And it was a bug in the IMC product: My target SCVMM server was running Windows Server 2012 R2, and apparently that was not supported (though this was NOT mentioned anywhere in the documentation, or online).

By upgrading to 7.2 E0304P06 the problem was solved, and the added support for Windows Server 2012 R2 was mentioned in the release notes.

So, if you are having the same problem, don't waste time trying to solve this until you've upgraded.