Menu Close
Settings Close

Language and Page Formatting Options

Red Hat Training

A Red Hat training course is available for Red Hat CloudForms

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:

  1. Download the required VDDK version (VMware-vix-disklib-[version].x86_64.tar.gz) from the VMware website.

    • 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 DownloadsvSphere. Select the version from the drop-down list, then click the 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.
    • See VMware documentation for information about their policy concerning backward and forward compatibility for VDDK.
  2. Download and copy the VMware-vix-disklib-[version].x86_64.tar.gz file to the /root directory of the appliance.
  3. Start an SSH session into the appliance.
  4. Extract and install the VMware-vix-disklib-[version].x86_64.tar.gz file 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/ /usr/lib/
    # ln -s /usr/lib/vmware-vix-disklib/lib64/ /usr/lib/
  5. Run ldconfig to instruct CloudForms to find the newly installed VDDK library.


    Use the following command to verify the VDDK files are listed and accessible to the appliance:

    # ldconfig -p | grep vix
  6. 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 virtual-guest profile in tuned, edit the vm.swappiness setting to 1 in the tuned.conf file from the default of vm.swappiness = 30.
  • Use the noop scheduler 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.