~ Alvin Morales
Hi everyone, with the release System Center 2012 R2 Virtual Machine Manager Update Rollup 3 (VMM 2012 R2 UR3) the DHCP agent was updated. The most important fix in this agent is the mitigation of an issue that can cause delays of up to 45 seconds in acquiring an IP address when using private networks. You can read more about this here:
The update of the DHCP agent requires that you install it on all hosts. This can be done easily using System Center 2012 Configuration Manager but I would like to illustrate how you can accomplish this with VMM 2012 by using the Invoke-SCScriptCommand.
First, create a custom resource by adding a new folder to a library share named DHCPAGENT.cr.
Note: If you are not familiar with custom resources, review the second note in the link below for details:
Copy DHCPextn.msi from C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\SwExtn\ to the DHCPAGENT.cr folder, then refresh the library.
At this point you can right click any host and select the Run script command. In the executable program type cmd.exe, and in the parameters specify /q /c msiexec /i dhcpextn.msi. Select the resource package you created in the library and a Run As account (it is recommended that you use the same Run As account that you use to manage hosts).
If you want to run this against all hosts at the same time, you can use the sample PowerShell script below. I used get-scvmmmanagedcomputer instead of get-scvmhost to illustrate some more commandlets:
NOTE: If you do not have a specific run as account associated with your hosts, then you must replace $VMHost.RunAsAccount with a valid run as account name.
I hope this information helps you deploy this update in a quick and easy way, and special thanks to Mark Stanfill for his help in reviewing this post.
Alvin Morales | Senior IT Service Ops | Microsoft
System Center All Up: http://blogs.technet.com/b/systemcenter/
System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm
The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/