Using offline migration

With offline migration, Velostrata enables you to migrate workloads running on vSphere with operating systems that are not currently supported by Velostrata's streaming technology.

During the offline migration process, all storage migrates to the cloud first, and then the VM starts.

Another use case for offline migration is storage-only migration for VMs that aren't supported by the cloud provider. These are typically VMs with older operating systems, for example Red Hat 4. With storage-only migration, you can migrate volumes and then reattach them to a VM with a supported OS.

Preparing a VM for offline migration

The following steps show how to prepare different operating systems for offline migration.

Ubuntu 12.x

  • Edit /etc/network/interfaces and change the primary interface name to eth0 and set it to DHCP:
# The primary network interface

    auto eth0
    iface eth0 inet dhcp

Windows 2008 non-R2 to GCP

No preparation is necessary for offline migration of Windows Server 2008 64-bit.

Windows Server 2008 32-bit requires package installation before starting offline migration.

To install them:

  1. Download the (driver package)
  2. Unzip devcon.zip to a directory of your choice.
  3. Download an additional driver package to that same directory:
    gsutil cp gs://gce-windows-drivers-public/win2k3driver/x86/* [DIRECTORY]
    
  4. Run the install.cmd script from that directory
  5. Run an offline migration

Windows 2003 SP2 to GCP

No preparation is necessary for offline migration of Windows Server 2003.

On-premises to cloud: Offline migration process

Before you begin, perform the offline preparation as explained in the previous sections. Then perform the following steps:

  1. In the vSphere Web Client, select the virtual machine.
  2. Right-click the VM and select Velostrata Operations > Offline Migrate.
  3. Select the Velostrata Cloud Extension and click Next.
  4. Select the Instance Type (VM size) and click Next.
  5. Select the required Security Groups and click Next.
  6. Select a Subnet in GCP. When Cloud Extension nodes are in different zones, Velostrata uses the node in the same zone as the selected subnet. Otherwise, you need to select the node manually.
  7. From the Configure Private IP drop-down list:
    • Select Auto to automatically assign an IP address on the subnet, or
    • Select Static and enter the desired static IP address. From the Edge Node drop-down list, select the required node and click Next.
  8. Select the Storage Type and click Next.
  9. Review the summary and then click Finish.

To view the related migration tasks, use the Monitor > Tasks & Events tab.

After the offline migration, you can connect to the VM using its private IP address or FQDN.

AWS to GCP: Offline migration process

Offline migrations using Waves

To perform offline migration from AWS to GCP, run an offline migration job on a Wave.

Offline migrations using PowerShell

To perform offline migration on a single VM from AWS, run the following command from PowerShell, filling in your AWS EC2 InstanceID and Cloud Extension name:


Invoke-VelosOfflineMigration [-Id] InstanceID -CloudExtension $ [-EdgeNode ]-StorageSpec  -InstanceType  -CloudDetailsName

For example:


Invoke-VelosOfflineMigration -Id i-04151a4a1067cfe9b -CloudExtension $gcpCe -EdgeNode NodeA -StorageSpec Standard -InstanceType n1-standard-1 -CloudDetailsName aws

傳送您對下列選項的寶貴意見...

這個網頁
Velostrata - Cloud Migration Software for GCP