You can use the standalone VMware Site Recovery Manager 8.5 Configuration Import/Export Tool to import Site Recovery Manager configuration data from a previously exported XML file.
Prerequisites
- Provide a clean Site Recovery Manager 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 1.8.x or later installed and environment variables configured on the Site Recovery Manager host virtual machine.
Procedure
- Log in to the Site Recovery Manager 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 Site Recovery Manager 8.5 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 Platform Services Controller.
- Enter the port number or press Enter to use the default.
- Accept the SHA-1 Thumbprint.
- (Optional) Select whether to use Java keystore instead of the local vCenter Server credentials or not.
- If you select yes, follow the prompts and provide the necessary information.
Option |
Description |
Keystore type |
Press Enter to use the default keystore type JCEKS, or provide a keystore type. |
Keystore path |
Path to the Java keystore. For example, path:/opt/vmware/impex/ks/ks.keystore. |
Keystore password |
The password for the Java keystore. |
Keystore certificate |
The certificate alias for the solution user for the local vCenter Server. |
Keystore key |
The key alias for the solution user for the local vCenter Server. |
Keystore key password |
The key password for the solution user for the local vCenter Server. |
- If you selected no, enter user name and password for the local vCenter Server instance.
- Select a local Site Recovery Manager.
- (Optional) Select whether to use Java keystore instead of the remote vCenter Server credentials or not.
- If you select yes, follow the prompts and provide the necessary information.
Option |
Description |
Keystore type |
Press Enter to use the default keystore type JCEKS, or provide a keystore type. |
Keystore path |
Path to the Java keystore. For example, path:/opt/vmware/impex/ks/ks.keystore. |
Keystore password |
The password for the Java keystore. |
Keystore certificate |
The certificate alias for the solution user for the remote vCenter Server. |
Keystore key |
The key alias for the solution user for the remote vCenter Server. |
Keystore key password |
The key password for the solution user for the remote vCenter Server. |
- If you selected no, enter user name and password for the remote vCenter Server instance.
- Provide credentials for the array managers.
Results
The VMware Site Recovery Manager 8.5 Configuration Import/Export Tool imports the Site Recovery Manager configuration data to the new Site Recovery Manager instance.