VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
5 Replies Last post: Jun 30, 2009 7:01 AM by maishsk  

Removing dvSwitch fails because port is in use posted: Jun 23, 2009 2:10 AM

Click to view bramvermeulen's profile Novice 25 posts since
Mar 13, 2009

Greetings,

In my testing of various set-ups with distributed virtual switch I've removed my dvSwitch from one of my hosts using the esxcfg-vswitch and esxcfg-vmknic commands.

When I check Host > Configuration > Distributed Virtual Switch there is no dvSwitch left, nor is there with esxcfg-vswitch -l. esxcfg-vmknic -l also doesn't show any vmknic's listed/connected to a dvSwitch of any kind.

However, every 3-5 minutes I get this error on the host from which the dvSwitch is removed:

Name Target Status Initiated by Requested Start Time Start Time Completed Time
Update distributed virtual port   The object or item referred to could not be found. vpxuser 23/06/2009 10:45:25 23/06/2009 10:45:25 23/06/2009 10:45:25
Create vNetwork Distributed Switch   Error during the configuration of the host: SysinfoException: Node (VSI_NODE_net_pNics_link) ; Status(bad0004)= Busy; Message= Instance(1): vmnic0 Input(3) 9e 49 32 50 0f 35 82 90-bd e3 25 c2 7b 3f 94 52 130 1705460805 vpxuser 23/06/2009 10:45:25 23/06/2009 10:45:25 23/06/2009 10:45:25


When I check on vCenter Home > Inventory > Networking > dvSwitch > Hosts I still see the host with DVS Status "Down" connected to the dvSwitch. When I then try to remove the dvSwitch I get the following error:

The resource vim.dvs.DistributedVirtualPort 101 is in use.
DVS dvSwitch port 101 is reserved by to entitiy hostesx4i.domain.root vnic vmk0, type:hostVmkVnic

When trying to delete the vmknic vmk0 from port 101 on dvSwitch using esxcfg-vmknic commands I get the error that dvSwitch doesn't exist, so it can't delete anything.

Something that might be related:
When trying to migrate a virtual machine from host1(the host that has the dvSwitch problem) to host2 validation succeeds but at around 78% I get this error: "A general system error occurred: Source detected that destination failed to resume." No other errors or notifications are shown when this happens.

Thanks in advance for any help you might be able to give.

Bram

Click to view maishsk's profile Hot Shot 189 posts since
Jun 1, 2005
Did you ever mange to solve your vmotion stops at 78% issues?
Maish
Virtualization Architect & Systems Administrator
http://technodrone.blogspot.com
Click to view maishsk's profile Hot Shot 189 posts since
Jun 1, 2005
Just as a matter of interest what were you using for shared storage for your environment - NFS?
Maish
Virtualization Architect & Systems Administrator
http://technodrone.blogspot.com
Click to view maishsk's profile Hot Shot 189 posts since
Jun 1, 2005
I had the same issue with NFS and 78%. It turned out to be a mis-configured path which was different between the two ESX hosts that is why it was failing.
Maish
Virtualization Architect & Systems Administrator
http://technodrone.blogspot.com

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities