找回密码
 注册
查看: 48|回复: 0

nova 虚机热迁移超时时间 live_migration_progress_timeout 以及set state active状态

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2023-12-5 17:30:00 | 显示全部楼层 |阅读模式
  • Check the value for live migration timeout on the hypervisor to see if a value higher than 0 is set.0 O" o' G% W/ [% C, O, S2 q+ L
less /etc/nova/nova.conf | grep timeout 0 @2 F* d9 i9 q- |. f5 L, f
rpc_response_timeout=604 x" [: q; B& p7 o8 m
vif_plugging_timeout=300' f9 |" D1 J+ v) g4 b. U- J$ r% q
# Deprecated group/name - [DEFAULT]/sql_idle_timeout
! i  R' }0 f: l8 v8 d+ F, \7 g' n. ~# Deprecated group/name - [DATABASE]/sql_idle_timeout: c0 a( R: r1 ?) p0 r  |
# Deprecated group/name - [sql]/idle_timeout
( n. T6 O2 H' ~* z( A$ ?#idle_timeout=3600# q9 {+ q3 q6 m7 x9 y4 N
# If set, use this value for pool_timeout with SQLAlchemy.$ n2 v! b, T; v' }
# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
- V; I( y$ G, u! o. c6 J, E#pool_timeout=<None>
9 \7 }8 y% d1 y6 Jtimeout=30" H0 W  [& ~% V

6 v6 N. J& L* M- c3 z) x2 h#配置 迁移超时时间:
7 U. ~; ?- I9 H4 D2 y1 |/ o. Dlive_migration_progress_timeout = 0    8 H% o6 D) _7 d9 Z- e: f  R
7 A+ C: N- }, \8 K
* I" A( k# b& D: ^+ E
  • If the value is set to anything higher than 0, wait for the instance migration to timeout.
  • If the value is set to 0, run the following command to set the instance in an ACTIVE state
    ) e# e9 {" c/ F
openstack server set --state active f2350d9c-8c26-4926-99ab-62bf705cd   
5 Q  s9 Q& c2 e0 Y- Popenstack server set --state active <instance-uuid>
# m. t+ i+ a, Y0 Z
5 C7 q0 U8 N2 D& e7 t
; `6 Q  z. @( w8 n

6 H4 n  w( ^& W- `* ?& c
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 01:01 , Processed in 0.014620 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表