Category Archives: Virtualisation

GhettoVBC, ESXi 5.5 & Crontab

# vi /etc/rc.local.d/ 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 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 # ./ If compat6x is not installed you’ll receive the following error once /usr/local/bin/ 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?