You can use the standalone VMware Site Recovery Manager 8.6 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

  1. Log in to the Site Recovery Manager virtual appliance host virtual machine.
  2. 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.6 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
  3. Enter the host name or the IP address of the Lookup Service.
  4. Enter the port number or press Enter to use the default.
  5. Accept the SHA-1 Thumbprint.
  6. (Optional) Select whether to use Java keystore instead of the local vCenter Server credentials or not.
    1. 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.
  7. If you selected no, enter user name and password for the local vCenter Server instance.
  8. Select a local Site Recovery Manager.
  9. (Optional) Select whether to use Java keystore instead of the remote vCenter Server credentials or not.
    1. 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.
  10. If you selected no, enter user name and password for the remote vCenter Server instance.
  11. Provide credentials for the array managers.

Results

The VMware Site Recovery Manager 8.6 Configuration Import/Export Tool imports the Site Recovery Manager configuration data to the new Site Recovery Manager instance.