User Tools

Site Tools


upgrade_esxi_hosts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
upgrade_esxi_hosts [2019/03/02 18:50] chrisupgrade_esxi_hosts [2024/02/06 20:15] (current) admin
Line 1: Line 1:
 +****** VmWare ESXi Update ******
  
-**** VmWare ESXi Update **** 
  
 +  *   Turn on Maintenance Mode - Or you can just be sure to manually shutdown all the VMs gracefully.
  
-  - Turn on Maintenance Mode - Or you can just be sure to manually shutdown all the VMs gracefully. +  *   OPTIONAL Reboot (Pro Tip). Consider rebooting your ESXi server.
-  - OPTIONAL Reboot (Pro Tip). Consider rebooting your ESXi server. +
-  - Open an SSH session (eg. PuTTY) to your ESXi server. +
-  - esxcli network firewall ruleset set -e true -r httpClient. +
-  - esxcli software sources profile list --depot=https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-6.X +
-  - esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-8169922-standard --dry-run +
-  - esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-8169922-standard +
-  - esxcli network firewall ruleset set -e false -r httpClient +
-  - reboot+
  
 +  *   Open an SSH session (eg. PuTTY) to your ESXi server.
 +
 +   esxcli network firewall ruleset set -e true -r httpClient
 +
 +   esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6.7
 +
 +   esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-8169922-standard --dry-run
 +
 +   esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-8169922-standard
 +
 +   esxcli network firewall ruleset set -e false -r httpClient
 +
 +   reboot
 +
 +If not working try to install the ZIP file local. (check the zip-file for the current filename in profiles). Connect to the VMWare Deport on https://my.vmware.com/group/vmware/patch#search
 +
 +Than upgrade via the console with f.g.:
      
 +  esxcli software vib install -d /vmfs/volumes/datastore0/Install/ESXi670-202011001.zip 
 +
 +Replace datastore0 with the datastore where you zip file resides and replace ESXi670-202011001.zip with your patch zip file name. 
 +
 +Reboot 
 +
 +If you get messages like 
 +
 +[DependencyError]
 + VIB VMware_locker_tools-light_11.0.1.14773994-15160134 requires esx-version >= 6.6.0, but the requirement cannot be satisfied within the ImageProfile.
 +
 +De-install the VIB with the following instruction:
 +
 +esxcli software vib list | grep -i tools
 +
 +It will list every vib installed with TOOLS. In this case it will be the vile tools-light
 +
 +Remove the file with:
 +
 +esxcli software vib remove -n tools-light
 +
 +If successfully de-installed you may now try to repeat your update. 
 +
 +You also can manually upgrade tools-light by doeing
 +
 +esxcli software vib install -n tools-light -d /vmfs/volumes/Datastore/install/ESXi....your package.
 +
 +
  
  
-\\ 
 \\ \\
 **[[vmware|BACK]]** **[[vmware|BACK]]**
upgrade_esxi_hosts.1551549059.txt.gz · Last modified: 2019/03/02 18:50 by chris