[config-ref] use openstack qos command instead of cinder
Change-Id: Iff6247fa28a4144bde0158f7a53b8be0d8dcd16a Implements: blueprint use-openstack-command
This commit is contained in:
parent
04b25b0a3e
commit
fe8f17aa77
@ -102,14 +102,13 @@ following capabilities in QoS Specs
|
|||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
# Create qos spec
|
# Create qos spec
|
||||||
$ cinder qos-create DateraBronze total_iops_max=1000 \
|
$ openstack volume qos create --property total_iops_max=1000 total_bandwidth_max=2000 DateraBronze
|
||||||
total_bandwidth_max=2000
|
|
||||||
|
|
||||||
# Associate qos-spec with volume type
|
# Associate qos-spec with volume type
|
||||||
$ cinder qos-associate <qos-spec-id> <volume-type-id>
|
$ openstack volume qos associate DateraBronze VOLUME_TYPE
|
||||||
|
|
||||||
# Add additional qos values or update existing ones
|
# Add additional qos values or update existing ones
|
||||||
$ cinder qos-key <qos-spec-id> set read_bandwidth_max=500
|
$ openstack volume qos set --property read_bandwidth_max=500 DateraBronze
|
||||||
|
|
||||||
Supported operations
|
Supported operations
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -96,11 +96,7 @@ them with a volume type, run the following commands:
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cinder help qos-create
|
$ openstack help volume qos
|
||||||
|
|
||||||
$ cinder help qos-key
|
|
||||||
|
|
||||||
$ cinder help qos-associate
|
|
||||||
|
|
||||||
``maxIOPS``
|
``maxIOPS``
|
||||||
The QoS I/O rate limit. If not set, the I/O rate will be unlimited.
|
The QoS I/O rate limit. If not set, the I/O rate will be unlimited.
|
||||||
|
@ -683,31 +683,19 @@ Prerequisites - VMAX
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cinder qos-create <name> <key=value> [<key=value> ...]
|
$ openstack volume qos create --property maxIOPS=4000 maxMBPS=4000 DistributionType=Always SILVER
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder qos-create silver maxIOPS=4000 maxMBPS=4000 DistributionType=Always
|
|
||||||
|
|
||||||
#. Associate QoS specs with specified volume type:
|
#. Associate QoS specs with specified volume type:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cinder qos-associate <qos_specs id> <volume_type_id>
|
$ openstack volume qos associate SILVER VOLUME_TYPE
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder qos-associate 07767ad8-6170-4c71-abce-99e68702f051 224b1517-4a23-44b5-9035-8d9e2c18fb70
|
|
||||||
|
|
||||||
#. Create volume with the volume type indicated above:
|
#. Create volume with the volume type indicated above:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cinder create [--name <name>] [--volume-type <volume-type>] size
|
$ openstack volume create --size 1 --type VOLUME_TYPE TEST_VOLUME
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder create --name test_volume --volume-type 224b1517-4a23-44b5-9035-8d9e2c18fb70 1
|
|
||||||
|
|
||||||
**Outcome - VMAX (storage group)**
|
**Outcome - VMAX (storage group)**
|
||||||
|
|
||||||
@ -745,31 +733,19 @@ Prerequisites - VMAX
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cinder qos-create <name> <key=value> [<key=value> ...]
|
$ openstack volume qos create --property maxIOPS=4000 maxMBPS=4000 DistributionType=Always SILVER
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder qos-create silver maxIOPS=4000 maxMBPS=4000 DistributionType=Always
|
|
||||||
|
|
||||||
#. Associate QoS specifications with specified volume type:
|
#. Associate QoS specifications with specified volume type:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cinder qos-associate <qos_specs id> <volume_type_id>
|
$ openstack volume qos associate SILVER VOLUME_TYPE
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder qos-associate 07767ad8-6170-4c71-abce-99e68702f051 224b1517-4a23-44b5-9035-8d9e2c18fb70
|
|
||||||
|
|
||||||
#. Create volume with the volume type indicated above:
|
#. Create volume with the volume type indicated above:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cinder create [--name <name>] [--volume-type <volume-type>] size
|
$ openstack volume create --size 1 --type VOLUME_TYPE TEST_VOLUME
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder create --name test_volume --volume-type 224b1517-4a23-44b5-9035-8d9e2c18fb70 1
|
|
||||||
|
|
||||||
**Outcome - VMAX (storage group)**
|
**Outcome - VMAX (storage group)**
|
||||||
|
|
||||||
@ -804,32 +780,19 @@ Prerequisites - VMAX
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cinder qos-create <name> <key=value> [<key=value> ...]
|
$ openstack volume qos create --property DistributionType=Always SILVER
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder qos-create silver DistributionType=Always
|
|
||||||
|
|
||||||
|
|
||||||
#. Associate QoS specifications with specified volume type:
|
#. Associate QoS specifications with specified volume type:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cinder qos-associate <qos_specs id> <volume_type_id>
|
$ openstack volume qos associate SILVER VOLUME_TYPE
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder qos-associate 07767ad8-6170-4c71-abce-99e68702f051 224b1517-4a23-44b5-9035-8d9e2c18fb70
|
|
||||||
|
|
||||||
#. Create volume with the volume type indicated above:
|
#. Create volume with the volume type indicated above:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cinder create [--name <name>] [--volume-type <volume-type>] size
|
$ openstack volume create --size 1 --type VOLUME_TYPE TEST_VOLUME
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder create --name test_volume --volume-type 224b1517-4a23-44b5-9035-8d9e2c18fb70 1
|
|
||||||
|
|
||||||
**Outcome - VMAX (storage group)**
|
**Outcome - VMAX (storage group)**
|
||||||
|
|
||||||
@ -862,32 +825,20 @@ Prerequisites - VMAX
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cinder qos-create <name> <key=value> [<key=value> ...]
|
$ openstack volume qos create --property DistributionType=OnFailure SILVER
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder qos-create silver DistributionType=OnFailure
|
|
||||||
|
|
||||||
#. Associate QoS specifications with specified volume type:
|
#. Associate QoS specifications with specified volume type:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cinder qos-associate <qos_specs id> <volume_type_id>
|
$ openstack volume qos associate SILVER VOLUME_TYPE
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder qos-associate 07767ad8-6170-4c71-abce-99e68702f051 224b1517-4a23-44b5-9035-8d9e2c18fb70
|
|
||||||
|
|
||||||
|
|
||||||
#. Create volume with the volume type indicated above:
|
#. Create volume with the volume type indicated above:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cinder create [--name <name>] [--volume-type <volume-type>] size
|
$ openstack volume create --size 1 --type VOLUME_TYPE TEST_VOLUME
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder create --name test_volume --volume-type 224b1517-4a23-44b5-9035-8d9e2c18fb70 1
|
|
||||||
|
|
||||||
**Outcome - VMAX (storage group)**
|
**Outcome - VMAX (storage group)**
|
||||||
|
|
||||||
|
@ -179,12 +179,7 @@ pairs and associate them with a volume type, run the following commands:
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cinder help qos-create
|
$ openstack help volume qos
|
||||||
|
|
||||||
$ cinder help qos-key
|
|
||||||
|
|
||||||
$ cinder help qos-associate
|
|
||||||
|
|
||||||
|
|
||||||
The following keys require that the HPE 3PAR StoreServ storage array has a
|
The following keys require that the HPE 3PAR StoreServ storage array has a
|
||||||
Priority Optimization license installed.
|
Priority Optimization license installed.
|
||||||
|
Loading…
Reference in New Issue
Block a user