|
|
楼主 |
发表于 2021-11-30 12:17:51
|
显示全部楼层
openstack 设置service disable状态:8 O( c% @7 v% z6 V5 q7 b
[root@controller1 ~]# openstack compute service set --disable compute09 nova-compute - D7 a( d, @& |) v* W' ]9 D/ N; ~
" f4 p( [. P- w5 D
删除service
/ y' [# k. g% f, B* l7 i2 u6 m- D9 h
[root@controller1 ~]# openstack compute service list 6 |/ `2 l" I+ q+ W+ @; j9 g
+-----+------------------+-------------+-------------+----------+-------+----------------------------+
# X3 z) j! ?) k2 u [. ^: o* {. @| ID | Binary | Host | Zone | Status | State | Updated At |) k4 Z+ t( d# M
+-----+------------------+-------------+-------------+----------+-------+----------------------------+2 V ?( j9 e/ g9 W" Y6 G
| 3 | nova-scheduler | controller2 | internal | enabled | up | 2021-11-30T03:03:13.000000 |: ?' } S/ G: V! H: t2 g; F3 {
| 6 | nova-scheduler | controller1 | internal | enabled | up | 2021-11-30T03:03:12.000000 |- z7 u" L/ ]! O; Z& @
| 9 | nova-scheduler | controller3 | internal | enabled | up | 2021-11-30T03:03:04.000000 |
& ?* C2 J+ w3 Y2 `9 ^3 j# d| 39 | nova-conductor | controller2 | internal | enabled | up | 2021-11-30T03:03:14.000000 |
+ Y* V- \$ l8 l6 L| 57 | nova-conductor | controller3 | internal | enabled | up | 2021-11-30T03:03:14.000000 |$ T$ ^% {! _& V
| 66 | nova-conductor | controller1 | internal | enabled | up | 2021-11-30T03:03:07.000000 |
2 Z5 h6 q B/ h) X q| 69 | nova-consoleauth | controller2 | internal | enabled | up | 2021-11-30T03:03:13.000000 |
- M6 i0 @0 p- u4 X" D2 u- b( |1 `| 72 | nova-consoleauth | controller1 | internal | enabled | up | 2021-11-30T03:03:09.000000 |
6 p- `5 S3 F/ u+ w* \- H| 75 | nova-consoleauth | controller3 | internal | enabled | up | 2021-11-30T03:03:09.000000 |# @/ Q; k; m6 b- R( l
| 78 | nova-compute | compute01 | Hygon-5185 | enabled | up | 2021-11-30T03:03:13.000000 |
0 z/ w, N9 a: |% X0 F| 81 | nova-compute | compute02 | Hygon-5185 | enabled | up | 2021-11-30T03:03:09.000000 |
5 L+ v4 a* ^# @8 X| 84 | nova-compute | compute03 | Hygon-5185 | enabled | up | 2021-11-30T03:03:05.000000 |% q9 }7 i- y1 l1 }& d! u
| 87 | nova-compute | compute06 | Hygon-7155 | enabled | up | 2021-11-30T03:03:14.000000 |
3 _/ M( P K7 j| 90 | nova-compute | compute04 | Hygon-7155 | enabled | up | 2021-11-30T03:03:10.000000 |& ]. O" F0 B3 `# w
| 93 | nova-compute | compute05 | Hygon-7155 | enabled | up | 2021-11-30T03:03:06.000000 |1 l4 M& e# G8 I# k3 m( y4 S
| 96 | nova-compute | compute07 | Hygon-7155 | enabled | up | 2021-11-30T03:03:08.000000 |8 S0 w+ P* u5 {& `
| 108 | nova-compute | compute08 | Intel-8260M | enabled | up | 2021-11-30T03:03:12.000000 |
8 y3 _& Q1 q; j' H, U+ a| 114 | nova-compute | compute09 | Intel-8260M | disabled | down | 2021-11-30T03:01:51.000000 |7 x2 L7 G# H+ z+ N' f! j
| 120 | nova-compute | compute10 | Hygon-5185 | enabled | up | 2021-11-30T03:03:10.000000 |
& V( V3 [ g b; u) y( o6 c3 U1 k| 123 | nova-compute | compute11 | Hygon-5185 | enabled | up | 2021-11-30T03:03:06.000000 |
9 `" h1 `/ Z5 M8 b+-----+------------------+-------------+-------------+----------+-------+----------------------------+
( u& t* f8 I/ ^[root@controller1 ~]# openstack compute service delete 114
- M) G0 Y2 J5 [2 G& t; ~3 T8 z[root@controller1 ~]# openstack compute service list
! F$ `. v2 H' K+ Z+-----+------------------+-------------+-------------+---------+-------+----------------------------+ [, b. \9 g4 S& e
| ID | Binary | Host | Zone | Status | State | Updated At |
' h; O& v. O% E. t3 x# T) E; L+-----+------------------+-------------+-------------+---------+-------+----------------------------+) B7 C' q$ r3 ~, r/ z
| 3 | nova-scheduler | controller2 | internal | enabled | up | 2021-11-30T03:03:43.000000 |# G: s: m5 b/ m7 H
| 6 | nova-scheduler | controller1 | internal | enabled | up | 2021-11-30T03:03:42.000000 |
" {7 e0 C% V1 G' L3 p| 9 | nova-scheduler | controller3 | internal | enabled | up | 2021-11-30T03:03:34.000000 |
6 n; r+ I& O* @2 V9 z# e) ]# F| 39 | nova-conductor | controller2 | internal | enabled | up | 2021-11-30T03:03:44.000000 |8 k1 f7 C2 {& S' g
| 57 | nova-conductor | controller3 | internal | enabled | up | 2021-11-30T03:03:44.000000 |7 ?* p5 D' ~3 y, i1 ?% d8 U- X- J
| 66 | nova-conductor | controller1 | internal | enabled | up | 2021-11-30T03:03:37.000000 |! o3 x: {+ a. o; H
| 69 | nova-consoleauth | controller2 | internal | enabled | up | 2021-11-30T03:03:43.000000 |
/ U; B. h' Y$ q& ], Z, ^. B: g| 72 | nova-consoleauth | controller1 | internal | enabled | up | 2021-11-30T03:03:39.000000 |$ ^9 ~* i" M# e9 { \
| 75 | nova-consoleauth | controller3 | internal | enabled | up | 2021-11-30T03:03:39.000000 |! f7 L$ V5 I: b# }+ s3 {# j3 g
| 78 | nova-compute | compute01 | Hygon-5185 | enabled | up | 2021-11-30T03:03:43.000000 |. m$ u6 d% V0 u; N/ V9 H1 y
| 81 | nova-compute | compute02 | Hygon-5185 | enabled | up | 2021-11-30T03:03:39.000000 |
/ R# b( h" n8 Q5 E( r+ O4 Z5 R| 84 | nova-compute | compute03 | Hygon-5185 | enabled | up | 2021-11-30T03:03:35.000000 |/ G T6 C1 H1 L( u/ b" C# ^2 i2 [
| 87 | nova-compute | compute06 | Hygon-7155 | enabled | up | 2021-11-30T03:03:44.000000 |
2 P- n. s2 x7 G& [0 d| 90 | nova-compute | compute04 | Hygon-7155 | enabled | up | 2021-11-30T03:03:40.000000 |: ~" _: b- X8 W) h3 n! v( v4 r \
| 93 | nova-compute | compute05 | Hygon-7155 | enabled | up | 2021-11-30T03:03:36.000000 |
- T" O' a) k4 k8 p" [7 ]' |9 ]| 96 | nova-compute | compute07 | Hygon-7155 | enabled | up | 2021-11-30T03:03:38.000000 |: T% G" n8 T2 W& o* M
| 108 | nova-compute | compute08 | Intel-8260M | enabled | up | 2021-11-30T03:03:42.000000 |
2 w& t9 H- x; Z! H1 @( _/ k| 120 | nova-compute | compute10 | Hygon-5185 | enabled | up | 2021-11-30T03:03:40.000000 |9 F, Q; u# Y8 B( e/ [4 S1 U( B. f0 y
| 123 | nova-compute | compute11 | Hygon-5185 | enabled | up | 2021-11-30T03:03:36.000000 |* t. h* c `6 ]% x Y" f5 F, r' V5 ?
+-----+------------------+-------------+-------------+---------+-------+----------------------------+
; x$ _4 r7 d1 e- z |
|