You use the vSphere Replication 9.0 Configuration Import/Export Tool to export replication configuration data in an XML file.

Prerequisites

  • Verify that you have Java 1.8.x installed and environment variables configured.
  • Verify that you have a site pair with vSphere Replication running on both the protected and the recovery sites.

Procedure

  1. Open a command shell, navigate to /opt/vmware/vr-impex-tool directory, and run the following command.
    java -Xmx1024m -Xms512m --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -jar /opt/vmware/vr-impex-tool/vr-impex-tool-<version>.jar --exportInteractive
    To make the XML file more human-readable, add the format option. Adding the format option significantly increases the XML file size.

    java -Xmx1024m -Xms512m --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -jar /opt/vmware/vr-impex-tool/vr-impex-tool-<version>.jar --exportInteractive --format

  2. Enter the host name or the IP address of the Lookup Service.
  3. Enter the port number or press Enter, if you use the default port.
  4. Accept the SHA Thumbprint.
  5. Enter user name and password for the local vCenter Server instance.
  6. Select a paired vSphere Replication instance.
  7. Enter user name and password for the remote vCenter Server instance.

Example

Example for Export of Outgoing Replications
 java -Xmx1024m -Xms512m --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -jar /opt/vmware/vr-impex-tool/vr-impex-tool-<version>.jar --exportInteractive
 ***Copyright (c) 2018-2019 VMware, Inc. All rights reserved.***
Initiating CMD interaction.
Enter host name or IP address of a Lookup Service:
10.92.228.236
Enter port (or press Enter in case you use the default - 443):

Host 10.92.228.236 has untrusted certificate with SHA-1 Thumbprint: 63:50:89:60:76:5C:78:C9:B0:1A:A6:B6:D0:08:D7:8E:31:46:BF:A7 .
Accept thumbprint? (y/n):
y
Enter username for wdc-rdops-vm09-dhcp-228-236.eng.vmware.com:
[email protected]
Enter password for wdc-rdops-vm09-dhcp-228-236.eng.vmware.com:
Establishing connection...
Available HMS servers:
[0] wdc-rdops-vm08-dhcp-221-15.eng.vmware.com
[1] wdc-rdops-vm09-dhcp-228-236.eng.vmware.com

0
One HMS server found: wdc-rdops-vm09-dhcp-228-236.eng.vmware.com
Enter username for pair site 'wdc-rdops-vm08-dhcp-221-15.eng.vmware.com':
[email protected]
Enter password for pair site 'wdc-rdops-vm08-dhcp-221-15.eng.vmware.com':
Collecting data...
Starting export...
2019-09-03 16:28:14,771 DEBUG - Hms inventory export started.
2019-09-03 16:28:14,993 DEBUG - Replication groups export started.
2019-09-03 16:28:15,627 DEBUG - Hms inventory export ended.
2019-09-03 16:28:23,680 DEBUG - Replication groups export ended.
Writing to file started.
Writing to file finished.
Export ended successfully.