在迁移虚拟机的时候提示迁移失败,报错内容如截图java
查看vcenter日志
在KB中查找报错信息https://kb.vmware.com/s/article/2126282?lang=zh_CN
分析问题缘由为JVM内存堆问题
(注意:JVM内存堆为vcenter系统内部管理内存,与虚拟机的内存无关)服务器
installation_directory\VMware\Infrastructure\Inventory Service\conf\wrapper.conf
# Maximum Java Heap Size (in MB)<br/>wrapper.java.maxmemory=heap_size<br/>
installation_directory\VMware\Infrastructure\Inventory Service\conf\wrapper.confapp
堆大小参数:ide
wrapper.java.maxmemory=heap_size日志
• vSphere Profile-Driven Storagecode
配置文件位置:blog
installation_directory\VMware\Infrastructure\Profile-Driven Storage\conf\wrapper.conf
内存
堆大小参数:get
#Maximum Java Heap Size (in MB)wrapper.java.maxmemory=heap_size
虚拟机
2.在vcenter的系统服务中重启以管理员身份登陆到运行 vCenter Server 的服务器。单击开始 > 运行。键入 services.msc。按 Enter 键。从服务列表中右键单击要启动的服务。 例如,VMware VirtualCenter Server 或 VMware vCenter Server、vmware Inventory Service、 vmware Profile-Driven Storage等相关服务完成以上操做后虚拟机迁移恢复正常