In a previous post: http://rageweb.info/2011/07/26/patching-esxi/, I documented how to do updates to ESXi 4.x. This was well and great, but ESXi 5.0 is the new hotness. Luckily, everything has changed…. again.
- First step is to update your CLI -> http://www.vmware.com/support/developer/vcli/
- Next, you have to upload your patches to the box. Previously we tried to avoid doing this, but now its mandatory. Use the datastore’s built in GUI (vSphere) to do this.
- Put your server into Maintenance Mode (it will more than likely need a reboot anyways)
- Run the command (from C:\Program Files (x86)\VMware\VMware vSphere CLI\bin):
esxcli --server=<ip> --username=root --password=<password> software sources vibupdate –depot=/vmfs/volumes/<datastore>/<patch>.zip
UPDATE: if you are on ESXi 5.1, you DONT put ‘sources’ in the update line.
Most of this information was gained from here, and was a big help: http://communities.vmware.com/people/vmroyale/blog/2011/09/15/updating-esxi-5–single-use-esxcli-how-to