Importing a vCenter in a VCF 9.1 environments fails at "Perform Brownfield Environment Validations/ The Task was interrupted"
In the logs we'll see a Crash of domainmanager, where the date/ time coincides with the date/ time of the process stopping in the UI
ls -althr /var/log/vmware/vcf/domainmanager/app-crash-logs
total <TBD>G
-rw------- 1 vcf_domainmanager vcf 1.5G Month day time java_pid#####1.hprof
-rw------- 1 vcf_domainmanager vcf 1.4G Month day time java_pid#####2.hprof
-rw------- 1 vcf_domainmanager vcf 1.4G Month day time java_pid#####3.hprof
-rw------- 1 vcf_domainmanager vcf 1.4G Month day time java_pid#####4.hprof
-rw------- 1 vcf_domainmanager vcf 1.5G Month day time java_pid#####5.hprof
-rw------- 1 vcf_domainmanager vcf 1.5G Month day time java_pid#####6.hprofFurthermore, the crash is confirmed in
└─$ cat domainmanager.out
\ \ / / ____| ____|
\ \ / / | | |__
\ \/ /| | | __|
\ / | |____| |
\/ \_____|_|
Domain Manager
java.lang.OutOfMemoryError: Java heap space
Dumping heap to /var/log/vmware/vcf/domainmanager/app-crash-logs/java_pid#######6.hprof ...
Heap dump file created [############# bytes in 81.488 secs]
Terminating due to java.lang.OutOfMemoryError: Java heap space
9.1
Larger environments can cause the domainmanager process to crash, similar to VCF 9.0.x vCenter import fails on precheck validation with: Something went wrong. Please retry or contact the service provider and provide the reference token.
However, the previous regular expressions are not found in the Logs - i.e. "OutOfMemoryError: Java heap space| OutOfMemory Error"
Same steps as VCF 9.0.x vCenter import fails on precheck validation with: Something went wrong. Please retry or contact the service provider and provide the reference token.
To resolve this, increase the Java Heap Memory allocation for the DomainManager and for OperationsManager service.
# systemctl stop domainmanager
Original: -Xmx1024mNew: -Xmx8GSave the file and exit the text editor.Esc > :wq!Original: -Xmx2GNew: -Xmx8GSave the file and exit the text editor.Esc > :wq!