易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 6099|回复: 2
收起左侧

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

[复制链接]
发表于 2020-12-27 13:11:44 | 显示全部楼层 |阅读模式
购买主题 本主题需向作者支付 5 金钱 才能浏览
 楼主| 发表于 2020-12-27 13:19:00 | 显示全部楼层
[root@controller ~]# cinder service-disable controller@CEPH2 cinder-volume  # j* c* p+ w% K. I9 X
+------------------+---------------+----------+
! M8 V/ ?/ t; [  l1 p6 L| Host             | Binary        | Status   |( j' r* c( U8 ~9 U1 G
+------------------+---------------+----------+
) a- n) O! T+ E! U& @* R| controller@CEPH2 | cinder-volume | disabled |
( k$ q: ~6 q- J1 ^1 t  x+------------------+---------------+----------+
( t7 e/ f2 o+ s% p[root@controller ~]# cinder-manage service remove cinder-volume controller@CEPH27 k8 }  k) S3 H. p% s: i
Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
2 f6 G5 h$ `; XService cinder-volume on host controller@CEPH2 removed.
- N( z4 j. M! K4 T5 T4 N
: [3 J$ A7 y* c* Q! i* V* G4 c0 MEvery 2.0s: cinder service-list                                                                                                            Sun Dec 27 13:19:18 20206 s) d7 O, C( @, [

# J  y1 z+ d9 L: }& J+------------------+------------------+------+---------+-------+----------------------------+-----------------+6 T& D' w: D! A* P0 [: P- W
| Binary           | Host             | Zone | Status  | State | Updated_at                 | Disabled Reason |1 B9 X- z2 Q6 S
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
3 i5 u/ {) e9 s4 A* e, p1 h| cinder-scheduler | controller       | nova | enabled | up    | 2020-12-27T05:19:11.000000 | -               |
0 Z  J  Q0 m- E) L| cinder-volume    | controller@CEPH1 | nova | enabled | up    | 2020-12-27T05:19:12.000000 | -               |) l- w$ A6 ]# ^0 R
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
: ?- ^8 D+ C, O) D( y1 Z
; p! s$ o2 A3 P  D只要volume服务没有停止,过几秒钟状态又会恢复:
+ p5 v4 v- D1 m& z! g$ H7 l
6 L# s* X  G9 h1 X; q; b6 ]Every 2.0s: cinder service-list                                                                                                            Sun Dec 27 13:20:01 20209 ~, Q: ^' F6 b

% x8 u7 ~7 x7 ~& I5 E' x* c; `1 L8 y+------------------+------------------+------+---------+-------+----------------------------+-----------------+
& O- z5 W$ O, m* B* X| Binary           | Host             | Zone | Status  | State | Updated_at                 | Disabled Reason |
8 Z; N* L: \$ Q+------------------+------------------+------+---------+-------+----------------------------+-----------------+
* I! K/ Z, F, A) H1 N| cinder-scheduler | controller       | nova | enabled | up    | 2020-12-27T05:20:01.000000 | -               |! C( z4 D& w1 K! d
| cinder-volume    | controller@CEPH1 | nova | enabled | up    | 2020-12-27T05:20:02.000000 | -               |
9 m! S. J' a0 A' I$ m; C/ N' r3 l| cinder-volume    | controller@CEPH2 | nova | enabled | up    | 2020-12-27T05:20:02.000000 | -               |
$ ~5 [  M* N- ~( h/ |3 a5 V, g+------------------+------------------+------+---------+-------+----------------------------+-----------------+
 楼主| 发表于 2023-12-30 23:04:13 | 显示全部楼层
root@controller:~# cinder service-disable controller@lvm cinder-volume + E2 q; M7 s1 E8 E0 y
+----------------+---------------+----------+
; |4 ^& Y9 t( M8 J; _4 Q' B8 ?' G| Host           | Binary        | Status   |
9 I% m9 i7 P) ^4 T% e/ N  e+----------------+---------------+----------+
" y5 }) m$ }- `2 j! F& c! `| controller@lvm | cinder-volume | disabled |! R2 A% r7 B8 L7 k" B7 C' X
+----------------+---------------+----------+9 _3 O2 P! z. s% X4 z! ?
root@controller:~# cinder service-list
" G* T0 m6 ~& [. J5 F+------------------+-----------------+------+----------+-------+----------------------------+-----------------+# L+ c5 d& A0 x3 u- m
| Binary           | Host            | Zone | Status   | State | Updated_at                 | Disabled Reason |
# s5 y* \2 j1 }2 Y5 D$ I+ S1 o0 t+------------------+-----------------+------+----------+-------+----------------------------+-----------------+) n; D% u! b4 n6 U- G
| cinder-scheduler | controller      | nova | enabled  | up    | 2023-12-30T15:02:18.000000 | -               |' i; M; w# w  V0 I
| cinder-volume    | controller@ceph | nova | enabled  | up    | 2023-12-30T15:02:17.000000 | -               |2 U! i& m+ d# ?2 W' q  a* w* L2 e
| cinder-volume    | controller@lvm  | nova | disabled | down  | 2023-12-30T15:00:28.000000 | -               |
5 r, S" f5 I2 \7 g6 [; z+------------------+-----------------+------+----------+-------+----------------------------+-----------------+" N" E2 a% G  h8 v* i" r
root@controller:~# cinder-manage service remove cinder-volume controller@lvm ; ~4 [* g) g) b8 s) h
Service cinder-volume on host controller@lvm removed.
+ L: j8 }5 S$ E% w0 Froot@controller:~# cinder service-list , I" ?. Z  b  v  J; [
+------------------+-----------------+------+---------+-------+----------------------------+-----------------+2 o) O. X$ v# d4 v1 [# w; c
| Binary           | Host            | Zone | Status  | State | Updated_at                 | Disabled Reason |6 @: k! @5 O5 N, U8 |0 L- Q0 w( `4 m
+------------------+-----------------+------+---------+-------+----------------------------+-----------------+( C3 ^" ~8 b. \9 F3 B! Q( @2 b
| cinder-scheduler | controller      | nova | enabled | up    | 2023-12-30T15:03:28.000000 | -               |% x1 \4 a: F" B2 l5 e0 c
| cinder-volume    | controller@ceph | nova | enabled | up    | 2023-12-30T15:03:27.000000 | -               |& P5 `  _0 j! c/ E! J: \
+------------------+-----------------+------+---------+-------+----------------------------+-----------------+- P; s$ ?' V9 U
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 21:27 , Processed in 0.054349 second(s), 25 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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