The recommended volume driver for OpenStack Block Storage is the VMware vCenter VMDK driver. When you configure the driver, you must match it with the appropriate OpenStack Compute driver from VMware and both drivers must point to the same server.
In the nova.conf
file, use this
option to define the Compute driver:
compute_driver=vmwareapi.VMwareVCDriver
In the cinder.conf
file, use this
option to define the volume driver:
volume_driver=cinder.volume.drivers.vmware.vmdk.VMwareVcVmdkDriver
The following table lists various options that the
drivers support for the OpenStack Block Storage
configuration (cinder.conf
):
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
vmware_api_retry_count = 10 | (IntOpt) Number of times VMware ESX/VC server API must be retried upon connection related issues. |
vmware_host_ip = None | (StrOpt) IP address for connecting to VMware ESX/VC server. |
vmware_host_password = None | (StrOpt) Password for authenticating with VMware ESX/VC server. |
vmware_host_username = None | (StrOpt) Username for authenticating with VMware ESX/VC server. |
vmware_host_version = None | (StrOpt) Optional string specifying the VMware VC server version. The driver attempts to retrieve the version from VMware VC server. Set this configuration only if you want to override the VC server version. |
vmware_image_transfer_timeout_secs = 7200 | (IntOpt) Timeout in seconds for VMDK volume transfer between Cinder and Glance. |
vmware_max_objects_retrieval = 100 | (IntOpt) Max number of objects to be retrieved per batch. Query results will be obtained in batches from the server and not in one shot. Server may still limit the count to something less than the configured value. |
vmware_task_poll_interval = 5 | (IntOpt) The interval (in seconds) for polling remote tasks invoked on VMware ESX/VC server. |
vmware_volume_folder = cinder-volumes | (StrOpt) Name for the folder in the VC datacenter that will contain cinder volumes. |
vmware_wsdl_location = None | (StrOpt) Optional VIM service WSDL Location e.g http://<server>/vimService.wsdl. Optional over-ride to default location for bug work-arounds. |