易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 6100|回复: 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  " @+ Z" P, m" h3 w: m, t4 Z
+------------------+---------------+----------+
& M4 z, O7 @3 _5 M9 h5 \| Host             | Binary        | Status   |
' L3 u" e# }" C- a: M! O& p7 }% b) c+------------------+---------------+----------+; @" ?  R  G; y/ ]' O$ `5 i
| controller@CEPH2 | cinder-volume | disabled |+ I4 c0 @3 ~( }* \# t
+------------------+---------------+----------+
5 \/ A1 ~% S0 S! ?6 x. j6 U3 S0 k[root@controller ~]# cinder-manage service remove cinder-volume controller@CEPH2
* q# N; N3 h! J0 r0 o9 y: YOption "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
2 A! E( w7 x6 B5 _. [& N4 xService cinder-volume on host controller@CEPH2 removed.7 l8 X7 r5 _$ U+ {4 d
5 [# c! i/ Y9 Y. A9 S1 n
Every 2.0s: cinder service-list                                                                                                            Sun Dec 27 13:19:18 2020  H4 B, _) J9 E& ]& o
  ]2 U/ X3 |2 X# t. ?
+------------------+------------------+------+---------+-------+----------------------------+-----------------+& x9 i% q2 q1 V5 Y( h- N3 |( z
| Binary           | Host             | Zone | Status  | State | Updated_at                 | Disabled Reason |  l1 v! \$ {7 {2 p: ^* m
+------------------+------------------+------+---------+-------+----------------------------+-----------------+- g, t4 T8 ~+ h$ u' c; S' _* Y
| cinder-scheduler | controller       | nova | enabled | up    | 2020-12-27T05:19:11.000000 | -               |! v" X" T: v8 `: ~( G: ^8 n  B
| cinder-volume    | controller@CEPH1 | nova | enabled | up    | 2020-12-27T05:19:12.000000 | -               |
- }3 N! F2 W; ?8 z+------------------+------------------+------+---------+-------+----------------------------+-----------------+3 n7 X( D$ i  O$ O! @9 Z* i

3 Z# k5 \2 u8 t0 J) ~$ l/ j! i只要volume服务没有停止,过几秒钟状态又会恢复:
; G3 L! l8 z6 ?1 K6 m. q* r
+ d: H! Z0 A; k$ P" A, q' pEvery 2.0s: cinder service-list                                                                                                            Sun Dec 27 13:20:01 20200 {  J  L5 w+ y- v2 ~& d: L

9 s- d( U& d: q6 X+------------------+------------------+------+---------+-------+----------------------------+-----------------+: g$ [  O7 Y- B9 I6 Q0 `
| Binary           | Host             | Zone | Status  | State | Updated_at                 | Disabled Reason |! [3 }* @1 {( L/ c, s3 [; @
+------------------+------------------+------+---------+-------+----------------------------+-----------------+; Y' L* a7 A5 ?
| cinder-scheduler | controller       | nova | enabled | up    | 2020-12-27T05:20:01.000000 | -               |. |7 ]0 U% O* X) ~. H  X
| cinder-volume    | controller@CEPH1 | nova | enabled | up    | 2020-12-27T05:20:02.000000 | -               |$ h1 a; i3 O- ^$ X+ `  d
| cinder-volume    | controller@CEPH2 | nova | enabled | up    | 2020-12-27T05:20:02.000000 | -               |
  u$ [$ m3 y; Y9 V& @6 i5 }) e* G+------------------+------------------+------+---------+-------+----------------------------+-----------------+
 楼主| 发表于 2023-12-30 23:04:13 | 显示全部楼层
root@controller:~# cinder service-disable controller@lvm cinder-volume
/ S( ?2 |: _& i, F( g: z" @# Z7 r+----------------+---------------+----------+7 ^/ n1 w$ Z2 b* R5 f0 Z
| Host           | Binary        | Status   |
  e% U/ V( I2 T8 R9 v1 Q+ H+----------------+---------------+----------+
6 l# u# [9 ?4 u5 P. m: F| controller@lvm | cinder-volume | disabled |7 y* k/ g8 h$ @5 Z
+----------------+---------------+----------+
( a) w2 t5 O& Lroot@controller:~# cinder service-list ) c9 i: r  a- S
+------------------+-----------------+------+----------+-------+----------------------------+-----------------+5 d6 o5 n4 u5 t( J. Q
| Binary           | Host            | Zone | Status   | State | Updated_at                 | Disabled Reason |
3 g4 p1 {5 A% v+------------------+-----------------+------+----------+-------+----------------------------+-----------------+- R; _: h# n! K8 W6 I
| cinder-scheduler | controller      | nova | enabled  | up    | 2023-12-30T15:02:18.000000 | -               |" o) @! ], h0 [% w& z
| cinder-volume    | controller@ceph | nova | enabled  | up    | 2023-12-30T15:02:17.000000 | -               |
" i: N+ S5 G( k5 X8 }5 i, J| cinder-volume    | controller@lvm  | nova | disabled | down  | 2023-12-30T15:00:28.000000 | -               |
1 @4 F$ B! U$ _/ ]( M- P( O1 [; v8 S9 @+------------------+-----------------+------+----------+-------+----------------------------+-----------------+
' I1 I4 K$ H$ w1 _  U; l/ O- uroot@controller:~# cinder-manage service remove cinder-volume controller@lvm 8 w6 }- J3 v4 a) Q
Service cinder-volume on host controller@lvm removed.
: R2 X* j- @9 z( z% \* o$ M4 _root@controller:~# cinder service-list / e/ B9 y. K, w2 W3 o9 _! S! A
+------------------+-----------------+------+---------+-------+----------------------------+-----------------+
8 H' ^: N- l  ^: j| Binary           | Host            | Zone | Status  | State | Updated_at                 | Disabled Reason |
9 r/ w" |3 d% Y& N8 l" t+------------------+-----------------+------+---------+-------+----------------------------+-----------------+9 ^. J8 j0 i" a5 D1 E: s
| cinder-scheduler | controller      | nova | enabled | up    | 2023-12-30T15:03:28.000000 | -               |6 B2 `5 r  `# M- f. l
| cinder-volume    | controller@ceph | nova | enabled | up    | 2023-12-30T15:03:27.000000 | -               |* |: v) H9 N1 t: U4 G8 z
+------------------+-----------------+------+---------+-------+----------------------------+-----------------+$ i3 ^& y; b4 B) ]
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

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

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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