Update a VMware ESX 4.1 Host

To scan for updates

esxupdate -m https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vmw-ESXi-4.1.0-metadata.zip scan

Stage updates

esxupdate -m https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vmw-ESXi-4.1.0-metadata.zip stage

Enter Maintenance Mode

vim-cmd /hostsvc/maintenance_mode_enter

Apply updates

esxupdate -m https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vmw-ESXi-4.1.0-metadata.zip update

Exit Maintenance Mode

vim-cmd /hostsvc/maintenance_mode_exit

Finally Reboot

reboot

VMware – Working with Snapshots (orphaned, broken VMDK descriptor file etc.)

Snapshots created via API (NetApp SMVI, Equallogic’s Auto-Snapshot Manager/VMware Edition, VMware VCB or VDR) occasionally get stuck. If you find an orphaned snapshot (ie – it is not listed in the snapshot manager but you can’t change the size of a vmdk / the provisioned size grayed out, or you happen to notice a -delta file where there shouldn’t be one or your scheduled monitoring tasks report an issue here are some potential fixes. Logo_VMware

Continue reading