You can update certain parameters in your Cinder service configuration by using the viocli update cinder command.
For more information about Cinder configuration, see the OpenStack Cinder Configuration documentation.
For more information about Cinder service configuration examples, see the OpenStack Cinder Configuration file.
conf:
backends:
nova1-10.185.245.206-vmdk-1:
backend_availability_zone: nova1
vmware_cluster_name:
type: multistring
values:
- nova.Prod.100
- nova.Prod.200
vmware_host_ip: .VCenter:vcenter1:spec.hostname
vmware_host_password: .VCenter:vcenter1:spec.password
vmware_host_username: .VCenter:vcenter1:spec.username
vmware_image_format: template
vmware_insecure: .VCenter:vcenter1:spec.insecure
volume_driver: cinder.volume.drivers.vmware.vmdk.VMwareVcVmdkDriver
vmware_adapter_type: <type-name> #available value: ide, busLogic, lsiLogicsas, paraVirtual. Recommend use paraVirtual.
vmware_tmp_dir: /tmp
vmware_snapshot_format: template
vmware_lazy_create: true
vmware_disable_backing_ref_cache: false
vmware_datastore_regex:
vmware_verify_requirements: true
vmware_datastore_cluster:
vmware_sdrs_default_cluster_name:
vmware_snapshot_quiesce: true
vmware_image_transfer_timeout_secs: 7200
cinder:
DEFAULT:
default_availability_zone: nova1
enabled_backends: nova1-10.185.245.206-vmdk-1
vmware_adapter_type: <type-name> #available value: ide, busLogic, lsiLogicsas, paraVirtual. Recommend use paraVirtual.
default_volume_type: __DEFAULT__
default_availability_zone:
storage_availability_zone: nova
backup_driver: cinder.backup.drivers.nfs.NFSBackupDriver
backup_mount_options: vers=4
backup_share: nfs-host:path
backup_workers: 1
backup_executor_thread_pool_size: 4
backup_rpc_response_timeout: 600
backup_file_size: 1999994880
backup_sha_block_size_bytes: 32768
backup_compression_algorithm: zlib
rpc_response_timeout: 60
executor_thread_pool_size: 64
database:
max_pool_size: 5
manifests:
statefulset_backup: true
job_backup_storage_init: true
| Parameter | Default Value | Description |
|---|---|---|
| backend_availability_zone |
none |
Enter the availability zone for the volume backend. |
| vmware_cluster_name |
Enter the name of a vCenter compute cluster where you can create volumes. |
|
| vmware_host_ip |
none |
Enter the IP address for connecting to VMware vCenter Server. |
| vmware_host_password |
none |
Enter the password for authenticating with VMware vCenter Server. |
| vmware_host_username |
none |
Enter the username for authenticating with VMware vCenter Server. |
| vmware_image_format |
Enter the image format to use for uploading volume to the image service. |
|
| vmware_insecure |
false |
If |
| volume_driver |
cinder.volume.drivers.vmware.vmdk.VMwareVcVmdkDriver |
Enter the driver to use for volume creation. |
| vmware_adapter_type |
lsilogic |
Enter the adapter type used for attaching volumes. |
| vmware_tmp_dir |
/tmp |
Enter the directory where virtual disks are stored during volume backup and restore. |
| vmware_snapshot_format |
Enter the volume snapshot format in vCenter Server. |
|
| vmware_lazy_create |
true |
If |
| vmware_disable_backing_ref_cache |
false |
If |
| vmware_datastore_regex |
none |
Enter the regular expression pattern to match the name of the datastores where you can create backend volumes. |
| vmware_verify_requirements |
novalocal |
If |
| vmware_datastore_cluster |
Enter the name or moid of datastore cluster where you can provision volume. |
|
| vmware_sdrs_default_cluster_name |
Enter the default cluster for raw volume creation using vSphereStorage DRS. If you specify vmware_datastore_cluster, you must set this option. |
|
| vmware_snapshot_quiesce |
none |
If |
| vmware_image_transfer_timeout_secs |
7200 |
Enter the timeout in seconds for VMDK volume transfer between cinder and glance. |
| enabled_backends |
none |
Enter the list of backend names to use. |
| default_volume_type |
none |
Enter the default volume type to use. |
| default_availability_zone |
nova |
Enter the default availability zone of this node. |
| storage_availability_zone |
nova |
Enter the availability zone of this node. |
| backup_driver |
|
Configure this option to use the cinder backup feature. |
| backup_mount_options |
none |
Enter the mount options passed to the NFS client. See NFS man page for details. |
| backup_share |
none |
Enter the NFS server path with format. |
| backup_workers |
1 |
Enter the number of backup processes to launch. |
| backup_executor_thread_pool_size |
Enter the size of executor thread pool for backup restore operations. |
|
| backup_rpc_response_timeout |
Enter the number of seconds to wait for a response from a long running RPC call during backup and restore. |
|
| backup_file_size |
1999994880 |
Enter the maximum size in bytes of the file used to hold backups. |
| backup_sha_block_size_bytes |
32768 |
Enter the size in bytes that track changes for incremental backups. |
| backup_compression_algorithm |
zlib |
Enter the name of the compression algorithm to use. |
| rpc_response_timeout |
60 |
Enter the value in seconds to wait for a response from a call. |
| executor_thread_pool_size |
64 |
Enter the size of the executor thread pool when executor is threading or eventlet. |
| max_pool_size |
5 |
Enter the number of SQL connections to keep open in a pool. |
| statefulset_backup |
Create the manifests section if using the cinder backup feature. |
|
| job_backup_storage_init |
Create the manifests section if using the cinder backup feature. |