|
|
楼主 |
发表于 2021-11-30 12:17:51
|
显示全部楼层
openstack 设置service disable状态: }0 ?0 ?9 p" F4 f+ c/ v
[root@controller1 ~]# openstack compute service set --disable compute09 nova-compute 9 q8 B9 {7 o' ^8 Q7 V2 a( e
3 O6 V: l( Q- j1 W+ c9 J删除service+ x" e0 ?8 A( p
) }: W+ s3 z5 V: `, L' N[root@controller1 ~]# openstack compute service list
- ]4 O* a0 ^* `3 n1 `8 P! q, |3 u+-----+------------------+-------------+-------------+----------+-------+----------------------------+
9 H: a; O p7 S$ }7 i| ID | Binary | Host | Zone | Status | State | Updated At |* d1 C8 Y5 k( ]9 z% M
+-----+------------------+-------------+-------------+----------+-------+----------------------------+
; ]- w" m9 G: U8 c7 u& K2 \% ~| 3 | nova-scheduler | controller2 | internal | enabled | up | 2021-11-30T03:03:13.000000 |
; S9 j0 z* B) x6 d( b' e| 6 | nova-scheduler | controller1 | internal | enabled | up | 2021-11-30T03:03:12.000000 |6 X4 B1 r8 H3 J2 C
| 9 | nova-scheduler | controller3 | internal | enabled | up | 2021-11-30T03:03:04.000000 |8 t9 e2 }" N: ], m3 O: D7 h1 R
| 39 | nova-conductor | controller2 | internal | enabled | up | 2021-11-30T03:03:14.000000 |
( _8 n6 j9 a/ _8 u+ z| 57 | nova-conductor | controller3 | internal | enabled | up | 2021-11-30T03:03:14.000000 |
$ B# |1 p7 M4 `! W| 66 | nova-conductor | controller1 | internal | enabled | up | 2021-11-30T03:03:07.000000 |
$ H# x+ G- F- W8 \/ i4 E| 69 | nova-consoleauth | controller2 | internal | enabled | up | 2021-11-30T03:03:13.000000 |9 S5 C0 f& Z1 f4 Y/ f+ O4 X7 Y
| 72 | nova-consoleauth | controller1 | internal | enabled | up | 2021-11-30T03:03:09.000000 |
. A. S/ ~3 I; {4 L( R| 75 | nova-consoleauth | controller3 | internal | enabled | up | 2021-11-30T03:03:09.000000 |! m! ]0 g. Q2 D
| 78 | nova-compute | compute01 | Hygon-5185 | enabled | up | 2021-11-30T03:03:13.000000 |# l/ Q1 X- r1 |0 E
| 81 | nova-compute | compute02 | Hygon-5185 | enabled | up | 2021-11-30T03:03:09.000000 |
3 F, [& S. Q5 h5 I. s| 84 | nova-compute | compute03 | Hygon-5185 | enabled | up | 2021-11-30T03:03:05.000000 |& ?7 i& N7 s6 P' d$ H: ?
| 87 | nova-compute | compute06 | Hygon-7155 | enabled | up | 2021-11-30T03:03:14.000000 |
% r) D9 m0 G% z0 P! U" _| 90 | nova-compute | compute04 | Hygon-7155 | enabled | up | 2021-11-30T03:03:10.000000 |
: h1 F* ?0 a4 S3 N& x8 v7 K| 93 | nova-compute | compute05 | Hygon-7155 | enabled | up | 2021-11-30T03:03:06.000000 |/ R: z' ^% w6 A! e- o- ~
| 96 | nova-compute | compute07 | Hygon-7155 | enabled | up | 2021-11-30T03:03:08.000000 |
% b4 Z" f- U" Z7 u W. ^. K9 R| 108 | nova-compute | compute08 | Intel-8260M | enabled | up | 2021-11-30T03:03:12.000000 |& w; U, ~- x3 |: }; j% o# Q
| 114 | nova-compute | compute09 | Intel-8260M | disabled | down | 2021-11-30T03:01:51.000000 |2 L9 V7 t/ }- c7 F. g' C) J& s: y
| 120 | nova-compute | compute10 | Hygon-5185 | enabled | up | 2021-11-30T03:03:10.000000 |
) L8 h G1 z: m' ^( k0 O8 W. \| 123 | nova-compute | compute11 | Hygon-5185 | enabled | up | 2021-11-30T03:03:06.000000 |
* L" s7 ?2 o0 W5 L/ h& {+-----+------------------+-------------+-------------+----------+-------+----------------------------+
7 A9 X7 L9 L; E M[root@controller1 ~]# openstack compute service delete 114 * a! h$ i! Y+ i3 u' B1 Q4 h6 H
[root@controller1 ~]# openstack compute service list 0 b% E4 W: x( @( S
+-----+------------------+-------------+-------------+---------+-------+----------------------------+# s7 }* I; X; a; G: D. K
| ID | Binary | Host | Zone | Status | State | Updated At |* d: X+ J/ c- Y
+-----+------------------+-------------+-------------+---------+-------+----------------------------+9 c: l4 f0 S! F8 R
| 3 | nova-scheduler | controller2 | internal | enabled | up | 2021-11-30T03:03:43.000000 |
) y; a D( R6 C* D| 6 | nova-scheduler | controller1 | internal | enabled | up | 2021-11-30T03:03:42.000000 |
( }+ _* g7 X) ^9 a5 M: h| 9 | nova-scheduler | controller3 | internal | enabled | up | 2021-11-30T03:03:34.000000 |; p# N. j0 W7 e0 O( P$ o
| 39 | nova-conductor | controller2 | internal | enabled | up | 2021-11-30T03:03:44.000000 |: ]1 e4 P7 O T. a' S6 E% Z2 S
| 57 | nova-conductor | controller3 | internal | enabled | up | 2021-11-30T03:03:44.000000 |
0 G4 A9 U5 o0 s! e| 66 | nova-conductor | controller1 | internal | enabled | up | 2021-11-30T03:03:37.000000 |& {" o: N5 `* ?6 U5 D
| 69 | nova-consoleauth | controller2 | internal | enabled | up | 2021-11-30T03:03:43.000000 |
8 Q: g" y0 D6 y: m# L| 72 | nova-consoleauth | controller1 | internal | enabled | up | 2021-11-30T03:03:39.000000 |
6 i$ t6 [& }( z, E| 75 | nova-consoleauth | controller3 | internal | enabled | up | 2021-11-30T03:03:39.000000 |4 j; h- K& i2 r- `/ d. Q
| 78 | nova-compute | compute01 | Hygon-5185 | enabled | up | 2021-11-30T03:03:43.000000 |
( c% |9 A' `5 L; N& _7 j W| 81 | nova-compute | compute02 | Hygon-5185 | enabled | up | 2021-11-30T03:03:39.000000 |% E2 [' T! w: H# B. O6 }! |
| 84 | nova-compute | compute03 | Hygon-5185 | enabled | up | 2021-11-30T03:03:35.000000 |
" h& G% ~' T% O9 d5 D2 I- e' F| 87 | nova-compute | compute06 | Hygon-7155 | enabled | up | 2021-11-30T03:03:44.000000 |3 d6 Y7 A$ h! x3 J# e Z
| 90 | nova-compute | compute04 | Hygon-7155 | enabled | up | 2021-11-30T03:03:40.000000 |, P& B: E( o( f
| 93 | nova-compute | compute05 | Hygon-7155 | enabled | up | 2021-11-30T03:03:36.000000 |
. P+ U& j: M# p% c/ r; P0 ~| 96 | nova-compute | compute07 | Hygon-7155 | enabled | up | 2021-11-30T03:03:38.000000 |4 z9 M$ u7 q' V/ B* I
| 108 | nova-compute | compute08 | Intel-8260M | enabled | up | 2021-11-30T03:03:42.000000 |
% g% Y. ~, L# r: W7 K0 |+ d| 120 | nova-compute | compute10 | Hygon-5185 | enabled | up | 2021-11-30T03:03:40.000000 |& y, \, q8 l8 Z% [. O+ [
| 123 | nova-compute | compute11 | Hygon-5185 | enabled | up | 2021-11-30T03:03:36.000000 |
. {5 F) A" _% k: l2 U# W' N5 g+-----+------------------+-------------+-------------+---------+-------+----------------------------+3 D$ m9 ~( l" v+ ^
|
|