Merge "Tintri Cinder Driver to change lookupcache"

This commit is contained in:
Jenkins 2015-08-01 10:48:00 +00:00 committed by Gerrit Code Review
commit 8a953acbba

View File

@ -3,15 +3,20 @@
xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"> xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
<title>Tintri</title> <title>Tintri</title>
<para>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. <para>Tintri VMstore is a smart storage that sees, learns and adapts
</para> 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.</para>
<procedure>
<para>To configure the use of a Tintri VMstore with Block <para>To configure the use of a Tintri VMstore with Block
Storage, modify your <filename>cinder.conf</filename> file as Storage, perform the following actions:</para>
follows:</para> <step>
<programlisting language="ini">volume_driver = cinder.volume.drivers.tintri.TintriDriver <para>Edit the <filename>etc/cinder/cinder.conf</filename> file
and set the cinder.volume.drivers.tintri options:</para>
<programlisting language="ini">volume_driver=cinder.volume.drivers.tintri.TintriDriver
# Mount options passed to the nfs client. See section of the # Mount options passed to the nfs client. See section of the
# nfs man page for details. (string value) # 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 # Options defined in cinder.volume.drivers.tintri
@ -32,25 +37,21 @@ tintri_server_password={password}
# Following options needed for NFS configuration # Following options needed for NFS configuration
# File with the list of available nfs shares (string value) # File with the list of available nfs shares (string value)
#nfs_shares_config=/etc/cinder/nfs_shares #nfs_shares_config=/etc/cinder/nfs_shares</programlisting>
</programlisting> </step>
<step>
<para>Following changes are needed in /etc/cinder/nfs_shares</para> <para>Edit the <filename>etc/nova/nova.conf</filename> file, and
set the <option>nfs_mount_options</option>:</para>
<programlisting language="ini"> <programlisting language="ini">nfs_mount_options=vers=3</programlisting>
# Edit /etc/cinder/nfs_shares to add one or more Tintri VMstore mount points </step>
# associated with already configured VMstore management IP in cinder.conf <step>
{vmstore_data_ip}:/tintri/{submount1} <para>Edit the <filename>/etc/cinder/nfs_shares</filename> file,
{vmstore_data_ip}:/tintri/{submount2} and add the Tintri VMstore mount points associated with
the configured VMstore management IP in the <filename>cinder.conf</filename>
file:</para>
</programlisting> <programlisting language="ini">{vmstore_data_ip}:/tintri/{submount1}
{vmstore_data_ip}:/tintri/{submount2}</programlisting>
<para>Following changes are needed in <filename>nova.conf</filename> file:</para> </step>
</procedure>
<programlisting language="ini"> <xi:include href="../../../common/tables/cinder-tintri.xml"/>
# Edit /etc/nova/nova.conf
nfs_mount_options=vers=3
</programlisting>
<xi:include href="../../../common/tables/cinder-tintri.xml"/>
</section> </section>