验证 Cinder 操作

验证块存储服务的运行情况。

注意

在控制器节点上执行以下命令。

  1. 激活 admin 凭证以访问仅管理员可用的 CLI 命令

    $ . admin-openrc
    
  2. 列出服务组件,以验证每个进程是否成功启动

    $ openstack volume service list
    
    +------------------+------------+------+---------+-------+----------------------------+
    | Binary           | Host       | Zone | Status  | State | Updated_at                 |
    +------------------+------------+------+---------+-------+----------------------------+
    | cinder-scheduler | controller | nova | enabled | up    | 2016-09-30T02:27:41.000000 |
    | cinder-volume    | block@lvm  | nova | enabled | up    | 2016-09-30T02:27:46.000000 |
    | cinder-backup    | controller | nova | enabled | up    | 2016-09-30T02:27:41.000000 |
    +------------------+------------+------+---------+-------+----------------------------+