Skip to main content

Capture your current VM configurations before migrating to Amazon EC2

Contributors netapp-mwallis

You can use the Migration advisor VM collector script or RVTools to capture your current VM configurations. We recommend that you use the Migration advisor VM collector script because it gathers both VM configuration and performance data for the most accurate plan.

Use the Migration advisor VM collector script

The NetApp Migration advisor VM collector script gathers VM configuration information from your vCenter similar to what RVTools collects, however, it captures current VM performance data to provide actual read and write IOPS and throughput statistics.

You need to start the Migration advisor to copy the Migration advisor VM collector script from the Codebox window.

Before you begin

The system where you'll be running the collector script must meet the following requirements:

  • Microsoft PowerShell 7.0 or greater must be installed. See the Microsoft PowerShell documentation if you need to install PowerShell.

  • VMware PowerCLI must be installed. See the VMware PowerCLI documentation if you need to install PowerCLI.

  • SSL certificate checking must be disabled.

  • PowerShell must allow running unsigned scripts.

Note that if you plan to capture long-term statistics from your VMs (daily statistics), you must have activated statistics level 3 or above in the vSphere management console (VMware management environment).

Steps
  1. Log in to Workload Factory.

  2. In the VMware tile, select Access and plan.

  3. Select Create a new deployment plan, select the option for Use the migration advisor VMware data collector, and select Next.

    The Prepare for VMware Cloud on AWS migration page is displayed.

  4. In the Codebox window, select either the download button to save the Migration advisor VM collector script (named "list-vms.ps1") to the target system, or select the copy button to copy the script so you can paste it on the appropriate system.

  5. Follow these steps to capture the configurations of your current VMs:

    1. Log in to the system where you downloaded the data collector, on which PowerShell and PowerCLI are installed.

    2. Connect to your VMware vCenter server by running the following command:

      Connect-VIServer -server <server_IP>

      Replace <server_IP> with the IP address or hostname of your VMware server.

    3. Run the data collector script you downloaded and specify the data collection option for "daily" or "hourly" VM statistics.

      .list-vms.ps1 -isLongTermDataCollectionEnabled <true | false>

      where:

      • true collects IOPS and throughput data for the past 24 hours with 5-minute intervals

      • false collects IOPS and throughput data for the past 1 hour with 20-second intervals.

Result

The script outputs a compressed file with a timestamp in the name in the current working directory. The .zip file contains a list of all VMs and their properties, along with their IOPS and throughput data.

Use RVTools software

RVTools is a Windows application that interacts with VCenter and ESX server (5.x to 8.0) to capture information about your VMware virtual environments. It gathers information about VMs, CPU, memory, disks, clusters, ESX hosts, datastores, and more. You can export this information to an xlsx file to use with the migration advisor.

Steps
  1. Download and install RVTools 4.4.2 or greater from RVTools website

  2. Launch RVTools and log in to the target VCenter Server.

    This will capture information about that VCenter Server.

  3. Export your VMware information to an xlsx or xls file.

    See the chapter on "commandline parameters" in the RVTools documentation for details.

Result

The xlsx or xls file that contains your results is saved to your working directory.