{"id":592,"date":"2022-12-17T10:48:09","date_gmt":"2022-12-17T15:48:09","guid":{"rendered":"https:\/\/carminebufano.com\/?p=592"},"modified":"2022-12-17T10:50:35","modified_gmt":"2022-12-17T15:50:35","slug":"how-to-manually-remove-vmware-nsx-t-components-from-an-esxi-host","status":"publish","type":"post","link":"https:\/\/carminebufano.com\/index.php\/2022\/12\/17\/how-to-manually-remove-vmware-nsx-t-components-from-an-esxi-host\/","title":{"rendered":"How to Manually Remove VMware NSX-T Components from an ESXi Host"},"content":{"rendered":"\n<p>A lab is very dynamic by nature. In stark contrast, data center infrastructure is engineered to be as static as possible once it is configured. So naturally when you have a data center lab you it&#8217;s only a matter of time before you come across weird anomalies just from the act of constantly making configuration changes, version updates, bringing systems online, taking systems offline&#8230; you get the picture.<\/p>\n\n\n\n<p> I switched NSX network virtualization versions so many times that weird artifacts like N-VDS switches would not go away even when deleted. As I poked around the esxi hosts from a shell I even saw remnants of NSX-V which I deleted years ago!  It was time to clear out all of my vSphere hosts of all things NSX.<\/p>\n\n\n\n<p>So my specific situation is that my NSX-T unified manager failed along with many edge nodes. I was not able to uninstall from the NSX-T user interface. Instead I logged into each ESXi host individually and did the following:<\/p>\n\n\n\n<p>Its actually quite easy. <\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>SSH into your first host.<\/li>\n\n\n\n<li>Put the host in maintenance mode.<\/li>\n\n\n\n<li>List all NSX, NSX-T related files with this command.\n<ul class=\"wp-block-list\">\n<li><strong><code>esxcli software vib list | grep -E 'nsx|vsipfwlib'<\/code><\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If there are still any VMs attached to any NSX networks, detach them in vcenter.<\/li>\n\n\n\n<li>Delete all NSX or NSX-T packages and files with this command\n<ul class=\"wp-block-list\">\n<li><strong><code>nsxcli -c del nsx<\/code><\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>A warning will pop up asking that you check to make sure no NSX networks are still attached to a vm &amp; maintenance mode.<\/li>\n\n\n\n<li>type yes and hit return.<\/li>\n\n\n\n<li>after about 30 seconds all NSX networks are gone from the host and if you re-run the command in step 3 nothing will show up.<\/li>\n\n\n\n<li>***NOTE you may have to wait another minute for all of the packages to be removed before running the command in step 3 again.<\/li>\n<\/ol>\n\n\n\n<p>You will have to log into each of your hosts one by one and repeat this process, but it does work cleanly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A lab is very dynamic by nature. In stark contrast, data center infrastructure is engineered to be as static as possible once it is configured. So naturally when you have a data center lab you it&#8217;s only a matter of time before you come across weird anomalies just from the act of constantly making configuration&hellip; <a class=\"read-more\" href=\"https:\/\/carminebufano.com\/index.php\/2022\/12\/17\/how-to-manually-remove-vmware-nsx-t-components-from-an-esxi-host\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[15],"tags":[],"class_list":["post-592","post","type-post","status-publish","format-standard","hentry","category-walkthroughs"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":265,"url":"https:\/\/carminebufano.com\/index.php\/2017\/10\/20\/vmware-nsx\/","url_meta":{"origin":592,"position":0},"title":"VMware NSX","author":"Carmine Bufano","date":"October 20, 2017","format":false,"excerpt":"","rel":"","context":"In &quot;Walkthroughs&quot;","block_context":{"text":"Walkthroughs","link":"https:\/\/carminebufano.com\/index.php\/category\/walkthroughs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":390,"url":"https:\/\/carminebufano.com\/index.php\/2020\/11\/18\/how-to-install-a-multi-node-openstack-cloud-using-rdo-packstack-and-centos-8\/","url_meta":{"origin":592,"position":1},"title":"How to install a multi-node Openstack cloud using RDO Packstack and Centos 8","author":"Carmine Bufano","date":"November 18, 2020","format":false,"excerpt":"This multi-part video is a walk through on installing a two node Openstack Ussuri cluster nested on VMware esxi. It also makes use of VMware NSX for the Management and public networks. A full write up and Part 2 (the actual install and configuration) is coming in the am. https:\/\/youtu.be\/RpSTai3korg","rel":"","context":"In &quot;Walkthroughs&quot;","block_context":{"text":"Walkthroughs","link":"https:\/\/carminebufano.com\/index.php\/category\/walkthroughs\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/RpSTai3korg\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":619,"url":"https:\/\/carminebufano.com\/index.php\/2023\/11\/16\/vmware-esxi-8-0-doesnt-recognize-network-card-when-run-nested-in-kvm-here-is-the-solution\/","url_meta":{"origin":592,"position":2},"title":"VMWARE ESXi 8.0  doesn\u2019t recognize network card when run nested in KVM. Here is the solution","author":"Carmine Bufano","date":"November 16, 2023","format":false,"excerpt":"In QEMU version 4.1.0 Options add: -net nic, model-e1000e","rel":"","context":"In &quot;Walkthroughs&quot;","block_context":{"text":"Walkthroughs","link":"https:\/\/carminebufano.com\/index.php\/category\/walkthroughs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":428,"url":"https:\/\/carminebufano.com\/index.php\/2021\/01\/30\/install-virtual-box-on-ubuntu-16-04-on-a-digitalocean-droplet\/","url_meta":{"origin":592,"position":3},"title":"How to Install Oracle Virtual Box on Ubuntu 16.04 on a DigitalOcean Droplet","author":"Carmine Bufano","date":"January 30, 2021","format":false,"excerpt":"I wanted to circumvent my residential FIOS with my one dynamic public ip in my home lab without upgrading to a commercial account with Verizon. Right now I'm enjoying 1Gig up and down. One look at commercial prices and its a small fortune for static ip's and the same residential\u2026","rel":"","context":"In &quot;openvswitch&quot;","block_context":{"text":"openvswitch","link":"https:\/\/carminebufano.com\/index.php\/category\/openvswitch\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":123,"url":"https:\/\/carminebufano.com\/index.php\/2014\/11\/27\/real-world-application-of-gre-encapsulation-between-mixed-hypervisors-on-disjoint-networks-part-1\/","url_meta":{"origin":592,"position":4},"title":"Real World Application of GRE and VXLAN Encapsulation between Mixed Hypervisors on Disjoint Networks PART-1.","author":"Carmine Bufano","date":"November 27, 2014","format":false,"excerpt":"","rel":"","context":"In &quot;CentOS&quot;","block_context":{"text":"CentOS","link":"https:\/\/carminebufano.com\/index.php\/category\/centos\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":524,"url":"https:\/\/carminebufano.com\/index.php\/2022\/04\/01\/qnap-nas-issue-dns-is-unable-to-resolve-hosts-how-to-fix-dns-issues-on-qnap-nas\/","url_meta":{"origin":592,"position":5},"title":"QNAP NAS Issue DNS is Unable to Resolve Hosts. How to Fix DNS Issues on QNAP NAS","author":"Carmine Bufano","date":"April 1, 2022","format":false,"excerpt":"This one started after a firmware update. Until QNAP fixes the firmware do this: SSH into the nas and change \/etc\/resolve.conf from \u2018nameserver 127.0.1.1\u2019 change \u2018127.0.1.1\u2019 to your DNS server. If you are unsure what you dns server is, it is most likely your default gateway if you are a\u2026","rel":"","context":"In &quot;Walkthroughs&quot;","block_context":{"text":"Walkthroughs","link":"https:\/\/carminebufano.com\/index.php\/category\/walkthroughs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/p70MUT-9y","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/comments?post=592"}],"version-history":[{"count":3,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/592\/revisions"}],"predecessor-version":[{"id":595,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/592\/revisions\/595"}],"wp:attachment":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/media?parent=592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/categories?post=592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/tags?post=592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}