{"id":3479,"date":"2018-04-25T20:14:38","date_gmt":"2018-04-25T19:14:38","guid":{"rendered":"http:\/\/www.edwardsd.co.uk\/work\/?p=3479"},"modified":"2018-05-02T19:57:22","modified_gmt":"2018-05-02T18:57:22","slug":"vmware-esx-6-0-to-6-5-upgrade-vsphere-cli-commands","status":"publish","type":"post","link":"https:\/\/www.edwardsd.co.uk\/work\/2018\/04\/vmware-esx-6-0-to-6-5-upgrade-vsphere-cli-commands\/","title":{"rendered":"VMware ESX 6.0 to 6.5 Upgrade | vSphere CLI commands"},"content":{"rendered":"<p>I&#8217;ve been working on a project to upgrade vCentre from 6.0 to 6.5. This meant that multiple Dell (R530, R630, R730) hosts required an update of ESX (using Update Manager). Unfortunately these upgrades failed (first time around) due to the custom <a href=\"https:\/\/goo.gl\/wW3Vfq\">VIBs<\/a> within previous Dell Customized Images of ESXi conflicting with native drivers within ESX6.5.&nbsp;Below is the cheat-sheet of commands to remove these.&nbsp;<\/p>\n<p>vSphere CLI commands. These can be executed by enabling SSH on ESX host and connecting via <a href=\"https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html\">Putty<\/a><\/p>\n<p><strong>List VIBs (Matching &#8220;QLC&#8221;)<\/strong><\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">esxcli software vib list | grep QLC<\/pre>\n<p><strong>List VIBs (All)<\/strong><\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">esxcli software vib list<\/pre>\n<p><strong>List VIBs (Network) (Check you don&#8217;t disconnect yourself)<\/strong><\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">esxcli network nic list<\/pre>\n<p><strong>Remove VIBs (example scsi-mtip32xx-scsi)<\/strong><\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">esxcli software vib remove -n scsi-mtip32xx-scsi<\/pre>\n<p><b>Host Maintenance&nbsp;Mode<\/b><\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">esxcli system maintenanceMode set --enable true<\/pre>\n<p><strong>Host Reboot (Needs to be in maintenance mode)<\/strong><\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">esxcli system shutdown reboot --reason Upgrades<\/pre>\n<p><strong>Notes:&nbsp;<\/strong>The vSphere CLI has been superseded by PowerCLI. PowerCLI is distributed as a Windows PowerShell snapin (PowerCLI 6.0 introduced PowerShell module), and includes over 500 PowerShell cmdlets for managing and automating vSphere and vCloud, along with documentation and samples.&nbsp;<\/p>\n<p><strong>Reference:<\/strong>&nbsp;https:\/\/docs.vmware.com\/en\/VMware-vSphere\/5.5\/com.vmware.vsphere.upgrade.doc\/GUID-7FFEBD91-5D82-4E32-93AB-F10D8BFFECAA.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been working on a project to upgrade vCentre from 6.0 to 6.5. This meant that multiple Dell (R530, R630, R730) hosts required an update of ESX (using Update Manager). Unfortunately these upgrades failed (first time around) due to the custom VIBs within previous Dell Customized Images of ESXi conflicting with native drivers within ESX6.5.&nbsp;Below [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"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":[21,30,33],"tags":[],"class_list":["post-3479","post","type-post","status-publish","format-standard","hentry","category-code","category-powershell","category-vmware"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pOPt8-U7","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/3479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/comments?post=3479"}],"version-history":[{"count":7,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/3479\/revisions"}],"predecessor-version":[{"id":3500,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/3479\/revisions\/3500"}],"wp:attachment":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/media?parent=3479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/categories?post=3479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/tags?post=3479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}