SRM - A specified parameter was not correct: spec.deviceChange.device.port.switchUuid
search cancel

SRM - A specified parameter was not correct: spec.deviceChange.device.port.switchUuid

book

Article ID: 312792

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptoms:
  • Test recovery in SRM fails with the error:
A specified parameter was not correct: spec.deviceChange.device.port.switchUuid
  • In the dr.log file, you see entries similar to:
--> (vmodl.fault.InvalidArgument) {
--> faultCause = (vmodl.MethodFault) null, 
--> faultMessage = (vmodl.LocalizableMessage) [
--> (vmodl.LocalizableMessage) {
--> key = "com.vmware.vim.vpxd.dvs.nonHostMember.label", 
--> arg = (vmodl.KeyAnyValue) [
--> (vmodl.KeyAnyValue) {
--> key = "host", 
--> value = "10.30.x.x"
--> }, 
--> (vmodl.KeyAnyValue) {
--> key = "dvs", 
--> value = "DVS Test Network"
--> }
--> ], 
--> message = "Host 10.30.x.x is not a member of VDS DVS Test Network"
--> }
--> ], 
--> invalidProperty = "spec.deviceChange.device.port.switchUuid"


Environment

VMware vCenter Site Recovery Manager 8.x
VMware vCenter Site Recovery Manager 6.5.x
VMware vCenter Site Recovery Manager 6.0.x

Cause


The issue is caused if the host or host cluster listed under SRM resource mapping is not part of DVS

Resolution


To resolve this issue, add the host to VDS in SRM. For more information, see the Add Hosts to a vSphere Distributed Switch section in the vSphere Networking Guide.

NOTE: Ensure network mapping is configured properly and reverse mapping is checked to perform failbacks.