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

楼主 |
发表于 2021-11-30 12:17:51
|
显示全部楼层
openstack 设置service disable状态:
/ z0 L3 |% L/ m" P* Z( o[root@controller1 ~]# openstack compute service set --disable compute09 nova-compute 3 I- q/ ]# S5 G( A+ H# N# V* m
; R" s. R+ X0 j: S: R8 z
删除service1 n; @# O, D( k) ], o R. p
+ n: i: I B5 \/ z6 y' L! p$ W/ m$ ~# Z[root@controller1 ~]# openstack compute service list , A4 K' @* Z/ V7 b8 j; G
+-----+------------------+-------------+-------------+----------+-------+----------------------------+$ O1 b4 ~, t4 W" J! C$ V
| ID | Binary | Host | Zone | Status | State | Updated At |
/ {3 ?( Y; z& \+-----+------------------+-------------+-------------+----------+-------+----------------------------+
3 a# \4 H( l* o: R# }| 3 | nova-scheduler | controller2 | internal | enabled | up | 2021-11-30T03:03:13.000000 |
4 i9 ~" {/ q! U, v/ |* N| 6 | nova-scheduler | controller1 | internal | enabled | up | 2021-11-30T03:03:12.000000 |
; Y% Z0 ^. T4 @! d" J| 9 | nova-scheduler | controller3 | internal | enabled | up | 2021-11-30T03:03:04.000000 |/ H5 T/ Q/ `2 O
| 39 | nova-conductor | controller2 | internal | enabled | up | 2021-11-30T03:03:14.000000 |
% t8 g5 y& k) `9 C+ r| 57 | nova-conductor | controller3 | internal | enabled | up | 2021-11-30T03:03:14.000000 |
! G2 o3 Z6 G0 q- ^4 V' F, Z| 66 | nova-conductor | controller1 | internal | enabled | up | 2021-11-30T03:03:07.000000 |
/ O6 w) u- v2 |3 }" ~4 k, t; C1 Z0 N| 69 | nova-consoleauth | controller2 | internal | enabled | up | 2021-11-30T03:03:13.000000 | R R7 C, y3 e% ~, z
| 72 | nova-consoleauth | controller1 | internal | enabled | up | 2021-11-30T03:03:09.000000 |5 V8 Y* T m- j) A3 M/ v2 C
| 75 | nova-consoleauth | controller3 | internal | enabled | up | 2021-11-30T03:03:09.000000 |, N% \& t1 N0 c$ N. ~# K
| 78 | nova-compute | compute01 | Hygon-5185 | enabled | up | 2021-11-30T03:03:13.000000 |
; W1 g. U+ s9 P9 Q- @' t3 g# O9 R| 81 | nova-compute | compute02 | Hygon-5185 | enabled | up | 2021-11-30T03:03:09.000000 |
8 C2 V$ Z+ V( O| 84 | nova-compute | compute03 | Hygon-5185 | enabled | up | 2021-11-30T03:03:05.000000 |# E. X9 k# q% s
| 87 | nova-compute | compute06 | Hygon-7155 | enabled | up | 2021-11-30T03:03:14.000000 |
8 }# T( e- k. j" X9 J! O| 90 | nova-compute | compute04 | Hygon-7155 | enabled | up | 2021-11-30T03:03:10.000000 |0 l$ P, g: H7 t
| 93 | nova-compute | compute05 | Hygon-7155 | enabled | up | 2021-11-30T03:03:06.000000 |
8 l; w6 s# R( h1 q9 F+ g+ b( V| 96 | nova-compute | compute07 | Hygon-7155 | enabled | up | 2021-11-30T03:03:08.000000 |
( c, }$ J: U( A" m) `( K| 108 | nova-compute | compute08 | Intel-8260M | enabled | up | 2021-11-30T03:03:12.000000 |1 h$ x* x5 J5 f
| 114 | nova-compute | compute09 | Intel-8260M | disabled | down | 2021-11-30T03:01:51.000000 |
7 } j' k, A1 u; g j| 120 | nova-compute | compute10 | Hygon-5185 | enabled | up | 2021-11-30T03:03:10.000000 |
! H) v- D* l6 W. s| 123 | nova-compute | compute11 | Hygon-5185 | enabled | up | 2021-11-30T03:03:06.000000 |
0 J2 q7 z; Y$ ^9 Z& G+-----+------------------+-------------+-------------+----------+-------+----------------------------+$ m# R7 \& Z1 `* U
[root@controller1 ~]# openstack compute service delete 114
1 f- M: i# n/ L[root@controller1 ~]# openstack compute service list
% V+ G1 I" k' e+-----+------------------+-------------+-------------+---------+-------+----------------------------+
$ S" u; R% _# @| ID | Binary | Host | Zone | Status | State | Updated At |
( c" U' G/ N8 V u0 @* }; E+-----+------------------+-------------+-------------+---------+-------+----------------------------+9 f+ y h# A# {
| 3 | nova-scheduler | controller2 | internal | enabled | up | 2021-11-30T03:03:43.000000 |
: s0 f& |( O& [( y [3 ^1 [| 6 | nova-scheduler | controller1 | internal | enabled | up | 2021-11-30T03:03:42.000000 |6 F, [# i0 ]$ B- b4 c
| 9 | nova-scheduler | controller3 | internal | enabled | up | 2021-11-30T03:03:34.000000 |# l0 g: @2 Y, O+ m; P: p2 T7 H7 M
| 39 | nova-conductor | controller2 | internal | enabled | up | 2021-11-30T03:03:44.000000 |( q2 u, E/ C6 J1 b3 A8 ]
| 57 | nova-conductor | controller3 | internal | enabled | up | 2021-11-30T03:03:44.000000 |4 L& _* v: [" q; l. v2 z
| 66 | nova-conductor | controller1 | internal | enabled | up | 2021-11-30T03:03:37.000000 |
+ S" e9 c5 s# l* H4 p| 69 | nova-consoleauth | controller2 | internal | enabled | up | 2021-11-30T03:03:43.000000 |
5 T. u \7 x- e# q, R| 72 | nova-consoleauth | controller1 | internal | enabled | up | 2021-11-30T03:03:39.000000 |
# X0 O' E. W6 f/ X| 75 | nova-consoleauth | controller3 | internal | enabled | up | 2021-11-30T03:03:39.000000 |
3 [- a0 y' T. Z3 H5 W0 R| 78 | nova-compute | compute01 | Hygon-5185 | enabled | up | 2021-11-30T03:03:43.000000 |" Z7 c8 `% J5 g' L/ m6 J3 B
| 81 | nova-compute | compute02 | Hygon-5185 | enabled | up | 2021-11-30T03:03:39.000000 |
9 `, }& p# t0 C0 H, i _| 84 | nova-compute | compute03 | Hygon-5185 | enabled | up | 2021-11-30T03:03:35.000000 |) ~# E: N# v5 r7 Y4 p# S
| 87 | nova-compute | compute06 | Hygon-7155 | enabled | up | 2021-11-30T03:03:44.000000 |
/ X$ n& H4 ^6 S& T0 z1 j| 90 | nova-compute | compute04 | Hygon-7155 | enabled | up | 2021-11-30T03:03:40.000000 |
2 Q/ @# z. x9 V| 93 | nova-compute | compute05 | Hygon-7155 | enabled | up | 2021-11-30T03:03:36.000000 |% x) W7 r4 q! j+ L0 \, _, }1 R
| 96 | nova-compute | compute07 | Hygon-7155 | enabled | up | 2021-11-30T03:03:38.000000 |
) Q P% h& M! G7 e: q- J3 T| 108 | nova-compute | compute08 | Intel-8260M | enabled | up | 2021-11-30T03:03:42.000000 |& S! }! F2 \' S$ @, P
| 120 | nova-compute | compute10 | Hygon-5185 | enabled | up | 2021-11-30T03:03:40.000000 |
! L5 H+ [# }( n) P| 123 | nova-compute | compute11 | Hygon-5185 | enabled | up | 2021-11-30T03:03:36.000000 |
) M& _: T( L- Q+-----+------------------+-------------+-------------+---------+-------+----------------------------+
* D6 c! ]- V b. _) z) S( o |
|