Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
Vastdata Share Driver
Comment thread
vlboiko marked this conversation as resolved.
====================================

Vastdata can be used as a storage back end for the OpenStack Shared
VASTData Share Driver can be used as a storage back end for the OpenStack Shared
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VAST Share Driver
backend

File System service. Shares in the Shared File System service are
mapped 1:1 to Vastdata volumes. Access is provided via NFS protocol
and IP-based authentication. The `Vastdata <https://www.vastdata.com>`__
Manila driver uses the Vastdata API service.
mapped 1:1 to VASTData volumes. Access is provided via NFS protocol
and IP-based authentication. The `VASTData <https://www.vastdata.com>`__
Comment thread
vlboiko marked this conversation as resolved.
Manila driver uses the VASTData API service.
Comment thread
vlboiko marked this conversation as resolved.

Supported shared filesystems
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -23,8 +23,10 @@ The following operations are supported:
- Delete a share.

- Allow share access.
- IP access type is supported.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this mean? what is "IP access type"? what other types are there?

- Read/write and read-only access are supported.
Comment thread
vlboiko marked this conversation as resolved.

- Deny share access.
- Deny share access.

- Extend a share.

Expand All @@ -34,7 +36,7 @@ The following operations are supported:
Requirements
~~~~~~~~~~~~

- Trash API must be enabled on Vastdata cluster.
- Trash API must be enabled on VASTData cluster.
Comment thread
vlboiko marked this conversation as resolved.

Driver options
~~~~~~~~~~~~~~
Expand All @@ -45,11 +47,12 @@ share driver.
.. include:: ../../tables/manila-vastdata.inc


Vastdata driver configuration example
VASTData driver configuration example
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VAST Share Driver configuration example

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The following parameters shows a sample subset of the ``manila.conf`` file,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest changing the whole paragraph to something like this:

The following example shows parameters in the manila.conf file that are used to configure VAST Share Driver. They include two options under [DEFAULT] and parameters under [vast].
Note that a real manila.conf file would also include other parameters that are not specific to VAST Share Driver.

which configures two backends and the relevant ``[DEFAULT]`` options. A real
which configures VASTData manila backend
and the relevant ``[DEFAULT]`` options. A real
configuration would include additional ``[DEFAULT]`` options and additional
sections that are not discussed in this document:

Expand All @@ -72,10 +75,66 @@ sections that are not discussed in this document:
vast_root_export = {root_export}


Restart of ``manila-share`` service is needed for the configuration
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restart of the ...

changes to take effect.


Pre-configurations for share support
--------------------------------------------------

To create a file share you need to:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

share, you


Create the share type:

.. code-block:: console

openstack share type create ${share_type_name} False \
--extra-specs share_backend_name=${share_backend_name}

Create NFS share:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create an NFS share


.. code-block:: console

openstack share create NFS ${size} --name ${share_name} --share-type ${share_type_name}

Pre-Configurations for Snapshot support
--------------------------------------------------

The following extra specifications need to be configured with share type.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The share type must have the following parameter specified:


- snapshot_support = True

For new share type, these extra specifications can be set directly when creating share type:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can specify it when creating a new share type:


.. code-block:: console

openstack share type create ${share_type_name} false \
--snapshot-support=true \
--extra-specs share_backend_name=${share_backend_name}

Or you can update already existing share type with command:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or you can add it to an existing share type:


.. code-block:: console

openstack share type set ${share_type_name} --extra-specs snapshot_support=True


To snapshot a share and create share from the snapshot
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You need create a share from share type
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole paragraph:
Create a share using the share type that has snapshot_support=True specified. Then snapshot the share with the command:

that has extra specifications(snapshot_support=True).
Then snapshot the share with command:

.. code-block:: console

openstack share snapshot create ${source_share_name} --name ${target_snapshot_name}


Restrictions
------------

The Vastdata driver has the following restrictions:
The VASTData driver has the following restrictions:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VAST Share Driver has the following restrictions (no 'the' is needed)


- Only IP access type is supported for NFS.

Expand Down