易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 44|回复: 0
收起左侧

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

[复制链接]
发表于 2023-12-5 17:30:00 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
  • Check the value for live migration timeout on the hypervisor to see if a value higher than 0 is set.: N2 w5 ^2 [1 @1 Q" p2 ]0 }
less /etc/nova/nova.conf | grep timeout 5 h( Q+ O; n; a) x# Z5 s
rpc_response_timeout=60+ M+ L( A: M& Y  I# m0 U
vif_plugging_timeout=300
& v5 w: |2 K, ~. B- F$ ~# Deprecated group/name - [DEFAULT]/sql_idle_timeout
( x( z" g6 }4 Y, B# {# Deprecated group/name - [DATABASE]/sql_idle_timeout
9 O5 m3 ^. O/ Q' E7 c: C  W# Deprecated group/name - [sql]/idle_timeout
7 m5 I$ J( i6 K+ ~#idle_timeout=3600
! D6 c) l. l) Q1 |7 j# If set, use this value for pool_timeout with SQLAlchemy.6 C. V. I9 ]. F/ v$ ^
# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout" n* |# t5 P# G( f
#pool_timeout=<None>
: D/ q$ v" N3 R7 i" @timeout=30+ S. N' c& S0 x: c. c" ?
5 `9 q  X4 Y6 l3 k6 D+ M, u4 c. t) p
#配置 迁移超时时间:# R7 I9 a( M& t2 j8 p, G
live_migration_progress_timeout = 0    1 c- N& Q1 k& R2 x& x2 }: I% U  p
3 B) c' T( W3 y7 M" D/ B9 J

5 p6 [; D- o- {; Z1 d& _
  • 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
    8 v! }6 N( ^9 X' k# {6 s
openstack server set --state active f2350d9c-8c26-4926-99ab-62bf705cd   3 x  @  V, @" M7 H: O& S
openstack server set --state active <instance-uuid>( i* f& D/ l/ ?% G

, k. d7 V, _- m  {, G6 r/ ?5 g
4 ~3 Q' A4 k: J

! C. o: A2 m# A6 ^# n4 M$ m4 ~. i
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 21:27 , Processed in 0.040727 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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