易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 49|回复: 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.1 B/ f! e& q* x- i8 v5 M
less /etc/nova/nova.conf | grep timeout + f2 E% P! i9 S. B" _9 P7 d' O
rpc_response_timeout=603 P' X+ }3 ^; k; t5 [; T
vif_plugging_timeout=300
) O- b- x, u2 T! {, y4 t5 K# Deprecated group/name - [DEFAULT]/sql_idle_timeout! H  |+ P- J% @! Y' G3 U" j4 z. V
# Deprecated group/name - [DATABASE]/sql_idle_timeout5 r4 U7 F+ O1 S
# Deprecated group/name - [sql]/idle_timeout# Y; I1 e& Z# {- j. D
#idle_timeout=36003 u7 a) c& C- z5 Z4 ?% s' x) N( o. i
# If set, use this value for pool_timeout with SQLAlchemy.
7 Q$ [# E' I7 E2 C4 r& l4 D3 |+ h# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
- I# W5 B3 a7 a0 x5 B5 M6 n#pool_timeout=<None>2 z1 Y  B& A' k+ T
timeout=30* J2 v' ]# L, l  U! T* P! O: {2 V
% F( z  }2 w  \2 e! c. v% a* L0 [
#配置 迁移超时时间:
  t! p7 C  J% m& l; b0 Hlive_migration_progress_timeout = 0    $ R; O' X4 @$ X: P$ E7 m% n9 f
' {0 o  W5 z3 X( ?

& R" q, _5 V9 M7 z4 ~$ s
  • 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- o5 _8 R' l0 G$ n. @. o) b9 J7 f
openstack server set --state active f2350d9c-8c26-4926-99ab-62bf705cd   
  w4 {2 J2 E( `+ E* c! {% j1 J: `openstack server set --state active <instance-uuid>
0 D3 d1 g: M* K( s
- g! X# ^" b2 r' E

, _) o! i  R+ b4 O( w( ~& B
2 {: m4 V6 {: X; E
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-8 15:23 , Processed in 0.039831 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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