{"id":1310,"date":"2023-12-08T22:22:14","date_gmt":"2023-12-08T21:22:14","guid":{"rendered":"https:\/\/hentati.org\/?p=1310"},"modified":"2024-01-21T12:56:44","modified_gmt":"2024-01-21T11:56:44","slug":"cleanup-esxi-from-nsx","status":"publish","type":"post","link":"https:\/\/hentati.org\/index.php\/2023\/12\/08\/cleanup-esxi-from-nsx\/","title":{"rendered":"CleanUP ESXI from NSX"},"content":{"rendered":"<p><span style=\"color: #000000;\">In our usually tasks, we can face this problem,<\/span><\/p>\n<p><span style=\"color: #000000;\">ESXI not removed properly from NSX-T, so when we gp to physical adapters, we show that vmnic still connected to VDS of NSX-T<\/span><\/p>\n<p><span style=\"color: #000000;\">And to cleanUP ESXI we have to follow theses steps :\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1311\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture0.jpg\" alt=\"\" width=\"1855\" height=\"574\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture0.jpg 1855w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture0-300x93.jpg 300w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture0-1024x317.jpg 1024w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture0-768x238.jpg 768w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture0-1536x475.jpg 1536w\" sizes=\"(max-width: 1855px) 100vw, 1855px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\">Connect on ssh and tape this command to show VMKernel : esxcfg-vmknic<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1312\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture1.jpg\" alt=\"\" width=\"1461\" height=\"266\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture1.jpg 1461w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture1-300x55.jpg 300w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture1-1024x186.jpg 1024w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture1-768x140.jpg 768w\" sizes=\"(max-width: 1461px) 100vw, 1461px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\">We have also tape this command to show all VDS and VSS connected to our ESXI : esxcfg-vswitch<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1313\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture2.jpg\" alt=\"\" width=\"1304\" height=\"531\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture2.jpg 1304w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture2-300x122.jpg 300w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture2-1024x417.jpg 1024w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture2-768x313.jpg 768w\" sizes=\"(max-width: 1304px) 100vw, 1304px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\">We can now show vmnic conf : nsxdp-cli<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1314\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture3.jpg\" alt=\"\" width=\"1411\" height=\"424\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture3.jpg 1411w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture3-300x90.jpg 300w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture3-1024x308.jpg 1024w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture3-768x231.jpg 768w\" sizes=\"(max-width: 1411px) 100vw, 1411px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\">We can now begin cleaning by taping this command : vsipioctl<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1315\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture4.jpg\" alt=\"\" width=\"1311\" height=\"136\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture4.jpg 1311w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture4-300x31.jpg 300w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture4-1024x106.jpg 1024w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture4-768x80.jpg 768w\" sizes=\"(max-width: 1311px) 100vw, 1311px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\">we have to stop the netopad service :<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1316\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture5.jpg\" alt=\"\" width=\"835\" height=\"230\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture5.jpg 835w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture5-300x83.jpg 300w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture5-768x212.jpg 768w\" sizes=\"(max-width: 835px) 100vw, 835px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\">and delete nsx, nsxcli command and del nsx :<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1317\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture6.jpg\" alt=\"\" width=\"1445\" height=\"607\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture6.jpg 1445w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture6-300x126.jpg 300w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture6-1024x430.jpg 1024w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture6-768x323.jpg 768w\" sizes=\"(max-width: 1445px) 100vw, 1445px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\">In this step, we remove all vmk NSX :<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1318\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture7.jpg\" alt=\"\" width=\"1029\" height=\"83\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture7.jpg 1029w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture7-300x24.jpg 300w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture7-1024x83.jpg 1024w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture7-768x62.jpg 768w\" sizes=\"(max-width: 1029px) 100vw, 1029px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\">When we finish, we can show again vswitch, we can notice that VDS NSX-T are gone :<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1319\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture8.jpg\" alt=\"\" width=\"1079\" height=\"370\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture8.jpg 1079w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture8-300x103.jpg 300w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture8-1024x351.jpg 1024w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture8-768x263.jpg 768w\" sizes=\"(max-width: 1079px) 100vw, 1079px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\">and also vmnic are cleaned-UP<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1320\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture9.jpg\" alt=\"\" width=\"1444\" height=\"187\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture9.jpg 1444w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture9-300x39.jpg 300w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture9-1024x133.jpg 1024w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture9-768x99.jpg 768w\" sizes=\"(max-width: 1444px) 100vw, 1444px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\">Also on vCenter view, ESXI is clean and NSX-T in no longer shown !<\/span><\/p>\n<p><span style=\"color: #000000;\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1321\" src=\"http:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture10.jpg\" alt=\"\" width=\"1318\" height=\"518\" srcset=\"https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture10.jpg 1318w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture10-300x118.jpg 300w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture10-1024x402.jpg 1024w, https:\/\/hentati.org\/wp-content\/uploads\/2024\/01\/Capture10-768x302.jpg 768w\" sizes=\"(max-width: 1318px) 100vw, 1318px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our usually tasks, we can face this problem, ESXI not removed properly from NSX-T, so when we gp to physical adapters, we show that vmnic still connected to VDS &#8230;<\/p>\n","protected":false},"author":1,"featured_media":1424,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/1310"}],"collection":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/comments?post=1310"}],"version-history":[{"count":2,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/1310\/revisions"}],"predecessor-version":[{"id":1412,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/1310\/revisions\/1412"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/media\/1424"}],"wp:attachment":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/media?parent=1310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/categories?post=1310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/tags?post=1310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}