I have the free version of VMware ESXi 5 installed and would like to apply the latest patch, however, I can't figure out exactly how to do that. I do not have vCenter so I can't use vCenter Update Manager. Is there an alternate way to do it? I even tried the Power CLI but that wanted to connect to a vCenter server. I hope I'm just missing something obvious.
Edmund C. Greene
Systems Integrator
Information Technlogy Services
Boston College
maybe the below blog will be helpful
That worked perfectly. I was quite disappointed, however, that every tools from VMware is Windows only.
I came up with a fairly simple solution that is usable for non-VCPs in my orginization.
( this will allow for you to look in the Updates Directory to see which updates have been applied )
3. copy and paste the following code into a txt file named ApplyUpdates.sh ( Change localstore to match your local datastore name ) :
#!/bin/sh
#Apply all Updates in localstore
for file in /vmfs/volumes/localstore/Updates/*.zip
do
echo "Applying $file"
esxcli software vib install -d $file
rm $file
touch $file.txt
done
4. upload the ApplyUpdates.sh file to the Updates directory
5. You are now ready to Upgrade the host
when you are ready to update the host
upload the new patch .zip files to the Updates directory
cd /vmfs/volumes/localstore/Updates/
sh ./ApplyUpdates.sh
reboot
6. when the host finishes booting you should be running the latest version
NOTE: This method deletes the Patch files to conserve space after successfully installing, but creates a 0kb txt file with the patch's name in it's place so that you can easily verify which patches have been applied to which host.
NOTE 2: ESXi is Case-Sensitive! You will have problems if you are insensitive.
hello friend,
I am suspecting your comments "download ALL of the ESXi 5.x patches from the vmware site: http://www.vmware.com/go/downloadpatches", since the patches are cumulative, we need only the newest zip file. agree?