Information Technology Reference
In-Depth Information
To correct this error, reconi gure the VM(s) to use a different distributed switch or
vSwitch, or migrate the VMs to a different host using vMotion. Then proceed with
removing the host from the distributed switch.
9. If there were no VMs attached to the distributed switch, or after all VMs are reconi gured
to use a different vSwitch or distributed switch, the host is removed.
In addition to removing individual ESXi hosts from a distributed switch, you can remove the
entire distributed switch.
Removing a Distributed Switch
Removing the last ESXi host from a distributed switch does not remove the distributed switch
itself. Even if all the VMs and/or ESXi hosts have been removed from the distributed switch,
the distributed switch still exists in the vCenter inventory. You must still remove the distributed
switch object itself.
Removing a distributed switch is possible only if no VMs have been assigned to a distrib-
uted port group on the distributed switch. Otherwise, the removal of the distributed switch is
blocked with an error message similar to the one displayed previously in Figure 5.50. Again,
you'll need to reconi gure the VM(s) to use a different vSwitch or distributed switch before the
operation can proceed. Refer to Chapter 9, “Creating and Managing Virtual Machines,” for more
information on modifying a VM's network settings.
Perform the following steps to remove the distributed switch if no VMs are using it or any of
the distributed port groups on it:
1. Launch the vSphere Web Client, and connect to a vCenter Server instance.
2. From the vSphere Web Client home screen, navigate to the Distributed Switches
inventory list.
3. Select an existing vSphere Distributed Switch in the inventory pane on the left.
4. From the Actions menu, select All vCenter Actions
Remove From Inventory.
5. The distributed switch and all associated distributed port groups are removed from the
inventory and from any connected hosts.
The bulk of the coni guration for a distributed switch isn't performed for the distributed
switch itself but rather for the distributed port groups on that distributed switch. Nevertheless,
let's i rst take a look at managing distributed switches themselves.
Managing Distributed Switches
As we stated earlier, the vast majority of the things that a VMware administrator will need to do
with a distributed switch involve working with distributed port groups. We'll discuss distrib-
uted port groups later, but now we want to point out a few things involved with managing the
distributed switch. We'll focus primarily on the functionality found on the Monitor, Manage,
and Related Objects tabs of a distributed switch in the vSphere Web Client.
We'll start with the Related Objects tab, where you can see ESXi hosts, VMs, templates, dis-
tributed port groups, and uplink groups that are connected to the selected distributed switch.
 
Search WWH ::




Custom Search