Category Archives: Virtualization

VirtualBox and networking between guests

For this to happen you have to enable a secondary network adapter that is set as Internal Network (make sure you assign both guests to the same Internal Network, default is “intnet”)
The next step is to enable DHCP server on that network by this command:
VBoxManage dhcpserver add –netname intnet –ip 10.0.0.100 –netmask 255.255.255.0 –lowerip 10.0.0.101 –upperip 10.0.0.150 –enable

Thin or thick provisioning?

This is good explanation why not to use thin provisioning especially in small business where we cannot afford any vm redundancy.

expected survival rate after one year:
Windows 2008 system installed on certified hardware: 98%
same system on thick provisioned eagerzeroed vmdk running on ESXi: 97%
same system on thin provisioned vmdk running on ESXi: 60%
same as before plus automatic backup by Veeam or similar: 50 %

I dont think those numbers are completely off but I dont have statistics to backup such a claim.
Continue reading Thin or thick provisioning?

VMware: I/O pass-through devices

This has to do with all sorts of backup tape drives (HP, IBM) including external ones that are not supported by VMware, but you still want to make use of them on one of your VMs.
Follow THIS article and bear in mind that you will have to restart the hypervisor once then destination VM another time.

Event 27 – e1iexpress

This issue can happen on a new physical servers with the latest ESXi 5 and virtualized Windows Server 2012. This will more likely cause a network communication havoc.
Double check the settings and make sure that none of the VMs has vNIC of “e1000”
You have to create a new one and change it to at least “e1000E” VMXNET2 (Enhanced).
For Server 2012 it should be the latest VMXNET3 really.
This article explains the differences between virual NICs.

VirtualBox 4.2.18 and EXT4

It looks like that after the latest VB update to 4.2.18 I am not able to install Windows Server 2012. The installation is stuck on “Getting files ready for installation”. Depending how big is the virtual disk it gets stuck on 47% or 57%.
The only solution was to place the virtual disk file on a partition with EXT3.
The other VMs I have are on EXT4 partition are in working order however the new ones fail to install.

VMware: vMA

What is vMA?
vMA is a Linux-based virtual machine that is pre-installed with a command-line interface and select third-party agents needed to manage your vSphere infrastructure
more
One of the examples how to utilize it is to deploy APC Powerchute agent on vMA to monitor UPS.
more

VMware: download diagnostics

The command is: vm-support
This will generate all logs and TAR-GZ them.
To download them from iESX please use the following commands:
ssh -l root 192.168.x.x vm-support -s > vm-support-192.168.x.x.tgz
wget https://root:password@10.11.12.13/cgi-bin/vm-support.cgi

Make sure SSH service is running, bu going to Advanced settings in VSphere and turning that service on.
The generation process can take up to even 10 minutes so be patient.
This is what HP or Dell will ask you to do if your hypervisor will start pink screening.