您可以使用 vSphere Replication 9.0 Configuration Import/Export Tool從先前匯出的 XML 檔案匯入複寫組態資料。
必要條件
- 提供全新 vSphere Replication 安裝,此安裝會登錄至同一個 vCenter Server 執行個體或具有與匯出內容相同的詳細目錄的 vCenter Server 執行個體。
程序
結果
vSphere Replication 9.0 Configuration Import/Export Tool使用匯出的 XML 檔案建立複寫。
範例
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 --format --importProperties=/opt/vmware/vr-impex-tool/sample.properties --path=/opt/vmware/vr-impex-tool/sample.xml ***Copyright (c) 2018-2019 VMware, Inc. All rights reserved.*** Initiating using properties file. Establishing connection... Collecting data... 2019-08-23 02:13:10,246 INFO - Importing hms data. Reading file... Reading file done. 2019-08-23 02:13:10,636 INFO - Import hms configurables started. 2019-08-23 02:13:11,478 DEBUG - Getting profiles for server with guid 'd83b4ce0-4530-4a45-b493-5f137598d3f2'. 2019-08-23 02:13:11,510 DEBUG - Getting profiles for server with guid '1c0f9490-3ac3-4546-af4a-10ab4ee634c7'. 2019-08-23 02:13:11,525 DEBUG - Starting import of replications. 2019-08-23 02:13:11,619 DEBUG - Importing Replication Group for server with guid 'd83b4ce0-4530-4a45-b493-5f137598d3f2' is complete. 2019-08-23 02:13:13,834 DEBUG - Importing Replication Group for server with guid '1c0f9490-3ac3-4546-af4a-10ab4ee634c7' is complete. 2019-08-23 02:13:13,834 INFO - Import VR configurables ended. Imported : 2 . Import ended successfully.