(DP) Support Tip: NIC is removed after restoring VM when distributed switch is used

(DP) Support Tip: NIC is removed after restoring VM when distributed switch is used

Error Message
If VM is connected to Distributed Switch , Network Interface Card is removed after restoring the VM .
The restoration finished without any error , but debugs indicate "No network card available for VM" during the restoration .

[ 99] 2020-01-20 15:09:41.780 ("/integ/vep/vepa/Plugins/Vmware/VmwareHelpers/QueryUtil.cpp $Rev$ $Date:: $:":1095)
[ 99] <<=== (7) } /* QueryUtil::getVirtualDevices */
[ 99]
[ 20] [QueryUtil::getVirtualEthernetCards] Returning:
value=(NULL)

[ 99] 2020-01-20 15:09:41.780 ("/integ/vep/vepa/Plugins/Vmware/VmwareHelpers/QueryUtil.cpp $Rev$ $Date:: $:":575)
[ 99] <<=== (6) } /* QueryUtil::getVirtualEthernetCards */
[ 99]
[ 20] [VirtualEnvironment::VirtualMachine::applyNetwork] No network card available for VM


There is an explanation about Distributed Switch in Documentation, but it's not clear .

https://docs.microfocus.com/itom/Data_Protector:2018.11/Integrate/VMware/c01-s05restore
Data Protector is unable to connect a restored virtual machine to a non-original vSphere network that uses distributed switches and is assigned such a distributed port group. In this case, after the restore, you need to manually connect the restored virtual machine to the desired network using vSphere Client.

Because the definition of Network Adapter is lost from the VM after the restoration, the VM can not connect to any network without creating new Network Adapter .

Cause
As a default , the VM will be restored to the original location .
When the VM is only connected to vSphere network that uses Distributed Switches,
the VM can not connect to the network after the restoration as described in the documentation .
That will be caused removing the Network Adapter from the VM because there is not any valid network card for the VM .


Workaround / Fix
It would be avoided by selecting another network that is not connected to Distributed Switch at the restoration .
Please try the options as described below .

Destination tab in Restore context :
1. By selecting "Datacenter" and "Host/Cluster", "Network" will become selectable .
2. Select appropriate network for the VM that is not connected to Distributed Switches

Labels (1)

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2020-02-06 07:45
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.