Ive been playing with converting some of our physical servers into virtual machines lately using the System Center Virtual Machine Manager. its actually surprisingly easy! but occasionally on some of our web servers i would get the following errors:
Error (3154)
An internal error has occurred trying to contact an agent on theserver.
(Internal error code: 0x8099319E)
Recommended Action
Ensure the agent is installed and running. Ensure the WMI service is installed and running, then restart the agent.
and
Error (2910)
VMM does not have appropriate permissions to access the resource on theserver.
(Access is denied (0×80070005)
Recommended Action
Ensure that Virtual Machine Manager has the appropriate rights to perform this action.
It turned out this was due (for the most part) to port 443 being used by apache and other programs, If anything is listening on 443 it will throw a wrench into the P-V process. so you can try killing apache and all, and sometimes that works. i killed everything listening on port 443 then ran a “NETSTAT -ANB” to see if anything else was listening, came up that nothing was. so i ran it again and it failed. If your experiencing anything similar here is the solution:
1. Open Regedit.exe. on the physical machine (Not the SCVMM server)
2. Navigate to the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft System Center Virtual Machine Manager Server\Setup
3. Change the DWORD value “P2VBITSTcpPort” to a port number less than 32768. (i used 32485, but aslong as its a unused port you’ll be fine)
4. Restart the Virtual Machine Manager P2V Agent service.
5. Retry the job on the SCVMM server
That will change the default port that the Virtual Machine Manager P2V agent uses. If you have any questions let me know! Hope this helps!
