找回密码
 注册
查看: 47|回复: 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.
    4 M' r8 ?/ g  |2 v8 o4 p
less /etc/nova/nova.conf | grep timeout 5 S9 J2 k* L! [( c( x) z& ]% ]
rpc_response_timeout=60: h  H$ y( x9 E1 R  s8 `
vif_plugging_timeout=300
) n+ |2 \* w  T1 o# Deprecated group/name - [DEFAULT]/sql_idle_timeout. p- e" |  X; ]  D! z
# Deprecated group/name - [DATABASE]/sql_idle_timeout4 ~" Z7 U/ d$ M" e7 c3 g+ H
# Deprecated group/name - [sql]/idle_timeout
. b# f, \# w5 V6 g! R$ K6 I: y8 d2 @* P% o#idle_timeout=3600
% U! H) S# L6 S& ~# If set, use this value for pool_timeout with SQLAlchemy.
# s5 f# X: M) t# A; V* R( j# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout/ K" V  J: k% {1 N: F5 r& c! f  f
#pool_timeout=<None>% r! d. L3 @8 N, L0 J  p6 Y! i' t+ E
timeout=30
1 Z. ^" w0 }# K7 Y9 `  P0 O  ?
# z/ M# C& k" d1 l3 l, z8 H#配置 迁移超时时间:
3 ~# r" C6 S" q! E2 ilive_migration_progress_timeout = 0   
* h# K' k, `' \' M: |; H
/ I/ A% D0 r6 j9 P$ g; H& `0 `& Y

+ J1 F" ^9 @+ G, e1 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
    , a8 C3 M* r3 L
openstack server set --state active f2350d9c-8c26-4926-99ab-62bf705cd   
/ |2 ]" q2 p! z9 [openstack server set --state active <instance-uuid>; B$ A( Z! Q& ^3 b# |* M" P
2 Y9 |% _0 V% U; C- N
0 o+ {4 v+ T& f7 H4 D( E* |
/ D* v5 F$ v: W  Q
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:59 , Processed in 0.016089 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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