You are receiving the following errors in the UI when attempting to fail over from Recovery Site back to Protected site
ErrorSome virtual machines in the protection group could not be recovered
and the following error in the SRM history report
ErrorA specified parameter was not correct: spec.deviceChange.device.port.switchUuid. Host [Target ESXI host] is not a member of VDS [VDS-LABEL]
Site Recovery Manager 8.x
VMware Live Site Recovery 9.x
The issue is caused if the target host or target host cluster listed under SRM resource mapping is not part of Network listed in SRM network mappings
In the vmware-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 = "x.x.x.x"
--> },
--> (vmodl.KeyAnyValue) {
--> key = "dvs",
--> value = "DVS Test Network"
--> }
--> ],
--> message = "Host x.x.x.x is not a member of VDS DVS Test Network"
--> }
--> ],
--> invalidProperty = "spec.deviceChange.device.port.switchUuid"Remove protection from the Virtual Machines generating errors inside of the SRM protection Group. Once all impacted VMs are removed you can successfully re-run the Recovery Plan so it hits the complete state and all storage will be mounted up on the site correctly. Run the re-protect to ensure the direction of replication is correct.
Ensure that the VMs are listed in the Target vCenter inventory and perform "edit settings" and change the network details to make sure they have the correct networking. Upon powering up the VM you will have to manually make any IP changes needed if necessary.
Inside of SRM interface, Ensure the Resource Mappings from Protected Site to Recovery Site are correct and verify the reverse mappings are also correct.
Verify that the SRM network mappings between the Protected network and the Recovery network are also correct.