|
|
openstack 设置service disable状态:( K) n; u' Q H' S# L
# openstack compute service set --disable compute09 nova-compute+ r% v0 U' y7 p* ]+ H
9 u) s$ O# }2 M0 H4 b# Y- U- j删除service
" |% y& c3 c6 K- o) c! y+ j% _8 n9 [ S
# openstack compute service list
+ V3 x3 F% t' F. G2 U( F+-----+------------------+-------------+-------------+----------+-------+----------------------------+
6 A0 |* J" X. P8 Z| ID | Binary | Host | Zone | Status | State | Updated At |
, E: j% ]- m6 H+ z% M+-----+------------------+-------------+-------------+----------+-------+----------------------------+) b, Y& `6 |5 G$ k4 S' r, r
| 3 | nova-scheduler | controller2 | internal | enabled | up | 2021-11-30T03:03:13.000000 |
# P( ] k+ Q( z$ {0 ~| 6 | nova-scheduler | controller1 | internal | enabled | up | 2021-11-30T03:03:12.000000 |+ s. u. i* H4 z K! X, ]
| 9 | nova-scheduler | controller3 | internal | enabled | up | 2021-11-30T03:03:04.000000 |8 n9 I* W0 Q/ d+ o7 L+ l
| 39 | nova-conductor | controller2 | internal | enabled | up | 2021-11-30T03:03:14.000000 |+ E; j6 l; S8 b% W5 O
| 57 | nova-conductor | controller3 | internal | enabled | up | 2021-11-30T03:03:14.000000 |) J2 }0 y* W" D# }. B% u+ a3 u! `2 N1 l
| 66 | nova-conductor | controller1 | internal | enabled | up | 2021-11-30T03:03:07.000000 |. L- l. S% {6 [ r8 o s
| 69 | nova-consoleauth | controller2 | internal | enabled | up | 2021-11-30T03:03:13.000000 |0 ?2 @2 I+ ~2 s7 c; r9 Y
| 72 | nova-consoleauth | controller1 | internal | enabled | up | 2021-11-30T03:03:09.000000 |
3 J4 A8 d- a/ t/ o- O6 Y2 T| 75 | nova-consoleauth | controller3 | internal | enabled | up | 2021-11-30T03:03:09.000000 |+ |9 H1 S2 ^( d; x$ v$ a. E6 s% j- o4 N
| 78 | nova-compute | compute01 | Hygon-5185 | enabled | up | 2021-11-30T03:03:13.000000 |
2 k! e# _' I3 x; ]: F| 81 | nova-compute | compute02 | Hygon-5185 | enabled | up | 2021-11-30T03:03:09.000000 |
# F$ |0 V- J k5 R| 84 | nova-compute | compute03 | Hygon-5185 | enabled | up | 2021-11-30T03:03:05.000000 |0 B* y1 Z9 |8 |% f) g4 }
| 87 | nova-compute | compute06 | Hygon-7155 | enabled | up | 2021-11-30T03:03:14.000000 |
6 K" i, L( g- g2 S6 ~8 p| 90 | nova-compute | compute04 | Hygon-7155 | enabled | up | 2021-11-30T03:03:10.000000 |: m- ?! |. X/ j
| 93 | nova-compute | compute05 | Hygon-7155 | enabled | up | 2021-11-30T03:03:06.000000 |
1 k& i6 B9 F4 m. d3 I| 96 | nova-compute | compute07 | Hygon-7155 | enabled | up | 2021-11-30T03:03:08.000000 |
' c( {. X, Q" ^4 K: p' f| 108 | nova-compute | compute08 | Intel-8260M | enabled | up | 2021-11-30T03:03:12.000000 |
5 H/ j9 ?4 I7 Y& t/ _| 114 | nova-compute | compute09 | Intel-8260M | disabled | down | 2021-11-30T03:01:51.000000 |
& ^! K) }# Y. h' u7 T6 s| 120 | nova-compute | compute10 | Hygon-5185 | enabled | up | 2021-11-30T03:03:10.000000 |
$ b* w' f% q8 h- ] G| 123 | nova-compute | compute11 | Hygon-5185 | enabled | up | 2021-11-30T03:03:06.000000 |
+ Z# `7 ?" V- y9 i ?/ H+-----+------------------+-------------+-------------+----------+-------+----------------------------+
/ }# e3 O" k* ~' Y* j3 |$ u' U* b# openstack compute service delete 114
/ Y0 O8 i. z( c: F+ H S1 ]8 R# openstack compute service list1 B( h- F7 O3 j; m6 p
+-----+------------------+-------------+-------------+---------+-------+----------------------------+5 s$ w2 k# L! E; c5 H+ Z
| ID | Binary | Host | Zone | Status | State | Updated At |( u# Y, F3 O K
+-----+------------------+-------------+-------------+---------+-------+----------------------------+
, i% Z; M* M5 l* c. B7 B| 3 | nova-scheduler | controller2 | internal | enabled | up | 2021-11-30T03:03:43.000000 | I1 r! [8 u. h& W: p9 ]
| 6 | nova-scheduler | controller1 | internal | enabled | up | 2021-11-30T03:03:42.000000 |. l7 C6 i% r% R, ~7 P1 k+ z
| 9 | nova-scheduler | controller3 | internal | enabled | up | 2021-11-30T03:03:34.000000 |6 [- d: z: e) u' N$ {! Q
| 39 | nova-conductor | controller2 | internal | enabled | up | 2021-11-30T03:03:44.000000 |! r2 J0 x, r% i* u1 c
| 57 | nova-conductor | controller3 | internal | enabled | up | 2021-11-30T03:03:44.000000 |
3 X' o3 R+ L; ?7 @, i6 d| 66 | nova-conductor | controller1 | internal | enabled | up | 2021-11-30T03:03:37.000000 |: l, P0 u8 Z. R: ]) F( N E
| 69 | nova-consoleauth | controller2 | internal | enabled | up | 2021-11-30T03:03:43.000000 |' `; a; _! B% S4 E, z. L
| 72 | nova-consoleauth | controller1 | internal | enabled | up | 2021-11-30T03:03:39.000000 |7 b& y9 `! d( L; z: x5 x0 S
| 75 | nova-consoleauth | controller3 | internal | enabled | up | 2021-11-30T03:03:39.000000 |
& d1 P- P1 F( W( Q8 p& a| 78 | nova-compute | compute01 | Hygon-5185 | enabled | up | 2021-11-30T03:03:43.000000 |
5 Z* E$ `4 v+ ~9 @) W8 r| 81 | nova-compute | compute02 | Hygon-5185 | enabled | up | 2021-11-30T03:03:39.000000 |
8 B2 @" U0 {% @9 d| 84 | nova-compute | compute03 | Hygon-5185 | enabled | up | 2021-11-30T03:03:35.000000 |8 N b+ k7 A2 N" L
| 87 | nova-compute | compute06 | Hygon-7155 | enabled | up | 2021-11-30T03:03:44.000000 |9 G5 U G# |: `4 w8 [
| 90 | nova-compute | compute04 | Hygon-7155 | enabled | up | 2021-11-30T03:03:40.000000 |
( u7 Q# N* H+ h! T/ i9 Q+ A| 93 | nova-compute | compute05 | Hygon-7155 | enabled | up | 2021-11-30T03:03:36.000000 |
) M9 B6 t( n, S" k4 l4 k4 o| 96 | nova-compute | compute07 | Hygon-7155 | enabled | up | 2021-11-30T03:03:38.000000 | e: e1 @8 E* Q2 m
| 108 | nova-compute | compute08 | Intel-8260M | enabled | up | 2021-11-30T03:03:42.000000 |, h( D2 P; ?( F7 r2 ]3 ~
| 120 | nova-compute | compute10 | Hygon-5185 | enabled | up | 2021-11-30T03:03:40.000000 |# c9 ~7 I! t. p& x% y2 }
| 123 | nova-compute | compute11 | Hygon-5185 | enabled | up | 2021-11-30T03:03:36.000000 |
( ^+ v& s, l. t% K: M$ Y/ L |" E+-----+------------------+-------------+-------------+---------+-------+----------------------------+
& b: y9 J' w9 L" |4 U/ R. i+ ~) m# n- ]
|
|