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

How to: Extend / Expand Virtual Disk on ESX Server using GUI or command line

Today, a virtual disk of one of my virtual servers running on VMware Virtual Infrastructure 2.5 / VMware ESX Server 3.5  run out of diskspace. Why? Because 50GB are not enough to store all Patches, Microsoft Windows Server Update Service (WSUS) downloads and provides in the LAN…

Since many people asked me about how to expand or extend a virtual disk on VMware ESX Server, i decided to post quick how to / tutorial here..

First of all, always remember, doing a backup is always a good idea especially before changing a disk layout 😉

Continue reading