- 积分
- 16840
在线时间 小时
最后登录1970-1-1
|

楼主 |
发表于 2021-11-30 12:17:51
|
显示全部楼层
openstack 设置service disable状态:
- d/ l6 H$ `" ?1 Q& e/ s! D+ H[root@controller1 ~]# openstack compute service set --disable compute09 nova-compute ( _! l6 {: Q% h1 y2 H4 O
: D. |3 X; }" A2 u" P
删除service* o5 z4 o9 k9 s- Z0 S
2 Y6 v1 ?' b7 T! \& o; \2 N
[root@controller1 ~]# openstack compute service list # @! B* `+ r6 V1 F8 o* u1 f
+-----+------------------+-------------+-------------+----------+-------+----------------------------+0 D1 Q# |9 i/ n/ ?
| ID | Binary | Host | Zone | Status | State | Updated At |* d& B( x/ K% Y' a) N) |2 H9 T
+-----+------------------+-------------+-------------+----------+-------+----------------------------+
2 E$ s2 X1 R5 g1 o( Q| 3 | nova-scheduler | controller2 | internal | enabled | up | 2021-11-30T03:03:13.000000 |
) l8 w# [, J! _0 ~4 Z+ u| 6 | nova-scheduler | controller1 | internal | enabled | up | 2021-11-30T03:03:12.000000 |* q. Z. V' B$ K, p
| 9 | nova-scheduler | controller3 | internal | enabled | up | 2021-11-30T03:03:04.000000 |. @4 u, |8 Z: _# W( {7 ]
| 39 | nova-conductor | controller2 | internal | enabled | up | 2021-11-30T03:03:14.000000 |
- V5 F: y& _- T| 57 | nova-conductor | controller3 | internal | enabled | up | 2021-11-30T03:03:14.000000 |' |; s0 @& d( [1 v+ _" W0 e6 M4 t
| 66 | nova-conductor | controller1 | internal | enabled | up | 2021-11-30T03:03:07.000000 |
) m, h4 m# A' e, i7 v0 C| 69 | nova-consoleauth | controller2 | internal | enabled | up | 2021-11-30T03:03:13.000000 |
5 I" q4 ^3 J2 ]' M8 Z( K( s& b| 72 | nova-consoleauth | controller1 | internal | enabled | up | 2021-11-30T03:03:09.000000 |
7 j( o2 I- h: R/ K( q. w3 a| 75 | nova-consoleauth | controller3 | internal | enabled | up | 2021-11-30T03:03:09.000000 |. P. a& h' {! Q6 X+ E3 V4 N
| 78 | nova-compute | compute01 | Hygon-5185 | enabled | up | 2021-11-30T03:03:13.000000 |
* E0 {9 U- v4 `, V8 C9 F" O9 A& A| 81 | nova-compute | compute02 | Hygon-5185 | enabled | up | 2021-11-30T03:03:09.000000 |! [' {! z8 E t1 w# P, ^! y
| 84 | nova-compute | compute03 | Hygon-5185 | enabled | up | 2021-11-30T03:03:05.000000 |
5 I8 U+ R, [2 r4 |! X# Q| 87 | nova-compute | compute06 | Hygon-7155 | enabled | up | 2021-11-30T03:03:14.000000 |
- Y' F% Q/ {* H) J' E| 90 | nova-compute | compute04 | Hygon-7155 | enabled | up | 2021-11-30T03:03:10.000000 |
1 [9 k, P+ r A- P| 93 | nova-compute | compute05 | Hygon-7155 | enabled | up | 2021-11-30T03:03:06.000000 |+ ^ j; k, v6 G/ O. w2 h/ m/ e: A! e* `
| 96 | nova-compute | compute07 | Hygon-7155 | enabled | up | 2021-11-30T03:03:08.000000 |
8 v7 Z9 R. D+ B# s, B7 Z* e| 108 | nova-compute | compute08 | Intel-8260M | enabled | up | 2021-11-30T03:03:12.000000 |( |1 a7 `) @: f2 Y: a! ~
| 114 | nova-compute | compute09 | Intel-8260M | disabled | down | 2021-11-30T03:01:51.000000 |
; c) W* M N s| 120 | nova-compute | compute10 | Hygon-5185 | enabled | up | 2021-11-30T03:03:10.000000 |
6 a$ U6 [( t" e- @5 a( r| 123 | nova-compute | compute11 | Hygon-5185 | enabled | up | 2021-11-30T03:03:06.000000 |" p+ I+ J# ^" S" n3 X
+-----+------------------+-------------+-------------+----------+-------+----------------------------+- N' ?' \$ R6 L. g
[root@controller1 ~]# openstack compute service delete 114
% W$ {/ e3 g5 D; K5 ?[root@controller1 ~]# openstack compute service list
) i# u: a- ~( z* Z+-----+------------------+-------------+-------------+---------+-------+----------------------------+9 _. F2 }4 L& Y4 b3 g; z
| ID | Binary | Host | Zone | Status | State | Updated At |$ _8 `9 L! [4 ~3 U7 F7 y
+-----+------------------+-------------+-------------+---------+-------+----------------------------+& Y& g) n: y+ W0 R
| 3 | nova-scheduler | controller2 | internal | enabled | up | 2021-11-30T03:03:43.000000 |
/ O8 _& A# p. C! V) J! M| 6 | nova-scheduler | controller1 | internal | enabled | up | 2021-11-30T03:03:42.000000 |+ H5 N9 s2 @% b5 j
| 9 | nova-scheduler | controller3 | internal | enabled | up | 2021-11-30T03:03:34.000000 |
# |- Y. |+ a- O" f1 {$ q| 39 | nova-conductor | controller2 | internal | enabled | up | 2021-11-30T03:03:44.000000 |
( @9 I5 Y* m# B8 T2 E6 {| 57 | nova-conductor | controller3 | internal | enabled | up | 2021-11-30T03:03:44.000000 |+ h6 F1 Y7 P: ^+ Q# ^
| 66 | nova-conductor | controller1 | internal | enabled | up | 2021-11-30T03:03:37.000000 |
% C+ W U3 E; D5 S8 D& y7 h| 69 | nova-consoleauth | controller2 | internal | enabled | up | 2021-11-30T03:03:43.000000 |
" d4 v! y; H; m# K| 72 | nova-consoleauth | controller1 | internal | enabled | up | 2021-11-30T03:03:39.000000 |
2 m z% J" L; T+ C; |, \# a| 75 | nova-consoleauth | controller3 | internal | enabled | up | 2021-11-30T03:03:39.000000 |
' F& a* {6 x1 f9 q" Z, f( a| 78 | nova-compute | compute01 | Hygon-5185 | enabled | up | 2021-11-30T03:03:43.000000 |' x; D& e, H" v$ c. ? G- B, h Z
| 81 | nova-compute | compute02 | Hygon-5185 | enabled | up | 2021-11-30T03:03:39.000000 |, D* b3 ]$ x2 _, x/ [
| 84 | nova-compute | compute03 | Hygon-5185 | enabled | up | 2021-11-30T03:03:35.000000 |
8 z& t, m0 v% }: b| 87 | nova-compute | compute06 | Hygon-7155 | enabled | up | 2021-11-30T03:03:44.000000 |
/ {8 w9 J P6 p7 K' m* C| 90 | nova-compute | compute04 | Hygon-7155 | enabled | up | 2021-11-30T03:03:40.000000 |- G8 ^+ v1 {1 i9 X& h6 f1 s
| 93 | nova-compute | compute05 | Hygon-7155 | enabled | up | 2021-11-30T03:03:36.000000 |
3 C% h" W" @6 d" G. N7 t| 96 | nova-compute | compute07 | Hygon-7155 | enabled | up | 2021-11-30T03:03:38.000000 |6 D) z7 o& [8 Z1 h+ ^5 F$ n
| 108 | nova-compute | compute08 | Intel-8260M | enabled | up | 2021-11-30T03:03:42.000000 |/ b" O/ W4 s @7 s: b4 |) Y
| 120 | nova-compute | compute10 | Hygon-5185 | enabled | up | 2021-11-30T03:03:40.000000 |# T; [' R& d4 [9 a% V1 l S
| 123 | nova-compute | compute11 | Hygon-5185 | enabled | up | 2021-11-30T03:03:36.000000 |
$ I6 ^ O% @4 b+-----+------------------+-------------+-------------+---------+-------+----------------------------+
* v+ B6 @% C8 \( s' H |
|