Category Archives: Virtualisation

GhettoVBC, ESXi 5.5 & Crontab

# vi /etc/rc.local.d/local.sh Make the contents something similar to the following… #!/bin/sh # local configuration options # Note: modify at your own risk! If you do/use anything in this # script that is not part of a stable API (relying on files to be in # specific places, specific tools, specific output, etc) there is… Read More »

FreeBSD & vmtools

https://www.vmware.com/support/ws55/doc/ws_newguest_tools_freebsd.html http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=10185 Click VM -> Guest -> Install / Upgrade VMware Tools (which inserts the virtual CD) # mkdir /mnt/cdrom # mount -t cd9660 /dev/cd0 /mnt/cdrom # cd /tmp/ # tar zxpf /mnt/cdrom/vmware-freebsd-tools.tar.gz # umount /mnt/cdrom # cd vmware-tools-distrib # ./vmware-install.pl If compat6x is not installed you’ll receive the following error once /usr/local/bin/vmware-config-tools.pl is run for you… The… Read More »

Copying Guests or Moving HD’s between ESXi hosts

To copy a guest between ESXi hosts you can use SCP. # scp -rC /vmfs/volumes/datastoreABC/GuestXYX root@newesxihost:/vmfs/volumes/datastoreEFG/ Note 1: SSH is required to be running on the destination server and highly likely to be require on the source server unless you’re issuing the SCP command from the console. the -C compresses the transfer and in my experience… Read More »

Renaming virtual disks

SSH to server, CD to directory disk is held in. vmkfstools -E ‘examplevm.vmdk’ ‘examplevm-renamed.vmdk’ eg vmkfstools -E Windows\ 2008-000001.vmdk Clubhouse-HD1.vmdk May be wise to delete any snapshots associated with the disk first?