Chapter 3. Additional Configuration for Appliances on VMware vSphere
3.1. Installing VMware VDDK on CloudForms
Execution of SmartState Analysis on virtual machines within a VMware environment requires the Virtual Disk Development Kit (VDDK). This version of CloudForms supports VDDK versions 6.0, 6.5, and 6.7.
To install VMware VDDK:
Download the required VDDK version (
VMware-vix-disklib-[version].x86_64.tar.gz) from the VMware website.Note
- If you do not already have a login ID to VMware, then you will need to create one. At the time of this writing, the file can be found by navigating to Drivers & Tools tab. Expand Automation Tools and SDKs, and click Go to Downloads next to the VMware vSphere Virtual Disk Development Kit version. Alternatively, find the file by searching for it using the Search on the VMware site. → . Select the version from the drop-down list, then click the
- See VMware documentation for information about their policy concerning backward and forward compatibility for VDDK.
Download and copy the
VMware-vix-disklib-[version].x86_64.tar.gzfile to the
/rootdirectory of the appliance.
- Start an SSH session into the appliance.
Extract and install the
VMware-vix-disklib-[version].x86_64.tar.gzfile using the following commands:
# cd /root # tar -xvf VMware-vix-disklib-[version].x86_64.tar.gz # cp vmware-vix-disklib-distrib/ -rf /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
ldconfigto instruct CloudForms to find the newly installed VDDK library.Note
Use the following command to verify the VDDK files are listed and accessible to the appliance:
# ldconfig -p | grep vix
- Restart the CloudForms appliance.
The VDDK is now installed on the CloudForms appliance. This enables use of the SmartState Analysis server role on the appliance.
3.2. Tuning Appliance Performance
By default, the CloudForms appliance uses the
tuned service and its
virtual-guest profile to optimize performance. In most cases, this profile provides the best performance for the appliance.
However on some VMware setups (for example, with a large vCenter database), the following additional tuning may further improve appliance performance:
When using the
tuned, edit the
tuned.conffile from the default of
vm.swappiness = 30.
noopscheduler instead. See the VMware documentation for more details on the best scheduler for your environment. See Setting the Default I/O Scheduler in the Red Hat Enterprise Linux Performance Tuning Guide for instructions on changing the default I/O scheduler.