-
Notifications
You must be signed in to change notification settings - Fork 0
vastdata-driver: updated VASTData driver documentation #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: vastdata-driver
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,11 +2,11 @@ | |
| Vastdata Share Driver | ||
| ==================================== | ||
|
|
||
| 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 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. VAST Share Driver |
||
| 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>`__ | ||
|
vlboiko marked this conversation as resolved.
|
||
| Manila driver uses the VASTData API service. | ||
|
vlboiko marked this conversation as resolved.
|
||
|
|
||
| Supported shared filesystems | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
|
@@ -23,8 +23,10 @@ The following operations are supported: | |
| - Delete a share. | ||
|
|
||
| - Allow share access. | ||
| - IP access type is supported. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. | ||
|
vlboiko marked this conversation as resolved.
|
||
|
|
||
| - Deny share access. | ||
| - Deny share access. | ||
|
|
||
| - Extend a share. | ||
|
|
||
|
|
@@ -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. | ||
|
vlboiko marked this conversation as resolved.
|
||
|
|
||
| Driver options | ||
| ~~~~~~~~~~~~~~ | ||
|
|
@@ -45,11 +47,12 @@ share driver. | |
| .. include:: ../../tables/manila-vastdata.inc | ||
|
|
||
|
|
||
| Vastdata driver configuration example | ||
| VASTData driver configuration example | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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, | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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]. |
||
| 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: | ||
|
|
||
|
|
@@ -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 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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: | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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: | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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: | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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: | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The whole paragraph: |
||
| 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: | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.