Update Huawei driver doc for Mitaka

Modify following configuration:
Add the new features that Huawei driver support.
Add the corresponding configuration for "create
share from snapshot".
Modify the abilities Huawei driver report.

Change-Id: I74d55c0ba75a7908d8ba346bfe0b4e853e1c66df
Closes-Bug: #1549657
This commit is contained in:
liucheng 2016-02-25 16:10:27 +08:00
parent 4b8c45fa3a
commit f3685998ea
1 changed files with 26 additions and 24 deletions

View File

@ -27,6 +27,7 @@ Requirements
- The OceanStor V3 series V300R002 storage system.
- The following licenses should be activated on V3 for File:
* CIFS
* NFS
* HyperSnap License (for snapshot)
@ -50,6 +51,9 @@ The following operations is supported on V3 storage:
- Extend share
- Shrink share
- Support multi RestURLs(<RestURL>)
- Support multi-tenancy
- Ensure share
- Create share from snapshot
Pre-Configurations on Huawei
@ -77,10 +81,17 @@ storage systems, the driver configuration file is as follows:
<UserPassword>xxxxxxxxx</UserPassword>
</Storage>
<Filesystem>
<Thin_StoragePool>xxxxxxxxx</Thin_StoragePool>
<Thick_StoragePool>xxxxxxxx</Thick_StoragePool>
<StoragePool>xxxxxxxxx</StoragePool>
<AllocType>xxxxxxxx</AllocType>
<WaitInterval>3</WaitInterval>
<Timeout>60</Timeout>
<NFSClient>
<IP>x.x.x.x</IP>
</NFSClient>
<CIFSClient>
<UserName>xxxxxxxxx</UserName>
<UserPassword>xxxxxxxxx</UserPassword>
</CIFSClient>
</Filesystem>
</Config>
@ -95,11 +106,14 @@ storage systems, the driver configuration file is as follows:
failed to connect, driver will retry another automatically.
- `UserName` is a user name of an administrator.
- `UserPassword` is a password of an administrator.
- `Thin_StoragePool` is a name of a Thin storage pool to be used.
- `Thick_StoragePool` is a name of a Thick storage pool to be used.
- `StoragePool` is a name of a storage pool to be used.
- `AllocType` is the file system space allocation type, optional value is "Thick" or "Thin".
- `WaitInterval` is the interval time of querying the file system status.
- `Timeout` is the timeout period for waiting command execution of a device to
complete.
- `NFSClient\IP` is the backend IP in admin network to use for mounting NFS share.
- `CIFSClient\UserName` is the backend user name in admin network to use for mounting CIFS share.
- `CIFSClient\UserPassword` is the backend password in admin network to use for mounting CIFS share.
Backend Configuration
---------------------
@ -170,33 +184,21 @@ type uses one or more of the following extra-specs:
* huawei_smartpartition:partitionname=test_partition_name
`thin_provisioning` will be reported as True for backends that use thin
provisioned pool. Backends that use thin provisioning also support manila's
over-subscription feature. 'thin_provisioning' will be reported as False for
backends that use thick provisioned pool.
`thin_provisioning` will be reported as [True, False] for Huawei backends.
`dedupe` will be reported as True for backends that use deduplication
technology.
`dedupe` will be reported as [True, False] for Huawei backends.
`compression` will be reported as True for backends that use compression
technology.
`compression` will be reported as [True, False] for Huawei backends.
`huawei_smartcache` will be reported as True for backends that use smartcache
technology. Adds SSDs into a high-speed cache pool and divides the pool into
`huawei_smartcache` will be reported as [True, False] for Huawei backends.
Adds SSDs into a high-speed cache pool and divides the pool into
multiple cache partitions to cache hotspot data in random and small read I/Os.
`huawei_smartpartition` will be reported as True for backends that use
smartpartition technology. Add share to the smartpartition named
'test_partition_name'. Allocates cache resources based on service characteristics,
`huawei_smartpartition` will be reported as [True, False] for Huawei backends.
Add share to the smartpartition named 'test_partition_name'.
Allocates cache resources based on service characteristics,
ensuring the quality of critical services.
.. note::
`snapshot_support` will be reported as True for backends that support all
snapshot functionalities, including create_snapshot, delete_snapshot, and
create_share_from_snapshot. Huawei Driver does not support
create_share_from_snapshot API now, so make sure that used `share type` has
extra spec `snapshot_support` set to `False`.
Restrictions
------------