nerdexam
Broadcom-VMware

2V0-622D · Question #136

An administrator is trying to remove a host from a vSphere Distributed Switch named DSwitch01. The following error message is displayed: vDS DSwitch01 port 17 is still on host 192.168.100.23 connected

The correct answer is C. Migrate VM01 to another host. D. Disconnect the VM01's vNIC.. To remove a host from a vDS, all VMs with vNICs connected to that vDS on that host must either be migrated away or have their vNICs disconnected first.

Section 2 – Configure and Administer vSphere 6.5 Networking

Question

An administrator is trying to remove a host from a vSphere Distributed Switch named DSwitch01. The following error message is displayed:

vDS DSwitch01 port 17 is still on host 192.168.100.23 connected to VM01 nic=4000 type=vmVnic Which two actions can the administrator make before removing the host from the vSphere Distributed Switch? (Choose two.)

Options

  • AMigrate VM01 to DSwitch01 port 1.
  • BAdd an additional vNIC to VM01 to another vSphere Distributed Switch.
  • CMigrate VM01 to another host.
  • DDisconnect the VM01's vNIC.
  • EPlace VM01 into Maintenance Mode.

How the community answered

(69 responses)
  • A
    16% (11)
  • B
    3% (2)
  • C
    75% (52)
  • E
    6% (4)

Why each option

To remove a host from a vDS, all VMs with vNICs connected to that vDS on that host must either be migrated away or have their vNICs disconnected first.

AMigrate VM01 to DSwitch01 port 1.

Migrating to a different port on the same vDS (DSwitch01 port 1) does not remove the VM from the vDS; the host still retains an active vDS port binding and the error condition remains.

BAdd an additional vNIC to VM01 to another vSphere Distributed Switch.

Adding a second vNIC on a different vDS does not remove the existing vNIC connection on DSwitch01 port 17; two active connections would exist and the blocking port is unchanged.

CMigrate VM01 to another host.Correct

Migrating VM01 to another host moves the VM off the host being removed, which releases the vDS port binding on the source host and satisfies the requirement that no VM vNICs remain connected to the vDS on that host.

DDisconnect the VM01's vNIC.Correct

Disconnecting VM01's vNIC directly releases the vDS port (port 17) on host 192.168.100.23, eliminating the dependency that prevents host removal from DSwitch01.

EPlace VM01 into Maintenance Mode.

Maintenance Mode applies to ESXi hosts, not VMs; placing a VM into maintenance mode is not a valid operation and does not affect the VM's vNIC port binding on the vDS.

Concept tested: Removing a host from a vSphere Distributed Switch

Source: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.networking.doc/GUID-1EE72CCF-E5B2-412D-9BA1-28F1D1A4A2DA.html

Topics

#vSphere Distributed Switch#host removal#VM migration#vNIC disconnect

Community Discussion

No community discussion yet for this question.

Full 2V0-622D Practice