openstack-manuals/doc/user-guide-admin/source/cli_cinder_scheduling.rst
Linette 34cd3b159d Fix broken link
Fixed broken link on Manage Block Storage scheduling page
to correctly link to Configure mutliple storage back end page.
Extra slash removed.

Change-Id: I7d5b209830003c57615b88d69a6c884e6f0aaaad
Closes-Bug: #1508109
implements: blueprint user-guides-reorganised
2015-10-20 14:03:59 -05:00

1.5 KiB

Manage Block Storage scheduling

As an administrative user, you have some control over which volume back end your volumes reside on. You can specify affinity or anti-affinity between two volumes. Affinity between volumes means that they are stored on the same back end, whereas anti-affinity means that they are stored on different back ends.

For information on how to set up multiple back ends for Cinder, refer to the guide for Configuring multiple-storage back ends.

Example Usages

  1. Create new volume on the same back end as Volume_A:

    $ cinder create --hint same_host=Volume_A-UUID SIZE
  2. Create new volume on a different back end than Volume_A:

    $ cinder create --hint different_host=Volume_A-UUID SIZE
  3. Create new volume on the same back end as Volume_A and Volume_B:

    $ cinder create --hint same_host=Volume_A-UUID --hint same_host=Volume_B-UUID SIZE

    Or:

    $ cinder create --hint same_host="[Volume_A-UUID, Volume_B-UUID]" SIZE
  4. Create new volume on a different back end than both Volume_A and Volume_B:

    $ cinder create --hint different_host=Volume_A-UUID --hint different_host=Volume_B-UUID SIZE

    Or:

    $ cinder create --hint different_host="[Volume_A-UUID, Volume_B-UUID]" SIZE