Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

/- Secret

Created October 26, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/c99161662380fccc391c to your computer and use it in GitHub Desktop.
Save anonymous/c99161662380fccc391c to your computer and use it in GitHub Desktop.
[root@block1:/etc/cinder]: cinder service-list
+------------------+-------------+------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------------------+-------------+------+---------+-------+----------------------------+-----------------+
| cinder-backup | block1 | nova | enabled | up | 2015-10-26T14:22:13.000000 | None |
| cinder-scheduler | controller | nova | enabled | up | 2015-10-26T14:22:17.000000 | None |
| cinder-volume | block1 | nova | enabled | down | 2015-10-26T12:56:36.000000 | None |
| cinder-volume | block1@ceph | nova | enabled | up | 2015-10-26T14:22:19.000000 | None |
| cinder-volume | block1@lvm | nova | enabled | up | 2015-10-26T14:22:20.000000 | None |
+------------------+-------------+------+---------+-------+----------------------------+-----------------+
[root@block1:/etc/cinder]: cinder type-create lvm-type-name
+--------------------------------------+---------------+
| ID | Name |
+--------------------------------------+---------------+
| 8dc88407-34d7-440f-ab8e-7eb4053a739b | lvm-type-name |
+--------------------------------------+---------------+
[root@block1:/etc/cinder]: cinder type-create ceph-type-name
+--------------------------------------+----------------+
| ID | Name |
+--------------------------------------+----------------+
| ba596887-1b91-4c47-86bc-6dbd41d2fc6b | ceph-type-name |
+--------------------------------------+----------------+
[root@block1:/etc/cinder]: cinder type-key lvm-type-name set volume_backend_name="lvm"; cinder type-key ceph-type-name set volume_backend_name="ceph"
[root@block1:/etc/cinder]: cinder service-list
+------------------+-------------+------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------------------+-------------+------+---------+-------+----------------------------+-----------------+
| cinder-backup | block1 | nova | enabled | up | 2015-10-26T14:24:13.000000 | None |
| cinder-scheduler | controller | nova | enabled | up | 2015-10-26T14:24:17.000000 | None |
| cinder-volume | block1 | nova | enabled | down | 2015-10-26T12:56:36.000000 | None |
| cinder-volume | block1@ceph | nova | enabled | up | 2015-10-26T14:24:19.000000 | None |
| cinder-volume | block1@lvm | nova | enabled | up | 2015-10-26T14:24:10.000000 | None |
+------------------+-------------+------+---------+-------+----------------------------+-----------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment