易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 50|回复: 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.8 m! {& q$ m  f
less /etc/nova/nova.conf | grep timeout
) N0 J; R$ `. S5 qrpc_response_timeout=600 `8 w; ]! i1 [$ T, k
vif_plugging_timeout=300
+ v: F9 Y" Y, r8 {" f, a# Deprecated group/name - [DEFAULT]/sql_idle_timeout# p0 F& W* r6 e, Y8 o" d
# Deprecated group/name - [DATABASE]/sql_idle_timeout, r) z" P  T' k: Z
# Deprecated group/name - [sql]/idle_timeout
* T9 R# w* B- s#idle_timeout=36002 e7 K: a( Z8 a) t% a% _$ q
# If set, use this value for pool_timeout with SQLAlchemy.
  f: K& U& u# I# |* i* j$ p# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
: X8 g- K/ q) |- ]3 S- ~! g#pool_timeout=<None>
* G" a3 h& E1 Q: c4 L' ?& dtimeout=30
9 [3 W' Z# x) d  d: ~. p& @. R) L. i0 X9 g. T6 {. g5 T
#配置 迁移超时时间:3 H9 j/ e1 E- A/ Z. k& O& s
live_migration_progress_timeout = 0    * m9 b) f, I  a* z

$ H4 X+ A$ P& j0 {
3 f0 H' y" Z# L) l* s4 \6 i5 t+ X
  • 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+ q1 i" @, d0 X1 R9 |
openstack server set --state active f2350d9c-8c26-4926-99ab-62bf705cd   ' L& k% c# _/ g% @$ n
openstack server set --state active <instance-uuid>5 Z& X. B& }3 E# d7 T' j2 G" E5 ~) N
# f3 p, t% ?6 S
5 W& {9 F- {) y- J0 X% @: K/ M
3 w  F. J7 Z. H+ j+ T- \6 \0 ~
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 点击这里给我发消息

GMT+8, 2026-4-8 19:03 , Processed in 0.037777 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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