在遷移虛擬機的時候提示遷移失敗,報錯內容如截圖
查看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.conf
堆大小參數:
wrapper.java.maxmemory=heap_size
? vSphere Profile-Driven Storage
配置文件位置:
installation_directory\VMware\Infrastructure\Profile-Driven Storage\conf\wrapper.conf
堆大小參數:
#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等相關服務
完成以上操作后虛擬機遷移恢復正常
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。