Get the App
SLTechnology News&Howtos  ›  Servers  › 

Vcenter Migration Virtual Machine prompt Migration failed

Shulou Source: shulou.com Published: 2022-06-02 16:55:06 09月22日 Update

Premise

When migrating a virtual machine, it is prompted that the migration failed, such as screenshot

Malfunction analysis

View vcenter Log

Find the error message https://kb.vmware.com/s/article/2126282?lang=zh_CN in KB

The cause of the problem is the JVM memory heap problem.

(note: the JVM memory heap manages memory internally for the vcenter system, regardless of the memory of the virtual machine.)

The solution expands the JVM memory heap of the inventory service according to KB: https://kb.vmware.com/s/article/2021302?lang=zh_CN

VCenter Inventory Service

Profile location

Installation_directory\ VMware\ Infrastructure\ Inventory Service\ conf\ wrapper.conf

Heap size parameter

# Maximum Java Heap Size (in MB) wrapper.java.maxmemory=heap_size

VSphere Profile-Driven Storage

Profile location:

Installation_directory\ VMware\ Infrastructure\ Inventory Service\ conf\ wrapper.conf

Heap size parameters:

Maximum Java Heap Size (in MB)

Wrapper.java.maxmemory=heap_size

VSphere Profile-Driven Storage

Profile location:

Installation_directory\ VMware\ Infrastructure\ Profile-Driven Storage\ conf\ wrapper.conf

Heap size parameters:

# Maximum Java Heap Size (in MB)

Wrapper.java.maxmemory=heap_size

2. Restart in the vcenter system service

Log in to the server running vCenter Server as an administrator.

Click start > run.

Type services.msc.

Press Enter.

Right-click the service you want to start from the list of services. For example, VMware VirtualCenter Server or related services such as VMware vCenter Server, vmware Inventory Service, vmware Profile-Driven Storage, etc

After completing the above operations, the virtual machine migration returns to normal.

Tags: Service memory location parameter size file configuration system problem analysis management run prompt center-right information content internal management premise reason screenshot Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Docker MariaDB Huawei Xiaomi