Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all articles
Browse latest Browse all 1264

SCVMM 2012 SP1 - How DHCP Is Acting In The VM Networks?

$
0
0

Hello!

There are 2 Hyper-V hosts under the SCVMM management in the domain: W12HV01 andW12HV02. SCVMM is on the VM which resides on the W12HV01.

Problem:

When I deploy new Virtual Machine (not using template) to the VM Network it is deployed successfully only if the target host isW12HV01. This deployed VM has the both components configured correctly:

  1. IP address is correctly allocated in the SCVMM's database from the expected Pool.
  2. The IP address from Item #1 is assigned to the NIC of the VM.

If I deploy new Virtual Machine to W12HV02 host it fails Item #2:

  1. IP address is correctly allocated in the SCVMM's database from the expected Pool.
  2. The IP address from Item #1 is NOT assigned to the NIC of the VM. Instead the NIC has IPIPA address.

Research:

  1. The DHCP which assigns the correct IP Address has IP address outside of the scope of the VM Network subnet, i.e. DHCP's address is 10.0.0.1 where as the VM Network subnet is 10.10.1.0/24.
  2. DHCP server is unavailable on the W12HV02.
  3. W12HV02 is missing the following components in the "root/virtualization/v2" which W12HV01 has:
    - Msvmm_DhcpV4PortBindingOptionsPolicy
    - Msvmm_DhcpV4PortReservationPolicy
    - Msvmm_DhcpV4PortPolicy
    - Msvmm_DhcpV4PortInfo
  4. When the VM is deployed to W12HV02 the deployment fails and stops at the "Change properties of virtual machine" stage. The "Create virtual machine" job was restarted and was "Completed". In fact, the problem with the VM remained and manifested later when the IP address was failed to be assigned or I attempted to change the VM Network to which the failing VM belonged to.
  5. The following error occurs when I try to change the VM Network on the VM which is deployed on the W12HV02 host with or without VM Network setting configured.
    Error (2915)
    The Windows Remote Management (WS-Management) service cannot process the request. The object was not found on the server (w12hv02.sc.local).
    WinRM: URL: [http://w12hv02.sc.local:5985], Verb: [GET], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/virtualization/v2/Msvmm_DhcpV4PortPolicy?InstanceID=Microsoft:Definition\2C0A8F5D-4238-47FE-B96B-DA3E6CF136DA\Default]
    Unknown error (0x80338000)
    Recommended Action
    Ensure that the VMM agent is installed and running. If the error persists, restart the virtualization server (w12hv02.sc.local) and then try the operation again. This error can also happen due to an older version of the VMM agent on the virtualization server.
    Ensure that the VMM agent is upgraded to the latest version, and then try the operation again.
  6. VMM agent is running and its restart did not make any difference.
  7. Both Hyper-V hosts were built and deployed in the same manner. The only difference is that the SCVMM "sees" W12HV01 host (the working one) with the DHCP enabled in the "Network adapter details" and W12HV02 host (the failing one) with the DHCP disabled in the "Network adapter details".
  8. I can deploy the virtual machine without VM Network on the W12HV02 without any problem.
  9. During my deployment and troubleshooting I utilized the following blogs among othershttp://kristiannese.blogspot.com andhttp://itproctology.blogspot.com. Still, no success.
  10. Attempt to change the Virtual Network Adapter for "FAST Logical Switch" on W12HV02 fromStatic to DHCP and on W12HV02 from DHCPto Static resulted in the SCVMM console crash: "An unhandled Micorsoft.NET Framework exception occurred in WmmAdminUI.exe [3328]" Exception code: 0xc0000005

Question:

  1. How to get the DHCP to assign the IP address to the Virtual Machine which is hosted on the W12HV02?
  2. Is that behavior by design, when the DHCP is set only on one Hyper-V host or different Hyper-V hosts can be designated to distribute the DHCP addresses to the VMs which are placed on these Hyper-V hosts? Is there way to configure the DHCP on the Hyper-V host manually?

Thank you very much for your time and attention!


Viewing all articles
Browse latest Browse all 1264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>