VMware Live Site Recovery Configuration Import/Export through Impex Tool (CLI) doesn’t generate the Site Recovery Manager's configuration data in an XML file while exporting
VMware Live Site Recovery 9.0.4
The VLSR CLI impex tool is not compatible with a newer version of Java
Follow the below steps to add a flag to work with the new version of Java:
/opt/vmware/etc/vmware-dr/secrets/"sa-XXXXX" and remote service account which starts with "remote-sa-xxxxxx" /opt/vmware/impexjava --add-opens=java.base/java.lang=ALL-UNNAMED -jar import-export.jar --exportInteractive "/opt/vmware/etc/vmware-dr/secrets/sa-xxxxxxxxxx"8. Once the remote SRM server is discovered, enter the below details
/opt/vmware/etc/vmware-dr/secrets/remote-sa-xxxxx"For Example:
Enter host name or IP address of a Lookup Service: x.x.x.xEnter port (or press Enter in case you use the default - 443):Host lvn-x-x-x-x.net has untrusted certificate with SHA-1 Thumbprint: XX:YY: .Accept thumbprint? (y/n):yUse Service Account to log in on lvn-x-x-x-x.net? (y/n):yEnter service account file path:/opt/vmware/etc/vmware-dr/secrets/sa-xxxxxxxxxxEstablishing connection...One SRM server found: SITE-x-x-x-x.netUse Service Account to log in on lvn-y-y-y-y.net? (y/n):yEnter service account file path:/opt/vmware/etc/vmware-dr/secrets/remote-sa-xxxxx
xxxx-x-x 05:19:33,893 DEBUG - Srm inventory export started.xxxx-x-x 05:19:33,978 DEBUG - Mappings export started.xxxx-x-x 05:19:33,982 DEBUG - Placeholder export started.xxxx-x-x 05:19:33,995 DEBUG - Array managers export started.xxxx-x-x 05:19:34,009 DEBUG - Placeholder export ended.xxxx-x-x 05:19:34,010 DEBUG - Protection group folders export started.xxxx-x-x 05:19:34,012 DEBUG - Srm inventory export ended.xxxx-x-x 05:19:34,026 DEBUG - Array managers export ended.xxxx-x-x 05:19:34,028 DEBUG - Recovery plan folders export started.xxxx-x-x 05:19:34,040 DEBUG - VM recovery settings export started.xxxx-x-x 05:19:34,052 DEBUG - Recovery plan folders export ended.xxxx-x-x 05:19:34,053 DEBUG - Advanced settings export started.xxxx-x-x 05:19:34,071 DEBUG - Details export started.xxxx-x-x 05:19:34,075 DEBUG - VM recovery settings export ended.xxxx-x-x 05:19:34,096 DEBUG - Details export ended.xxxx-x-x 05:19:34,099 DEBUG - Advanced settings export ended.xxxx-x-x 05:19:34,129 DEBUG - Protection group folders export ended.xxxx-x-x 05:19:34,325 DEBUG - Mappings export ended.