Article ID: 121739, created on May 24, 2014, last review on May 24, 2014

  • Applies to:
  • Operations Automation 5.5

Symptoms

Provider has deployed a new Hyper-V hardware node. New VM was created successfully, but the task still fails:

Last execution output   Execution of configuration script for instance with id 12109 of service with id ddc_membership_vm of instance with id 7118 of application with id 156 failed - returned value: -1 output: '' errors: 'Failed to create VM: Property 'PreventIPSpoofing' cannot be found on this object; make sure it exist
s and is settable.
At C:\Program Files (x86)\SWsoft\PEM\APS\instances\7118\scripts\createVM.ps1:12
7 char:19
+ $Msvm_SwitchPort. <<<< PreventIPSpoofing=$true
+ CategoryInfo : InvalidOperation: (:) [], ParentContainsErrorRec
ordException
+ FullyQualifiedErrorId : PropertyAssignmentException

Cause

PreventIPSpoofing is a new feature, that was implemented in "Hyper-V R2 SP1" version. There are the following technical requirements for it:

  • Windows Server 2008 R2 Service Pack 1
  • Windows Hyper-V Server 2008 R2 SP1

If task fails with "Property 'PreventIPSpoofing' cannot be found on this object", then either requirements are not met, or template, used to create a VM, is a 2008 R2 standard without SP1.

Resolution

Make sure that one of the following:

  • Windows Server 2008 R2 Service Pack 1
  • Windows Hyper-V Server 2008 R2 SP1

are installed on the Hyper-V hardware node, and that template, used to create a VM, is a based on 2008 R2 SP1.

Search Words

Hyper-V: некорректно создаются ВМ

5b048d9bddf8048a00aba7e0bdadef37 caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF