VMware

http://drewsrambling.blogspot.com/2008/10/esxi-copy-vm-poor-mans-template.html

http://www.slashzero.com/2008/10/how-to-thin-provision-an-exsiting-vmware-disk-on-esxi-without-virtual-center/

http://arstechnica.com/civis/viewtopic.php?f=17&t=95703

Logs:
Most of the logs are in /var/log directory. They are symbolic links to /scratch/log directory.
Main log files are hostd.log, syslog.log, auth.log, messages etc..

To thin provision / clone a disk with out vCenter server

 # vmkfstools -i /vmfs/volumes/datastore1/test-vm/test-vm.vmdk /vmfs/volumes/datastore1/test-vm/testvm-thin.vmdk -d 'thin' -a lsilogic

VMware vSphere

Consists of following:

  • ESX/ESXi server
  • VMware vCenter server
  • VMware Vsphere client
  • VMware vStorage VMFS
  • VMware vSphere web access
  • VMware Virtual SMP

Disk I/O Performance Tips

Memory Trimming

Workstation uses a memory trimming technique to return unused virtual machine memory to the host machine for other uses. While trimming usually has little impact on performance and may be needed in low memory situations, the I/O caused by memory trimming can sometimes interfere with disk-oriented workload performance in a guest.

You can disable memory trimming for a guest in the virtual machine settings editor (VM > Settings > Options > Advanced). In the Settings section of the Advanced panel, select Disable memory page trimming.

Page Sharing

VMware uses a page sharing technique to allow guest memory pages with identical contents to be stored as a single copy-on-write page. Page sharing decreases host memory usage, but consumes system resources, potentially including I/O bandwidth.

You may want to avoid this overhead for guests for which host memory is plentiful and I/O latency is important. To disable page sharing, add the following line to the virtual machine configuration (.vmx) file:

sched.mem.pshare.enable=FALSE option