备份VM后VPX_DISABLED_METHODS未删除,导致vMotion失败

简介:

 这个问题仅出现在storage vMotion时,迁移是弹出报错框——Call “VirtualMachine.Relocate” for object “VM-NAME” on vCenter Server “vCenter-Name” failed

找到VMWare KB,说明vStorage API备份后VPX_DISABLED_METHODS未删除,经检查确实存在问题的VM有NB_LAST_BACKUP标志。再按照KB里所述SQL,找到VPX_DISABLED_METHODS相关行,删除后问题解决。

  1. Stop the vCenter Services.
  2. Take a backup of the vCenter Server database.
  3. Run this command against the vCenter Server database.
    1
    select * from VPX_VM WHERE FILE_NAME LIKE '%Virtual-Machine-Name%'
  4. Take note of the numerical ID value returned by the above SQL stmt, as this will be required in the SQL stmt in steps 5 and 6.
  5. Run this command against the vCenter Server database, to confirm the stale entry:
    1
    select * from VPX_DISABLED_METHODS WHERE ENTITY_MO_ID_VAL = 'vm-<ID from step 4>'
  6. To remove the stale entry run this command against the vCenter Server database:
    1
    delete from VPX_DISABLED_METHODS WHERE ENTITY_MO_ID_VAL = 'vm-<ID from step 4>'
  7. Start vCenter Server Services, then retry the Storage vMotion.









本文转自 waydee 51CTO博客,原文链接:http://blog.51cto.com/waydee/957221,如需转载请自行联系原作者
目录
相关文章
|
NoSQL Redis 容器
Redis集群报错cluster_state:fail,如何解决并重新恢复集群(IP问题/ slot未完全分配问题)
Redis集群报错cluster_state:fail,如何解决并重新恢复集群(IP问题/ slot未完全分配问题)
260 0
麒麟安装增强功能失败(未解决):Could not downgrade policy file /etc/selinux/targeted/policy/policy.29
麒麟安装增强功能失败(未解决):Could not downgrade policy file /etc/selinux/targeted/policy/policy.29
207 0
|
Oracle 前端开发 关系型数据库
[20180614]删除bootstrap$记录无法启动2
[20180614]删除bootstrap$记录无法启动2.txt --//前几天看链接http://www.xifenfei.com/2018/05/willfully-delete-bootstrap.
1389 0
|
存储 数据安全/隐私保护 Windows
|
SQL Oracle 关系型数据库