VDDK for vSphere 6

Most of VMware users are migrating from older versions of ESX to version 6.0, but the CFME current documentation explains only how to install SDDK on VMware 5.5

First, why do we need VDDK? Well... VDDK is used by CloudForms to "open" the VM´s virtual disk and perform tasks like SmartState Analysis.

You can find more info about VDDK in the VMware´s website: https://www.vmware.com/support/developer/vddk/

In the previous versions of VDDK there was an installer, but in version 6 there is no installer, so a bit of manual process is required.

First, you need to download the correct version for you VMware environment.

img01

In this case, 6.0.

You have to copy this file to your CFME appliance:

scp VMware-vix-disklib-6.0.0-2498720.x86_64.tar.gz root@<cfmeappliance>:/root  

In the previous version, there was an installer which simplified the installation, however, from version 6 onwards it needs to be deployed manually.

If this is a new installation of the VDDK, the steps are

  • Untar the file
  • Create the lib folder
  • Copy the files into the lib folder
  • Create the symbolic links needed by CFME
  • Load the libs
cd /root  
mkdir -p /usr/lib/vmware-vix-disklib  
tar -xvf VMware-vix-disklib-6.0.0-2498720.x86_64.tar.gz  
cd vmware-vix-disklib-distrib  
cp -r bin64 /usr/lib/vmware-vix-disklib/  
cp -r lib64 /usr/lib/vmware-vix-disklib/  
cp -r include /usr/lib/vmware-vix-disklib/  
ln -s /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so /usr/lib/libvixDiskLib.so  
ln -s /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so.6 /usr/lib/libvixDiskLib.so.6  
ldconfig  

Once you have done all these steps, you just need to verify that the libs are correctly loaded

ldconfig -p | grep vix  

If there is a previous version is installed, make sure you delete
/usr/lib/vmware-vix-disklib before you start with the installation

rm -rf /usr/lib/vmware-vix-disklib  

See you in the next post!