Vcenter遷移虛擬機提示遷移失敗

前提

在遷移虛擬機的時候提示遷移失敗,報錯內容如截圖
Vcenter遷移虛擬機提示遷移失敗java

故障分析

查看vcenter日誌
Vcenter遷移虛擬機提示遷移失敗
在KB中查找報錯信息https://kb.vmware.com/s/article/2126282?lang=zh_CN
分析問題緣由爲JVM內存堆問題
(注意:JVM內存堆爲vcenter系統內部管理內存,與虛擬機的內存無關)服務器

解決方案

  1. 根據KB: https://kb.vmware.com/s/article/2021302?lang=zh_CN擴大清單服務的JVM內存堆
    Vcenter遷移虛擬機提示遷移失敗
    vCenter Inventory Service
    配置文件位置
    installation_directory\VMware\Infrastructure\Inventory Service\conf\wrapper.conf
    堆大小參數
    # Maximum Java Heap Size (in MB)<br/>wrapper.java.maxmemory=heap_size<br/>
    • vSphere Profile-Driven Storage
    • 配置文件位置:

installation_directory\VMware\Infrastructure\Inventory Service\conf\wrapper.confapp

堆大小參數:ide

Maximum Java Heap Size (in MB)

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等相關服務完成以上操做後虛擬機遷移恢復正常

相關文章
相關標籤/搜索