找回密码
 注册
查看: 6108|回复: 2

cinder 管理volume节点host,删除volume服务节点步骤

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2020-12-27 13:11:44 | 显示全部楼层 |阅读模式
购买主题 本主题需向作者支付 5 金钱 才能浏览

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2020-12-27 13:19:00 | 显示全部楼层
[root@controller ~]# cinder service-disable controller@CEPH2 cinder-volume  # y5 }$ X2 b! H8 _7 Z
+------------------+---------------+----------+6 z  T$ v4 W: r) }% C
| Host             | Binary        | Status   |3 v/ ]% M2 m: L/ U
+------------------+---------------+----------+
* z6 v8 }; [9 Y1 a; h* x1 j# N| controller@CEPH2 | cinder-volume | disabled |
+ T+ C0 V  k0 W2 N2 D5 R! t+------------------+---------------+----------+
+ x+ p/ O$ ?9 D, t8 K% J9 N[root@controller ~]# cinder-manage service remove cinder-volume controller@CEPH28 [4 ]; a7 v' p
Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
3 U4 v- g8 F7 B5 X# [, F  o8 lService cinder-volume on host controller@CEPH2 removed.% [+ Z- V  e. d! ]1 K+ D9 H

5 f9 b3 V; h* ?5 B+ v3 LEvery 2.0s: cinder service-list                                                                                                            Sun Dec 27 13:19:18 2020' i# @) b- A* ^! f

7 v4 w- w( z( @0 |& A: c4 z+------------------+------------------+------+---------+-------+----------------------------+-----------------+
8 h8 x4 A  H+ e8 L, q( z" M| Binary           | Host             | Zone | Status  | State | Updated_at                 | Disabled Reason |
5 v3 {* `/ i; C" z4 t' g6 E- ?+------------------+------------------+------+---------+-------+----------------------------+-----------------+
  v( `9 [. O2 @6 d| cinder-scheduler | controller       | nova | enabled | up    | 2020-12-27T05:19:11.000000 | -               |+ ?; K$ J5 C0 m, r1 s2 K+ [
| cinder-volume    | controller@CEPH1 | nova | enabled | up    | 2020-12-27T05:19:12.000000 | -               |
( L+ E2 G- J: _, m8 H+------------------+------------------+------+---------+-------+----------------------------+-----------------+3 C! _+ _- f7 G

0 P$ S! }. E) q0 a$ O& [1 ]只要volume服务没有停止,过几秒钟状态又会恢复:
  E$ U& s$ N$ y, ?; w# E5 }
  h5 Y1 s, y& QEvery 2.0s: cinder service-list                                                                                                            Sun Dec 27 13:20:01 2020
% M% p* @0 X: \
+ z) R6 |* R. `% ^+------------------+------------------+------+---------+-------+----------------------------+-----------------+
" v, A! f/ P9 r4 x1 p* B4 R7 Y| Binary           | Host             | Zone | Status  | State | Updated_at                 | Disabled Reason |
6 v/ i+ y! ~/ X  m1 p' |% q+------------------+------------------+------+---------+-------+----------------------------+-----------------+
7 m: j- i& D8 I7 M0 L| cinder-scheduler | controller       | nova | enabled | up    | 2020-12-27T05:20:01.000000 | -               |) x: B6 B% Z+ a4 P; g, o+ Z' b
| cinder-volume    | controller@CEPH1 | nova | enabled | up    | 2020-12-27T05:20:02.000000 | -               |9 o! R5 F2 i) m
| cinder-volume    | controller@CEPH2 | nova | enabled | up    | 2020-12-27T05:20:02.000000 | -               |3 N4 j6 C$ _$ i- ?$ I8 `
+------------------+------------------+------+---------+-------+----------------------------+-----------------+

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2023-12-30 23:04:13 | 显示全部楼层
root@controller:~# cinder service-disable controller@lvm cinder-volume
. X8 s/ X  J, @2 {+----------------+---------------+----------+  w( O+ ?2 F7 z; f2 r! @
| Host           | Binary        | Status   |" o/ G, M, }& Y  ^9 [: N
+----------------+---------------+----------+) f6 A: x' q( m7 s$ e
| controller@lvm | cinder-volume | disabled |% a- @9 z6 b7 r; J- {$ R$ k
+----------------+---------------+----------+
1 T# T/ n1 L+ w) \root@controller:~# cinder service-list
8 }9 o+ V  D( E+------------------+-----------------+------+----------+-------+----------------------------+-----------------+
+ w! ?* d& Y4 T& F" z| Binary           | Host            | Zone | Status   | State | Updated_at                 | Disabled Reason |5 y2 }* u: b* U% I0 A+ G
+------------------+-----------------+------+----------+-------+----------------------------+-----------------+
1 U2 h+ K0 [2 V" d# x| cinder-scheduler | controller      | nova | enabled  | up    | 2023-12-30T15:02:18.000000 | -               |) A+ o9 d3 A. ^0 w
| cinder-volume    | controller@ceph | nova | enabled  | up    | 2023-12-30T15:02:17.000000 | -               |: p+ ~5 m. d8 h4 H) v) [( H; [9 n
| cinder-volume    | controller@lvm  | nova | disabled | down  | 2023-12-30T15:00:28.000000 | -               |( u; p9 y# ]% B4 N1 k; v+ l$ y# f
+------------------+-----------------+------+----------+-------+----------------------------+-----------------+
: Y9 `/ O" [6 x" W8 `# S9 Iroot@controller:~# cinder-manage service remove cinder-volume controller@lvm
6 a" h3 x9 }% i1 h# e' F4 sService cinder-volume on host controller@lvm removed." T. X, ]  Y8 g" F4 J; [
root@controller:~# cinder service-list . ~- E8 R, w8 T% x0 z+ A
+------------------+-----------------+------+---------+-------+----------------------------+-----------------+; |: o( }: g2 Q% A
| Binary           | Host            | Zone | Status  | State | Updated_at                 | Disabled Reason |
+ E0 H6 {: [: B8 H! j$ a1 Z+------------------+-----------------+------+---------+-------+----------------------------+-----------------+
5 c, P' l9 B/ K$ K! Z. a| cinder-scheduler | controller      | nova | enabled | up    | 2023-12-30T15:03:28.000000 | -               |
# U4 n# k* V0 j| cinder-volume    | controller@ceph | nova | enabled | up    | 2023-12-30T15:03:27.000000 | -               |- e6 P, {0 ]6 W0 E# j6 D! [
+------------------+-----------------+------+---------+-------+----------------------------+-----------------+
% p  S/ t2 K! B4 O% z# W" [
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:04 , Processed in 0.020469 second(s), 25 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表