找回密码
 注册
查看: 6107|回复: 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  % Z  h1 y" _9 P! j( D, v# f6 S
+------------------+---------------+----------+9 I( p  ^2 H0 a) P
| Host             | Binary        | Status   |  r' J# b6 B8 i. i
+------------------+---------------+----------+" {5 ?8 p! c$ _
| controller@CEPH2 | cinder-volume | disabled |
# g6 q# j5 d* d/ S& T% N) p+ a+------------------+---------------+----------+
. T5 _* l* K& }1 Z2 t8 f/ s  \[root@controller ~]# cinder-manage service remove cinder-volume controller@CEPH26 E$ e2 l1 r; w
Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
; M4 B6 ]- }+ Q& Q) z7 _% fService cinder-volume on host controller@CEPH2 removed.
; @. P9 l& c; V; O6 p% J6 ?5 A9 v. e$ d; s2 c  X, y3 Z
Every 2.0s: cinder service-list                                                                                                            Sun Dec 27 13:19:18 2020
& n3 {& z( r+ ^  g8 |
, m  w, E9 E+ ~+------------------+------------------+------+---------+-------+----------------------------+-----------------+) _$ U& ^4 n9 p4 J
| Binary           | Host             | Zone | Status  | State | Updated_at                 | Disabled Reason |
% M, I$ t$ H8 ^. E+ X+------------------+------------------+------+---------+-------+----------------------------+-----------------+# L) ?1 Y2 {$ y
| cinder-scheduler | controller       | nova | enabled | up    | 2020-12-27T05:19:11.000000 | -               |
7 I( R: y5 `7 X* N2 P7 R| cinder-volume    | controller@CEPH1 | nova | enabled | up    | 2020-12-27T05:19:12.000000 | -               |
" N/ }+ c7 {0 ~6 W: `$ ~+------------------+------------------+------+---------+-------+----------------------------+-----------------+
* q0 f  \. ^2 B; T8 D$ w
8 n* W+ t/ f3 U- Y0 o7 P只要volume服务没有停止,过几秒钟状态又会恢复:* n* A9 [. g& H/ F  o# ~, A

" m+ y3 ~4 b2 z' }; J: r/ M+ BEvery 2.0s: cinder service-list                                                                                                            Sun Dec 27 13:20:01 2020
2 K% M2 U/ R, ^8 u2 b: f9 G" D% H/ q7 q' m! @* C. Q
+------------------+------------------+------+---------+-------+----------------------------+-----------------+& y. @, X) e9 Q3 f4 n# a6 p" @3 A
| Binary           | Host             | Zone | Status  | State | Updated_at                 | Disabled Reason |: k9 R2 u8 d7 X5 O. _
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
* q) {6 z8 t/ A  H1 C" s| cinder-scheduler | controller       | nova | enabled | up    | 2020-12-27T05:20:01.000000 | -               |) M; F8 y4 T- c( F: z6 M, R
| cinder-volume    | controller@CEPH1 | nova | enabled | up    | 2020-12-27T05:20:02.000000 | -               |
' M( b& n2 D5 P8 L+ F# b  `8 k% G* A| cinder-volume    | controller@CEPH2 | nova | enabled | up    | 2020-12-27T05:20:02.000000 | -               |
3 M  F/ u- e! f$ U+------------------+------------------+------+---------+-------+----------------------------+-----------------+

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2023-12-30 23:04:13 | 显示全部楼层
root@controller:~# cinder service-disable controller@lvm cinder-volume
' d$ L8 c$ j4 Z3 s( X; q+----------------+---------------+----------+
; _: s+ {3 w4 K( p9 A7 ^: c8 _| Host           | Binary        | Status   |; o7 }9 J8 x. m2 ?; A) C$ w
+----------------+---------------+----------+5 R1 u9 K* u+ X" M: N5 n, y2 D
| controller@lvm | cinder-volume | disabled |& K2 P" @% R1 [6 H
+----------------+---------------+----------+6 t$ v6 ?" h; g; T5 h. S8 b
root@controller:~# cinder service-list ) E. M- r1 S: k; U! y
+------------------+-----------------+------+----------+-------+----------------------------+-----------------+
: s/ m' {% R- b" k# g# O! h# ^9 H* ~! p| Binary           | Host            | Zone | Status   | State | Updated_at                 | Disabled Reason |
/ i) |% G- n- `1 @" \- I; Q0 t+------------------+-----------------+------+----------+-------+----------------------------+-----------------+
& d2 T( k+ X; }6 f2 ?7 R( G4 t| cinder-scheduler | controller      | nova | enabled  | up    | 2023-12-30T15:02:18.000000 | -               |
1 d+ W6 l( `) E  E0 s| cinder-volume    | controller@ceph | nova | enabled  | up    | 2023-12-30T15:02:17.000000 | -               |
/ ~/ t5 n, Q! v1 U8 O" R! A& [7 T| cinder-volume    | controller@lvm  | nova | disabled | down  | 2023-12-30T15:00:28.000000 | -               |
  j! s- ]/ ?% C. ]' h4 Z9 v, E+------------------+-----------------+------+----------+-------+----------------------------+-----------------+
2 B# |; T* A9 ^  k& [" Kroot@controller:~# cinder-manage service remove cinder-volume controller@lvm
8 G+ l" i4 g  `6 HService cinder-volume on host controller@lvm removed.2 ^' o- F, V5 D6 g6 S
root@controller:~# cinder service-list ! T  x, Z# C- s
+------------------+-----------------+------+---------+-------+----------------------------+-----------------+1 V( L/ p8 _- `
| Binary           | Host            | Zone | Status  | State | Updated_at                 | Disabled Reason |
% K8 ~* m( |( a. x4 V: t5 Q5 G# o1 C+------------------+-----------------+------+---------+-------+----------------------------+-----------------+
/ b" Y& g9 X$ i9 T7 z& Z5 H& W$ u| cinder-scheduler | controller      | nova | enabled | up    | 2023-12-30T15:03:28.000000 | -               |- N& F; D8 a% t0 a5 u
| cinder-volume    | controller@ceph | nova | enabled | up    | 2023-12-30T15:03:27.000000 | -               |
' Q% Y& t5 W. Q* g( q6 d7 u% b; D+------------------+-----------------+------+---------+-------+----------------------------+-----------------+! U3 F8 L' c3 T
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-11 23:04 , Processed in 0.016194 second(s), 25 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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