You use the Standalone Import/Export Tool to import VMware Live Site Recovery configuration data from a previously exported XML file.
Prerequisites
- Provide a clean VMware Live Site Recovery installation, registered with the same vCenter Server instance or with a vCenter Server instance with the same inventory as the exported.
- Verify that you have Java 11.0.x or later installed on the VMware Live Site Recovery host virtual machine.
Procedure
- Log in to the VMware Live Site Recovery virtual appliance host virtual machine.
- Navigate to /opt/vmware/impex, and run the following command.
java -jar import-export.jar --importInteractive --path Path_to_exported_XML_file
By default the
VMware Live Site Recovery Configuration Import/Export Tool is set to retry the import of virtual machines recovery settings after a delay of 10 000 milliseconds up to five times. You can manually change the default values for retry counts and delay between retries by adding the
retries
and
delay
options to the import command. For example, to make 10 retries with a 20 seconds delay, run the following command.
java -jar import-export.jar --importInteractive --path Path_to_exported_XML_file --delay 20000 --retries 10
- Enter the host name or the IP address of the Lookup Service.
- Enter the port number or press Enter to use the default.
- Accept the SHA-1 Thumbprint.
- (Optional) Select whether to use service account instead of the local vCenter Server credentials or not.
- If you select yes, follow the prompts and provide the necessary information.
Option |
Description |
Service account path |
Path to the service account. For example, path:/opt/vmware/impex/sa/file. |
- If you selected no, enter user name and password for the local vCenter Server instance.
- Select a local VMware Live Site Recovery.
- (Optional) Select whether to use service account instead of the remote vCenter Server credentials or not.
- If you select yes, follow the prompts and provide the necessary information.
Option |
Description |
Service account path |
Path to the service account. For example, path:/opt/vmware/impex/sa/file. |
- If you selected no, enter user name and password for the remote vCenter Server instance.
- Provide credentials for the array managers.
Results
The VMware Live Site Recovery Configuration Import/Export Tool imports the VMware Live Site Recovery configuration data to the new VMware Live Site Recovery instance.