删除多余的cinder-volume 服务

#删除多余的cinder-volume 服务

[root@controller11 ~]# cinder service-list
+------------------+-------------------+------+----------+-------+----------------------------+-----------------+
| Binary           | Host              | Zone | Status   | State | Updated_at                 | Disabled Reason |
+------------------+-------------------+------+----------+-------+----------------------------+-----------------+
| cinder-scheduler | controller11      | nova | enabled  | up    | 2018-04-12T12:07:33.000000 | -               |
| cinder-scheduler | controller12      | nova | enabled  | up    | 2018-04-12T12:07:35.000000 | -               |
| cinder-scheduler | controller13      | nova | enabled  | up    | 2018-04-12T12:07:36.000000 | -               |
| cinder-volume    | compute14@ceph    | nova | enabled  | up    | 2018-04-12T12:07:40.000000 | -               |
| cinder-volume    | controller11@ceph | nova | disabled | down  | 2018-04-12T02:25:19.000000 | -               |
| cinder-volume    | controller12@ceph | nova | disabled | down  | 2018-04-12T02:25:37.000000 | -               |
| cinder-volume    | controller13@ceph | nova | disabled | down  | 2018-04-12T02:25:45.000000 | -               |
+------------------+-------------------+------+----------+-------+----------------------------

### 用cinder-manage service list 查看

[root@controller11 ~]# cinder-manage service list
Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
Binary           Host                                 Zone             Status     State Updated At           RPC Version  Object Version  Cluster                             
cinder-volume    controller11@ceph                    nova             disabled   XXX   2018-04-12 02:22:13  3.15         1.27                                                
cinder-volume    controller13@ceph                    nova             disabled   XXX   2018-04-12 02:24:29  3.15         1.27                                                
cinder-volume    controller12@ceph                    nova             disabled   XXX   2018-04-12 02:23:51  3.15         1.27                                                
cinder-scheduler controller11                         nova             enabled    :-)   2018-04-12 12:10:03  3.7          1.27                                                
cinder-scheduler controller13                         nova             enabled    :-)   2018-04-12 12:10:06  3.7          1.27                                                
cinder-scheduler controller12                         nova             enabled    :-)   2018-04-12 12:10:05  3.7          1.27                                                
cinder-volume    compute14@ceph                       nova             enabled    :-)   2018-04-12 12:10:00  3.15         1.27

###用法 cinder-manage service remove <Binary> <host>

[root@controller11 ~]# cinder-manage service remove cinder-volume controller11@ceph
Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
Service cinder-volume on host controller11@ceph removed.
[root@controller11 ~]# cinder-manage service remove cinder-volume controller12@ceph
Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
Service cinder-volume on host controller12@ceph removed.
[root@controller11 ~]# cinder-manage service remove cinder-volume controller13@ceph
Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
Service cinder-volume on host controller13@ceph removed.
[root@controller11 ~]#
[root@controller11 ~]#

##查看服务

[root@controller11 ~]# cinder-manage service list
Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
Binary           Host                                 Zone             Status     State Updated At           RPC Version  Object Version  Cluster                             
cinder-scheduler controller11                         nova             enabled    :-)   2018-04-12 12:13:03  3.7          1.27                                                
cinder-scheduler controller13                         nova             enabled    :-)   2018-04-12 12:13:06  3.7          1.27                                                
cinder-scheduler controller12                         nova             enabled    :-)   2018-04-12 12:13:05  3.7          1.27                                                
cinder-volume    compute14@ceph                       nova             enabled    :-)   2018-04-12 12:13:00  3.15         1.27                                               

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

石兴稳

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值