Cloudforms 5.7 and Vsphere 6 using VMware’s VDDK
How to install the VDDK in Cloudforms
An Intro: What is VDDK and what is it used for?
The Virtual Disk Development Kit (VDDK) is a library of utilities and tools that are used for VM Disk operations and analysis. Cloudforms depends on this library/ kit to run roles such as smart state analysis to assist with these operations.
That being said. I had a hard time finding clear instructions on how to install this library on cloudforms. The cloudforms 5.7 documentation also refers to the use of the older VDDK 5.5 library which will be out of date for most people which are on a 6.x Vsphere platform.
Lets get started:
The operation really is relatively painless once you have all the pieces you need to complete the task.
1) Download the tar.gz VDDK file for VDDK 6 ( I tried VDDK 6.5, but it doesnt seem to be compatible
https://code.vmware.com/web/sdk/6.0/vddk
2) Upload the tarball into your cloudforms servers that will be doing Smart Analysis operations with Vmware Infrastructure.
3) Once you get it on the server do these command line operations on the console.
Objectives are:
a) Make your library directory
b) Extract Tar file
c) Copy library files to server
d) Create Symlinks to library
e) Link them in the shared library using ldconfig
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
4) Verify your connection. After you have successfully ran ldconfig you can grep and see if those links are there using this commandldconfig -p | grep vix
Ben Tuma
Over 20 years of experience in the Information Technology field. I love technology and seeing how it changes and impacts peoples lives for the better. I have healthy appetite for innovation and problem solving.
I am sharing my knowledge and challenges in hopes to help others as we constantly face ever changes problems in IT and technology.