How does a Microsoft System Center 2012 Virtual Machine Manager SP1 Beta agent get pushed out to a server?

We all know how simple it is to deploy a VMM agent to a server using the VMM console but what actually happens behind the scenes?  Hopefully this blog will try to explain that along with enough information to troubleshoot any issues you may be having.  In an controlled environment the following items were used to document this test:

  • Microsoft System Center 2012 Virtual Machine Manager SP1 Beta Management/Console Server.  This server is virtualized. 
  • Microsoft Windows 2012 Standard server.  This is a fresh install, joined to the domain, with no other software installed.  This server is virtualized and is the test server.
  • Process Monitor v 3.03 ( http://technet.microsoft.com/en-us/sysinternals/bb896645 )

Using Process Monitor I excluded all of the currently running processes on the test server.  I then pushed out the agent to the test server that I’ll be using as a library server.  Below are the command lines that I believe are all related to installing the VMM agent from the VMM server.  I’m not going to describe what each command line does.  If you’re at this page you have a pretty good clue what is going on.  If not search for keywords using Bing

C:Windowssystem32msiexec.exe /V

C:WindowsmsiInstaller.exe /install WSMANPORT=5985 BITSPORT=443 REBOOT=ReallySuppress 

C:WindowsVCRedist.exe /Q

c:7cd7f6dd8aa5bd9040f92c5dd2Setup.exe  /Q

C:WindowsSystem32MsiExec.exe -Embedding C1A486DC5357B1B729A4C586C4516646 M GlobalMSI0000

C:Windowssyswow64MsiExec.exe -Embedding F5D4D7AAAD71DDDF4724511715851B03 M GlobalMSI0000

"C:WindowsSysWOW64wbemmofcomp.exe" "C:Program FilesMicrosoft System Center 2012Virtual Machine ManagersetupVMMAgent.mof"

"C:WindowsSysWOW64wbemmofcomp.exe" "C:Program FilesMicrosoft System Center 2012Virtual Machine ManagersetupVMMVirtualization.mof"

"C:WindowsSysWOW64wbemmofcomp.exe" "C:Program FilesMicrosoft System Center 2012Virtual Machine ManagersetuplanSanDeployment.mof"

"C:WindowsSysWOW64wbemwmic.exe" /NAMESPACE:rootwmi class MSFC_FibrePortNPIVMethods DELETE 

"C:WindowsSysWOW64wbemwmic.exe" /NAMESPACE:rootwmi class MSFC_FibrePortNPIVAttributes DELETE
 
"C:WindowsSysWOW64wbemwmic.exe" /NAMESPACE:rootwmi class MSFC_VirtualFibrePortAttributes DELETE

"C:WindowsSysWOW64wbemwmic.exe" /NAMESPACE:rootwmi class MSFC_NPIVLUNMappingInformation DELETE 

"C:WindowsSysWOW64wbemmofcomp.exe" "C:Program FilesMicrosoft System Center 2012Virtual Machine ManagersetupNPIV.mof"

C:Windowssystem32PkgMgr.exe /iu:LightweightServer /quiet /norestart

"C:Windowssystem32dism.exe" /online /quiet /norestart /enable-feature /ignorecheck /featurename:"LightweightServer"

C:WindowsTEMP945178FE-ACA5-4159-AD31-33567C8E7A94dismhost.exe {8C47F553-4E05-4A06-BAAC-22E0605B1535}

C:WindowsservicingTrustedInstaller.exe

C:Windowswinsxsamd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.16384_none_622908ad510eb05bTiWorker.exe -Embedding

C:Windowssystem32vssvc.exe

C:Windowssyswow64lodctr.exe "/m:C:Program FilesMicrosoft System Center 2012Virtual Machine Managerbinscperfprovider.man"

"C:WindowsSysWOW64wbemwmic.exe" /NAMESPACE:rootvirtualizationv2 class Msvm_EthernetSwitchPortSCVMMSettingData DELETE
 
"C:WindowsSysWOW64wbemmofcomp.exe" "C:Program FilesMicrosoft System Center 2012Virtual Machine Managersetupscvmmswitchportsettings.mof"

"C:WindowsSysWOW64netsh.exe" advfirewall firewall add rule name="HTTPS" action=allow dir=In protocol=TCP localport=443

"C:WindowsSysWOW64netsh.exe" advfirewall firewall add rule program="C:Program FilesMicrosoft System Center 2012Virtual Machine ManagerbinvmmAgent.exe" name=VMMAgent dir=in action=allow

"C:WindowsSysWOW64netsh.exe" advfirewall firewall add rule name=HTTP action=allow dir=In protocol=TCP localport=5985

"C:Program FilesMicrosoft System Center 2012Virtual Machine ManagerbinvmmAgent.exe"

The command lines below MIGHT be used to clean up the server once the VMM agent has been pushed out by the VMM server but I’m not 100% sure. 
C:WindowsSystem32vdsldr.exe -Embedding

C:WindowsSystem32vds.exe

C:Windowssystem32wbemWmiApSrv.exe

C:Windowssystem32lpremove.exe

C:Windowssystem32mcbuilder.exe

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s