From 59af79c6c3f960ccfa51405ae38cdab1d3adf5d7 Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Fri, 10 Jul 2015 14:33:40 -0700 Subject: [PATCH] Tintri Cinder Driver to change lookupcache Tintri Cinder Driver to change lookupcache from none to pos Minor syntax cleanups. Change-Id: I90da59cefb1f6b83e2ceb1883f57a6b42fda5b05 Closes-Bug: #1473565 Co-Authored-By: dazzachan@yahoo.com.au --- .../drivers/tintri-volume-driver.xml | 57 ++++++++++--------- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/doc/config-reference/block-storage/drivers/tintri-volume-driver.xml b/doc/config-reference/block-storage/drivers/tintri-volume-driver.xml index 1deedcd6ef..b641763fa9 100644 --- a/doc/config-reference/block-storage/drivers/tintri-volume-driver.xml +++ b/doc/config-reference/block-storage/drivers/tintri-volume-driver.xml @@ -3,15 +3,20 @@ xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"> Tintri - Tintri VMstore is a smart storage that sees, learns and adapts for cloud and virtualization. Tintri Cinder driver will interact with configured VMstore running Tintri OS 4.0 and above. It supports various operations using Tintri REST APIs and NFS protocol. - - To configure the use of a Tintri VMstore with Block - Storage, modify your cinder.conf file as - follows: - volume_driver = cinder.volume.drivers.tintri.TintriDriver + Tintri VMstore is a smart storage that sees, learns and adapts + for cloud and virtualization. The Tintri Cinder driver will interact + with configured VMstore running Tintri OS 4.0 and above. It supports + various operations using Tintri REST APIs and NFS protocol. + + To configure the use of a Tintri VMstore with Block + Storage, perform the following actions: + + Edit the etc/cinder/cinder.conf file + and set the cinder.volume.drivers.tintri options: + volume_driver=cinder.volume.drivers.tintri.TintriDriver # Mount options passed to the nfs client. See section of the # nfs man page for details. (string value) -nfs_mount_options=vers=3,lookupcache=none +nfs_mount_options=vers=3,lookupcache=pos # # Options defined in cinder.volume.drivers.tintri @@ -32,25 +37,21 @@ tintri_server_password={password} # Following options needed for NFS configuration # File with the list of available nfs shares (string value) -#nfs_shares_config=/etc/cinder/nfs_shares - - -Following changes are needed in /etc/cinder/nfs_shares - - -# Edit /etc/cinder/nfs_shares to add one or more Tintri VMstore mount points -# associated with already configured VMstore management IP in cinder.conf -{vmstore_data_ip}:/tintri/{submount1} -{vmstore_data_ip}:/tintri/{submount2} - - - - -Following changes are needed in nova.conf file: - - -# Edit /etc/nova/nova.conf -nfs_mount_options=vers=3 - - +#nfs_shares_config=/etc/cinder/nfs_shares + + + Edit the etc/nova/nova.conf file, and + set the : + nfs_mount_options=vers=3 + + + Edit the /etc/cinder/nfs_shares file, + and add the Tintri VMstore mount points associated with + the configured VMstore management IP in the cinder.conf + file: + {vmstore_data_ip}:/tintri/{submount1} +{vmstore_data_ip}:/tintri/{submount2} + + +