VMware

Install VMware vSphere ESXi Update Via Command Line



#ESXi #VMware #Update #CLI

Full steps can be found at

——————————————————————–
Downloading the Update
——————————————————————–
01. Open a web browser and navigate to
02. Register or login with an existing account
03. Search for vmware vsphere
04. Filter the results to Downloads
05. Select the result for the target version of VMware vSphere
06. Use the Select Version dropdown to set the target update version
07. Scroll down and download the VMware vSphere Hypervisor (ESXi) Offline Bundle

——————————————————————–
Applying the Update
——————————————————————–
01. Log into the VMware vSphere ESXi web UI
02. Enable the SSH service if it is not already enabled by selecting Actions ≫ Services ≫ Enable Secure Shell (SSH)
03. Select Storage from the left navigation menu
04. Click Datastore browser in the main content area ≫ Select a target Data store ≫ Click Upload ≫ Browse to and select the downloaded Offline Bundle .zip file
05. After the upload completes, connect to the ESXi host via SSH
06. Run the following commands
# put the host into maintenance mode
vim-cmd hostsvc/maintenance_mode_enter
# list datastores
ls /vmfs/volumes
# run the update, replacing the datastore name and update file name
esxcli software vib install -d “/vmfs/volumes/datastore1/ESXi670-201912001.zip”
# after the update completes, reboot the host
reboot
# once the host is back up, log back in
# take the host out of maintenance mode
vim-cmd hostsvc/maintenance_mode_exit
07. Log back into the VMware vSphere ESXi web UI
08. Verify the updated version is displayed

### Connect with me and others ###
Discord:
Twitter:

source

 

To see the full content, share this page by clicking one of the buttons below

Related Articles

Leave a Reply