For my work I do a lot of VMware demo’s in the field, where sometimes there is no connection to the internet available for remote demo’s, so I have to run demo’s from my notebook.
On my windows notebook I run VMware Workstation, and on the VM in VMware Workstation I run VMware ESXi 5 with a few VM images on there. (VM Nesting) (It is still amazing to see this working smoothly!)
Here is an easy step by step guide, how you can update this ESXi 5 host to the latest version…
1: Start your VMware Hypervisor EXSi 5 like you normal do, and connect to this host with your vSphere Client.
2: Switch the host to maintenance mode.
3: Install the needed patches (they can be found here: http://www.vmware.com/patchmgr/download.portal ) on one of you datastore’s in a folder called patch (in my case the Datastore is called Backup
4: goto the Configuration tab of your host, select Security Profile (under Software in the left) and select the Services Properties in the upper right of your screen.
5: Select ESXi Shell and SSH and start these Services with the Start Service command button under Options…
make sure (just as on the screen both services are running(!)
6: Start PuTTY (you can find it here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
and login as the root to this host…
now run the command:
esxcli software vib update –depot /vmfs/volumes/[Datastorename]/[patchfilename].zip
(note: please be aware of the double ( – -) before depot)
7: be patient(!) this can take some minutes(!) and repeat this for all the patch zip files (make sure you do this in the released order…
8 close puTTY, delete the patch directory from the datastore, reboot the host. When the host is back, exit the maintenance mode and you are done!
your host is running the latest patches