VMware Cloud Community
insearchof
Expert
Expert
Jump to solution

How to remove Virtual Switch After Migrating All Hosts and VMs to a Dswitch

Vmware vsphere 6.7  ESXI 6.5

I just with the help of you guys setup my first Dswitch.

I migrated all VMs and host to the new Dswitch I called Management and the Port named Primary

Now when I look at my Hosts I see a Distributed Switch listed

The old Virtual Switches are still there and show no network adapters assigned.

But I am unable to remove the virtual switches

When I go to my DataCenter and select Networks I see the old networks listed   VM Network and VM Network HA

They both show all the Hosts still listed and the VM Network shows 3 of my 7 VM's listed,

Even tho I migrated all them to the DSwitch

Any ideas on how I can remove the virtual switches?  My thoughts are I can not remove them until I get all the hosts and VM off   but how do I do that

They all show on the Distributed Switch and Port

Thank yoy

Tom

Reply
0 Kudos
1 Solution

Accepted Solutions
a_p_
Leadership
Leadership
Jump to solution

Ok, that helps. I'd expect the standard vSwitches to disappear once the last snapshot has been deleted. This will also clear the host association.

André

View solution in original post

Reply
0 Kudos
6 Replies
a_p_
Leadership
Leadership
Jump to solution

Such ghost vSwitches and/or portgroups are often caused by VMs with active snapshots that were created while the respective portgroup was still assigned. Once the snapshots are deleted, the port groups should either disapear by themselves, or you should be able to delete them.


André

Reply
0 Kudos
insearchof
Expert
Expert
Jump to solution

Yes the 3 vms left are replica VMs from veeam    I deleted the snapshots and then the VM Network disappeared from the VM

2 other VMs also are the same.

What about the HOSTs how do I remove them from the VM Networks?  Or will they also disappear after all the VMs are off?

Thanks

Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

What about the HOSTs how do I remove them from the VM Networks?

What exactly do you mean? Do you still have VMkernel port groups on standard vSwitches?

Maybe a screen shot will help?

André

Reply
0 Kudos
insearchof
Expert
Expert
Jump to solution

From the vcenter

pastedImage_0.png

From one of the hosts

pastedImage_1.png

from metworks

pastedImage_2.png

from ESXI Host

pastedImage_3.png

You need more let me know

Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

Ok, that helps. I'd expect the standard vSwitches to disappear once the last snapshot has been deleted. This will also clear the host association.

André

Reply
0 Kudos
insearchof
Expert
Expert
Jump to solution

Yes

After I deleted all the snapshots

I was able to remove the virtual switches from each host.

Thank you for all your help

Reply
0 Kudos