Installing the VDDK
Package
The VDDK is packaged as a compressed archive
for Windows 64-bit and for Linux 64-bit. The VDDK packages include the
following components:
- Header filesvixDiskLib.handvm_basic_types.hin theincludedirectory.
- Function libraryvixDiskLib.lib(Windows) orlibvixDiskLib.so(Linux) in thelibdirectory.
- HTML reference documentation in thedocdirectory and sample program indoc/samples.
In the VDDK 5.5
release, VMware discontinued the Windows installer and 32-bit executables for
Windows and Linux. The VDDK is available for 64-bit systems only.
To install the package on Windows:
- On the Download page, choose the.zipfile for Windows and download it to your development system.
- Place the.zipfile in a folder underProgram Files– you can choose the name – and unpack it:cd C:\Program Files\VMware\VDDK670 unzip VMware-vix-disklib-*.zip
- Go to thebinsubfolder, locate thevstor2install.batscript, and double-click to run it. The batch script should be run in place so that the current directory for execution is thebinsubfolder. By running it, you implicitly accept the VMware license terms.Ifvstor2is already installed on a backup proxy, you should first uninstall it withvstor2uninstall.bat(from its corresponding VDDK version) then run the new install script.
- Edit the Windows registry withregeditand check for the following key. If this key exists from a previous VDDK install, right-click to delete it. Add a registry entry with the following key:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VMware, Inc.\VMware Virtual Disk Development KitFor convenience you might want to edit the WindowsPathenvironment to include the VDDK installation folder,C:\Program Files\VMware\VDDK550\binin the example above.
To Install the package on Linux:
- On the Download page, choose the binarytar.gzfor 64-bit Linux.
- Unpack the archive withtarto create thevmware-vix-disklib-distribsubdirectory.$ tar xvzf VMware-vix-disklib-*.tar.gz
- Change to the newly created directory to see its subdirectories:$cd vmware-vix-disklib-distrib; lsbin64 doc FILES include lib32 lib64Thebin64subdirectory contains a reporting program and virtual disk manager. License terms are in thedoc/EULAfile. The sample program is underdoc/samples. Header files in theincludesubdirectory are for compiling your VDDK applications. Normally thelib64components are installed under/usr/lib,/usr/lib/vmware-vix-disklib/lib64for instance.
- Install components as needed. You might want to edit yourLD_LIBRARY_PATHenvironment to include the library installation path. Alternatively, you can add the library location to the list in/etc/ld.so.confand runldconfigas the superuser.