You can use the vCenter Server Management Interface to migrate your vCenter Server instance and to run the vc_import_history_sample.py sample to pause and resume the historical data import.

Prerequisites

  • Verify that you cloned or downloaded the vSphere Automation SDK for Python from https://github.com/vmware/vsphere-automation-sdk-python.
  • Verify that you set up a test environment. For information about the prerequisites and how to set up a test environment, see the README.md file in the deferhistoryimport directory and the Quick Start guide for vSphere Automation SDK for Python at https://github.com/vmware/vsphere-automation-sdk-python.
  • Verify that you have vCenter Server root credentials.
  • Verify that you opened the vCenter Server Management Interface of your target vCenter Server instance.

Procedure

  1. From the getting started page, run the Migrate wizard.
  2. Select one of the options for Configuration and historical data.
    You can import only events and tasks or import all historical data.
  3. Select Import historical data in the background and complete all steps from the wizard.
  4. Run the vc_import_history_sample.py sample after successful migration.
    Use the IP address of your source vCenter Server instance and the vCenter Server administrator credentials when you run the sample. You can use or skip the verification of the vCenter Server certificate. For example, you can use the following command.
    vc_import_history_sample.py --server <IP_of_migrated_instance> --username <admin_username> --password <admin_password> --skipverification